""" Options: Date: 2026-06-13 13:26:16 Version: 8.80 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://riskstoreng-dev.nephila.com/api #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: SetShouldCachePerspective.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum # @Route("/riskstore/maintenance/set-should-cache-perspective", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SetShouldCachePerspective(IPost): # @ApiMember(DataType="array", Description="The perspective ids to set the should cache flag", Format="int32", IsRequired=true) perspective_ids: List[int] = field(default_factory=list) """ The perspective ids to set the should cache flag """ # @ApiMember(DataType="boolean", Description="Set to true to force cache reload (event sets etc...)", IsRequired=true) refresh_cache: bool = False """ Set to true to force cache reload (event sets etc...) """