/* Options: Date: 2024-06-17 01:20:16 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaysonApiSettingsQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class PaysonApiSettingsQueryResponse implements IConvertible { /** * The company id */ // @ApiMember(Description="The company id") String? CompanyId; /** * The payson security user id */ // @ApiMember(Description="The payson security user id") String? SecurityUserId; /** * The payson security user password */ // @ApiMember(Description="The payson security user password") String? SecurityPassword; /** * The payson receiver email */ // @ApiMember(Description="The payson receiver email") String? ReceiverEmail; /** * The payson receiver firstname */ // @ApiMember(Description="The payson receiver firstname") String? ReceiverFirstname; /** * The payson receiver lastname */ // @ApiMember(Description="The payson receiver lastname") String? ReceiverLastname; PaysonApiSettingsQueryResponse({this.CompanyId,this.SecurityUserId,this.SecurityPassword,this.ReceiverEmail,this.ReceiverFirstname,this.ReceiverLastname}); PaysonApiSettingsQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; SecurityUserId = json['SecurityUserId']; SecurityPassword = json['SecurityPassword']; ReceiverEmail = json['ReceiverEmail']; ReceiverFirstname = json['ReceiverFirstname']; ReceiverLastname = json['ReceiverLastname']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'SecurityUserId': SecurityUserId, 'SecurityPassword': SecurityPassword, 'ReceiverEmail': ReceiverEmail, 'ReceiverFirstname': ReceiverFirstname, 'ReceiverLastname': ReceiverLastname }; getTypeName() => "PaysonApiSettingsQueryResponse"; TypeContext? context = _ctx; } // @Route("/payment/payson/apisettings", "GET") // @ValidateRequest(Validator="IsAuthenticated") class PaysonApiSettingsQuery implements IReturn, ICompany, IConvertible, IGet { /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") String? CompanyId; PaysonApiSettingsQuery({this.CompanyId}); PaysonApiSettingsQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; return this; } Map toJson() => { 'CompanyId': CompanyId }; createResponse() => PaysonApiSettingsQueryResponse(); getResponseTypeName() => "PaysonApiSettingsQueryResponse"; getTypeName() => "PaysonApiSettingsQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'PaysonApiSettingsQueryResponse': TypeInfo(TypeOf.Class, create:() => PaysonApiSettingsQueryResponse()), 'PaysonApiSettingsQuery': TypeInfo(TypeOf.Class, create:() => PaysonApiSettingsQuery()), });