/* Options: Date: 2024-07-03 12:48:45 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SendGetStartedMessage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SendGetStartedMessageResponse implements IConvertible { int? Companies; int? SentCount; ResponseStatus? ResponseStatus; SendGetStartedMessageResponse({this.Companies,this.SentCount,this.ResponseStatus}); SendGetStartedMessageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Companies = json['Companies']; SentCount = json['SentCount']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Companies': Companies, 'SentCount': SentCount, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "SendGetStartedMessageResponse"; TypeContext? context = _ctx; } // @Route("/messages/getstarted", "PUT") class SendGetStartedMessage implements IReturn, IConvertible, IPut { SendGetStartedMessage(); SendGetStartedMessage.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => SendGetStartedMessageResponse(); getResponseTypeName() => "SendGetStartedMessageResponse"; getTypeName() => "SendGetStartedMessage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'SendGetStartedMessageResponse': TypeInfo(TypeOf.Class, create:() => SendGetStartedMessageResponse()), 'SendGetStartedMessage': TypeInfo(TypeOf.Class, create:() => SendGetStartedMessage()), });