/* Options: Date: 2024-12-23 11:52:05 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: SmsVerificationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class SmsVerificationResponse implements IConvertible { String? userCreateRequestToken; SmsVerificationResponse({this.userCreateRequestToken}); SmsVerificationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userCreateRequestToken = json['userCreateRequestToken']; return this; } Map toJson() => { 'userCreateRequestToken': userCreateRequestToken }; getTypeName() => "SmsVerificationResponse"; TypeContext? context = _ctx; } // @Route("/signup/sms_verification", "POST") class SmsVerificationRequest implements IReturn, IPost, IConvertible { String? shortCode; String? token; SmsVerificationRequest({this.shortCode,this.token}); SmsVerificationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { shortCode = json['shortCode']; token = json['token']; return this; } Map toJson() => { 'shortCode': shortCode, 'token': token }; createResponse() => SmsVerificationResponse(); getResponseTypeName() => "SmsVerificationResponse"; getTypeName() => "SmsVerificationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'SmsVerificationResponse': TypeInfo(TypeOf.Class, create:() => SmsVerificationResponse()), 'SmsVerificationRequest': TypeInfo(TypeOf.Class, create:() => SmsVerificationRequest()), });