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