/* Options: Date: 2026-04-15 21:37:00 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://api.booklinker.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAppleServicesTermsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @DataContract class V2BaseResponse implements IConvertible { // @DataMember(Name="responseStatus") ResponseStatus? responseStatus; V2BaseResponse({this.responseStatus}); V2BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "V2BaseResponse"; TypeContext? context = _ctx; } // @DataContract class V2BaseRequest implements IConvertible { V2BaseRequest(); V2BaseRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "V2BaseRequest"; TypeContext? context = _ctx; } // @DataContract class GetAppleServicesTermsResponse extends V2BaseResponse implements IConvertible { // @DataMember(Name="termsAndConditionsId") String? termsAndConditionsId; // @DataMember(Name="termsAndConditionsHtml") String? termsAndConditionsHtml; GetAppleServicesTermsResponse({this.termsAndConditionsId,this.termsAndConditionsHtml}); GetAppleServicesTermsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); termsAndConditionsId = json['termsAndConditionsId']; termsAndConditionsHtml = json['termsAndConditionsHtml']; return this; } Map toJson() => super.toJson()..addAll({ 'termsAndConditionsId': termsAndConditionsId, 'termsAndConditionsHtml': termsAndConditionsHtml }); getTypeName() => "GetAppleServicesTermsResponse"; TypeContext? context = _ctx; } // @DataContract class GetAppleServicesTermsResponse implements IConvertible { // @DataMember(Name="termsAndConditionsId") String? termsAndConditionsId; // @DataMember(Name="termsAndConditionsHtml") String? termsAndConditionsHtml; // @DataMember(Name="responseStatus") ResponseStatus? responseStatus; GetAppleServicesTermsResponse({this.termsAndConditionsId,this.termsAndConditionsHtml,this.responseStatus}); GetAppleServicesTermsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { termsAndConditionsId = json['termsAndConditionsId']; termsAndConditionsHtml = json['termsAndConditionsHtml']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'termsAndConditionsId': termsAndConditionsId, 'termsAndConditionsHtml': termsAndConditionsHtml, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetAppleServicesTermsResponse"; TypeContext? context = _ctx; } // @Route("/v2/pz-terms", "GET") // @DataContract class GetAppleServicesTermsRequest extends V2BaseRequest implements IReturn, IConvertible, IGet { GetAppleServicesTermsRequest(); GetAppleServicesTermsRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => GetAppleServicesTermsResponse(); getResponseTypeName() => "GetAppleServicesTermsResponse"; getTypeName() => "GetAppleServicesTermsRequest"; TypeContext? context = _ctx; } // @Route("/v1/pz-terms", "GET") // @DataContract class GetAppleServicesTermsRequest implements IReturn, IConvertible, IGet { GetAppleServicesTermsRequest(); GetAppleServicesTermsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetAppleServicesTermsResponse(); getResponseTypeName() => "GetAppleServicesTermsResponse"; getTypeName() => "GetAppleServicesTermsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.booklinker.com', types: { 'V2BaseResponse': TypeInfo(TypeOf.Class, create:() => V2BaseResponse()), 'V2BaseRequest': TypeInfo(TypeOf.Class, create:() => V2BaseRequest()), 'GetAppleServicesTermsResponse': TypeInfo(TypeOf.Class, create:() => GetAppleServicesTermsResponse()), 'GetAppleServicesTermsRequest': TypeInfo(TypeOf.Class, create:() => GetAppleServicesTermsRequest()), });