/* Options: Date: 2026-02-16 07:59:15 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AuthenticateWithKeycloak.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class AuthenticateWithKeycloakResponse implements IConvertible { String? bearerToken; String? refreshToken; String? sessionId; String? userName; String? displayName; ResponseStatus? responseStatus; AuthenticateWithKeycloakResponse({this.bearerToken,this.refreshToken,this.sessionId,this.userName,this.displayName,this.responseStatus}); AuthenticateWithKeycloakResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { bearerToken = json['bearerToken']; refreshToken = json['refreshToken']; sessionId = json['sessionId']; userName = json['userName']; displayName = json['displayName']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'bearerToken': bearerToken, 'refreshToken': refreshToken, 'sessionId': sessionId, 'userName': userName, 'displayName': displayName, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "AuthenticateWithKeycloakResponse"; TypeContext? context = _ctx; } // @Route("/auth/keycloak", "POST") class AuthenticateWithKeycloak implements IReturn, IConvertible, IPost { String? accessToken; AuthenticateWithKeycloak({this.accessToken}); AuthenticateWithKeycloak.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accessToken = json['accessToken']; return this; } Map toJson() => { 'accessToken': accessToken }; createResponse() => AuthenticateWithKeycloakResponse(); getResponseTypeName() => "AuthenticateWithKeycloakResponse"; getTypeName() => "AuthenticateWithKeycloak"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'AuthenticateWithKeycloakResponse': TypeInfo(TypeOf.Class, create:() => AuthenticateWithKeycloakResponse()), 'AuthenticateWithKeycloak': TypeInfo(TypeOf.Class, create:() => AuthenticateWithKeycloak()), });