/* Options: Date: 2026-05-14 01:17:03 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: WidgetConfigurationSchemaQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class WidgetConfigurationSchemaResponse implements IConvertible { int Id = 0; int Version = 0; Map Schema = {}; DateTime CreatedDate = DateTime(0); ResponseStatus ResponseStatus; WidgetConfigurationSchemaResponse({this.Id,this.Version,this.Schema,this.CreatedDate,this.ResponseStatus}); WidgetConfigurationSchemaResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Version = json['Version']; Schema = JsonConverters.fromJson(json['Schema'],'Map',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'Version': Version, 'Schema': JsonConverters.toJson(Schema,'Map',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "WidgetConfigurationSchemaResponse"; TypeContext? context = _ctx; } // @Route("/widget/configurationschema", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") class WidgetConfigurationSchemaQuery implements IReturn>, IConvertible, IGet { /** * Filter by version. */ // @ApiMember(Description="Filter by version.") int? Version; /** * Number of records to skip */ // @ApiMember(Description="Number of records to skip") int? Skip; /** * Number of records to take */ // @ApiMember(Description="Number of records to take") int? Take; WidgetConfigurationSchemaQuery({this.Version,this.Skip,this.Take}); WidgetConfigurationSchemaQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Version = json['Version']; Skip = json['Skip']; Take = json['Take']; return this; } Map toJson() => { 'Version': Version, 'Skip': Skip, 'Take': Take }; createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "WidgetConfigurationSchemaQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'WidgetConfigurationSchemaResponse': TypeInfo(TypeOf.Class, create:() => WidgetConfigurationSchemaResponse()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'WidgetConfigurationSchemaQuery': TypeInfo(TypeOf.Class, create:() => WidgetConfigurationSchemaQuery()), });