/* Options: Date: 2024-12-01 04:04:36 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AuthorizeTokenFast.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IAuthorizeToken { String? tokenString; String? service; } class AuthorizeFastBaseResponse implements IConvertible { bool? isAuthorized; Map? settings; int? suggestedStatusCode; String? suggestedResponseMessage; String? reason; String? customerId; AuthorizeFastBaseResponse({this.isAuthorized,this.settings,this.suggestedStatusCode,this.suggestedResponseMessage,this.reason,this.customerId}); AuthorizeFastBaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isAuthorized = json['isAuthorized']; settings = JsonConverters.toStringMap(json['settings']); suggestedStatusCode = json['suggestedStatusCode']; suggestedResponseMessage = json['suggestedResponseMessage']; reason = json['reason']; customerId = json['customerId']; return this; } Map toJson() => { 'isAuthorized': isAuthorized, 'settings': settings, 'suggestedStatusCode': suggestedStatusCode, 'suggestedResponseMessage': suggestedResponseMessage, 'reason': reason, 'customerId': customerId }; getTypeName() => "AuthorizeFastBaseResponse"; TypeContext? context = _ctx; } class AuthorizeTokenFastResponse extends AuthorizeFastBaseResponse implements IConvertible { AuthorizeTokenFastResponse(); AuthorizeTokenFastResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "AuthorizeTokenFastResponse"; TypeContext? context = _ctx; } // @Route("/authorizetokenfast/{Service}/{TokenString}", "GET,POST") class AuthorizeTokenFast implements IReturn, IAuthorizeToken, IConvertible, IPost { // @ApiMember(IsRequired=true, ParameterType="path") String? tokenString; // @ApiMember(IsRequired=true, ParameterType="path") String? service; AuthorizeTokenFast({this.tokenString,this.service}); AuthorizeTokenFast.fromJson(Map json) { fromMap(json); } fromMap(Map json) { tokenString = json['tokenString']; service = json['service']; return this; } Map toJson() => { 'tokenString': tokenString, 'service': service }; createResponse() => AuthorizeTokenFastResponse(); getResponseTypeName() => "AuthorizeTokenFastResponse"; getTypeName() => "AuthorizeTokenFast"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'nkapi_sgepz3_auth.azurewebsites.net', types: { 'IAuthorizeToken': TypeInfo(TypeOf.Interface), 'AuthorizeFastBaseResponse': TypeInfo(TypeOf.Class, create:() => AuthorizeFastBaseResponse()), 'AuthorizeTokenFastResponse': TypeInfo(TypeOf.Class, create:() => AuthorizeTokenFastResponse()), 'AuthorizeTokenFast': TypeInfo(TypeOf.Class, create:() => AuthorizeTokenFast()), });