/* Options: Date: 2026-06-01 15:16:43 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://remservices.eyyubiye.bel.tr //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateRemMessage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RemAttributes implements IConvertible { int? SubscriberId; String? Owner; String? FromAddress; String? ToAddresses; String? CcAddresses; String? Subject; String? BodyType; String? Body; bool? AutoSignerYn; String? TrMessageType; RemAttributes({this.SubscriberId,this.Owner,this.FromAddress,this.ToAddresses,this.CcAddresses,this.Subject,this.BodyType,this.Body,this.AutoSignerYn,this.TrMessageType}); RemAttributes.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubscriberId = json['SubscriberId']; Owner = json['Owner']; FromAddress = json['FromAddress']; ToAddresses = json['ToAddresses']; CcAddresses = json['CcAddresses']; Subject = json['Subject']; BodyType = json['BodyType']; Body = json['Body']; AutoSignerYn = json['AutoSignerYn']; TrMessageType = json['TrMessageType']; return this; } Map toJson() => { 'SubscriberId': SubscriberId, 'Owner': Owner, 'FromAddress': FromAddress, 'ToAddresses': ToAddresses, 'CcAddresses': CcAddresses, 'Subject': Subject, 'BodyType': BodyType, 'Body': Body, 'AutoSignerYn': AutoSignerYn, 'TrMessageType': TrMessageType }; getTypeName() => "RemAttributes"; TypeContext? context = _ctx; } class BaseResponse implements IConvertible { bool? Result; int? ErrorCode; String? ErrorMessage; BaseResponse({this.Result,this.ErrorCode,this.ErrorMessage}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Result = json['Result']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; return this; } Map toJson() => { 'Result': Result, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage }; getTypeName() => "BaseResponse"; TypeContext? context = _ctx; } class CreateRemMessageResponse extends BaseResponse implements IConvertible { int? RemID; CreateRemMessageResponse({this.RemID}); CreateRemMessageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); RemID = json['RemID']; return this; } Map toJson() => super.toJson()..addAll({ 'RemID': RemID }); getTypeName() => "CreateRemMessageResponse"; TypeContext? context = _ctx; } // @Route("/CreateRemMessage/{ClientKey}") class CreateRemMessage implements IReturn, IConvertible, IPost { String? ClientKey; String? AuthorizationID; int? RemAddressId; RemAttributes? RemAttributesValues; CreateRemMessage({this.ClientKey,this.AuthorizationID,this.RemAddressId,this.RemAttributesValues}); CreateRemMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientKey = json['ClientKey']; AuthorizationID = json['AuthorizationID']; RemAddressId = json['RemAddressId']; RemAttributesValues = JsonConverters.fromJson(json['RemAttributesValues'],'RemAttributes',context!); return this; } Map toJson() => { 'ClientKey': ClientKey, 'AuthorizationID': AuthorizationID, 'RemAddressId': RemAddressId, 'RemAttributesValues': JsonConverters.toJson(RemAttributesValues,'RemAttributes',context!) }; createResponse() => CreateRemMessageResponse(); getResponseTypeName() => "CreateRemMessageResponse"; getTypeName() => "CreateRemMessage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'remservices.eyyubiye.bel.tr', types: { 'RemAttributes': TypeInfo(TypeOf.Class, create:() => RemAttributes()), 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'CreateRemMessageResponse': TypeInfo(TypeOf.Class, create:() => CreateRemMessageResponse()), 'CreateRemMessage': TypeInfo(TypeOf.Class, create:() => CreateRemMessage()), });