/* Options: Date: 2026-06-13 13:35:18 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: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/riskstore/maintenance/set-should-cache-perspective", "POST") class SetShouldCachePerspective implements IPost, IConvertible { /** * The perspective ids to set the should cache flag */ // @ApiMember(DataType="array", Description="The perspective ids to set the should cache flag", Format="int32", IsRequired=true) List? perspectiveIds = []; /** * Set to true to force cache reload (event sets etc...) */ // @ApiMember(DataType="boolean", Description="Set to true to force cache reload (event sets etc...)", IsRequired=true) bool? refreshCache; SetShouldCachePerspective({this.perspectiveIds,this.refreshCache}); SetShouldCachePerspective.fromJson(Map json) { fromMap(json); } fromMap(Map json) { perspectiveIds = JsonConverters.fromJson(json['perspectiveIds'],'List',context!); refreshCache = json['refreshCache']; return this; } Map toJson() => { 'perspectiveIds': JsonConverters.toJson(perspectiveIds,'List',context!), 'refreshCache': refreshCache }; getTypeName() => "SetShouldCachePerspective"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: { 'SetShouldCachePerspective': TypeInfo(TypeOf.Class, create:() => SetShouldCachePerspective()), });