/* Options: Date: 2024-11-21 12:16:05 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: RetryPendingNewsletters.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RetryPendingNewslettersResponse implements IConvertible { String? ResentCount; ResponseStatus? ResponseStatus; RetryPendingNewslettersResponse({this.ResentCount,this.ResponseStatus}); RetryPendingNewslettersResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResentCount = json['ResentCount']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResentCount': ResentCount, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "RetryPendingNewslettersResponse"; TypeContext? context = _ctx; } // @Route("/newsletters/retry", "PUT") class RetryPendingNewsletters extends RetryPendingNewslettersResponse implements IConvertible, IPut { RetryPendingNewsletters(); RetryPendingNewsletters.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "RetryPendingNewsletters"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'RetryPendingNewslettersResponse': TypeInfo(TypeOf.Class, create:() => RetryPendingNewslettersResponse()), 'RetryPendingNewsletters': TypeInfo(TypeOf.Class, create:() => RetryPendingNewsletters()), });