/* Options: Date: 2025-05-10 03:37:24 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PasswordRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @DataContract class BaseResponse implements IConvertible { /** * */ // @DataMember // @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") BaseResponseResult? Status; BaseResponse({this.Status}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Status = JsonConverters.fromJson(json['Status'],'BaseResponseResult',context!); return this; } Map toJson() => { 'Status': JsonConverters.toJson(Status,'BaseResponseResult',context!) }; getTypeName() => "BaseResponse"; TypeContext? context = _ctx; } // @DataContract class PasswordResponse extends BaseResponse implements IConvertible { // @DataMember String? Response; PasswordResponse({this.Response}); PasswordResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Response = json['Response']; return this; } Map toJson() => super.toJson()..addAll({ 'Response': Response }); getTypeName() => "PasswordResponse"; TypeContext? context = _ctx; } /** * Service for changing passwords */ // @Route("/Password", "POST, GET") // @Route("/Password/{action}", "POST, GET") // @DataContract class PasswordRequest implements IReturn, IConvertible, IPost { // @DataMember String? Action; // @DataMember String? Username; // @DataMember String? PasswordToken; // @DataMember String? Password; PasswordRequest({this.Action,this.Username,this.PasswordToken,this.Password}); PasswordRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Action = json['Action']; Username = json['Username']; PasswordToken = json['PasswordToken']; Password = json['Password']; return this; } Map toJson() => { 'Action': Action, 'Username': Username, 'PasswordToken': PasswordToken, 'Password': Password }; createResponse() => PasswordResponse(); getResponseTypeName() => "PasswordResponse"; getTypeName() => "PasswordRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'active_ewebservice.biz', types: { 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'BaseResponseResult': TypeInfo(TypeOf.Class, create:() => BaseResponseResult()), 'PasswordResponse': TypeInfo(TypeOf.Class, create:() => PasswordResponse()), 'PasswordRequest': TypeInfo(TypeOf.Class, create:() => PasswordRequest()), });