/* Options: Date: 2024-12-23 13:13:57 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProfileUpdateMobilePhoneRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class ProfileUpdateMobilePhoneResponse implements IConvertible { String? verifiedMobilePhone; ProfileUpdateMobilePhoneResponse({this.verifiedMobilePhone}); ProfileUpdateMobilePhoneResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { verifiedMobilePhone = json['verifiedMobilePhone']; return this; } Map toJson() => { 'verifiedMobilePhone': verifiedMobilePhone }; getTypeName() => "ProfileUpdateMobilePhoneResponse"; TypeContext? context = _ctx; } // @Route("/profile/update-mobile-phone-finish", "PUT") class ProfileUpdateMobilePhoneRequest implements IReturn, IPut, IConvertible { String? token; String? shortCode; ProfileUpdateMobilePhoneRequest({this.token,this.shortCode}); ProfileUpdateMobilePhoneRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { token = json['token']; shortCode = json['shortCode']; return this; } Map toJson() => { 'token': token, 'shortCode': shortCode }; createResponse() => ProfileUpdateMobilePhoneResponse(); getResponseTypeName() => "ProfileUpdateMobilePhoneResponse"; getTypeName() => "ProfileUpdateMobilePhoneRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'ProfileUpdateMobilePhoneResponse': TypeInfo(TypeOf.Class, create:() => ProfileUpdateMobilePhoneResponse()), 'ProfileUpdateMobilePhoneRequest': TypeInfo(TypeOf.Class, create:() => ProfileUpdateMobilePhoneRequest()), });