/* Options: Date: 2025-11-07 02:47:19 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetLicenseChangesLog.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LicenseChangesLog implements IConvertible { String? MetaData; int? Id; String? VossSubscriptionId; DateTime? CheckedAt; String? CheckStatus; String? CheckNote; // @Required() DateTime? CreatedDate; String? CompanyId; LicenseChangesLog({this.MetaData,this.Id,this.VossSubscriptionId,this.CheckedAt,this.CheckStatus,this.CheckNote,this.CreatedDate,this.CompanyId}); LicenseChangesLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MetaData = json['MetaData']; Id = json['Id']; VossSubscriptionId = json['VossSubscriptionId']; CheckedAt = JsonConverters.fromJson(json['CheckedAt'],'DateTime',context!); CheckStatus = json['CheckStatus']; CheckNote = json['CheckNote']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); CompanyId = json['CompanyId']; return this; } Map toJson() => { 'MetaData': MetaData, 'Id': Id, 'VossSubscriptionId': VossSubscriptionId, 'CheckedAt': JsonConverters.toJson(CheckedAt,'DateTime',context!), 'CheckStatus': CheckStatus, 'CheckNote': CheckNote, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'CompanyId': CompanyId }; getTypeName() => "LicenseChangesLog"; TypeContext? context = _ctx; } class LicenseChangesLogQueryResponse implements IConvertible { String? MetaData; int? Id; String? VossSubscriptionId; DateTime? CheckedAt; String? CheckStatus; String? CheckNote; DateTime? CreatedDate; String? CompanyId; LicenseChangesLogQueryResponse({this.MetaData,this.Id,this.VossSubscriptionId,this.CheckedAt,this.CheckStatus,this.CheckNote,this.CreatedDate,this.CompanyId}); LicenseChangesLogQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MetaData = json['MetaData']; Id = json['Id']; VossSubscriptionId = json['VossSubscriptionId']; CheckedAt = JsonConverters.fromJson(json['CheckedAt'],'DateTime',context!); CheckStatus = json['CheckStatus']; CheckNote = json['CheckNote']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); CompanyId = json['CompanyId']; return this; } Map toJson() => { 'MetaData': MetaData, 'Id': Id, 'VossSubscriptionId': VossSubscriptionId, 'CheckedAt': JsonConverters.toJson(CheckedAt,'DateTime',context!), 'CheckStatus': CheckStatus, 'CheckNote': CheckNote, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'CompanyId': CompanyId }; getTypeName() => "LicenseChangesLogQueryResponse"; TypeContext? context = _ctx; } // @Route("/licenseChangesLog", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class GetLicenseChangesLog extends QueryDb2 implements IReturn>, IConvertible, IGet { int? Id; String? VossSubscriptionId; DateTime? CheckedAt; String? CheckStatus; String? CheckNote; DateTime? CreatedDate; String? CompanyId; GetLicenseChangesLog({this.Id,this.VossSubscriptionId,this.CheckedAt,this.CheckStatus,this.CheckNote,this.CreatedDate,this.CompanyId}); GetLicenseChangesLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; VossSubscriptionId = json['VossSubscriptionId']; CheckedAt = JsonConverters.fromJson(json['CheckedAt'],'DateTime',context!); CheckStatus = json['CheckStatus']; CheckNote = json['CheckNote']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); CompanyId = json['CompanyId']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'VossSubscriptionId': VossSubscriptionId, 'CheckedAt': JsonConverters.toJson(CheckedAt,'DateTime',context!), 'CheckStatus': CheckStatus, 'CheckNote': CheckNote, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'CompanyId': CompanyId }); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "GetLicenseChangesLog"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'LicenseChangesLog': TypeInfo(TypeOf.Class, create:() => LicenseChangesLog()), 'LicenseChangesLogQueryResponse': TypeInfo(TypeOf.Class, create:() => LicenseChangesLogQueryResponse()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'GetLicenseChangesLog': TypeInfo(TypeOf.Class, create:() => GetLicenseChangesLog()), 'List': TypeInfo(TypeOf.Class, create:() => []), });