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