/* Options: Date: 2026-03-14 18:40:47 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://production-eros-gateway-api-sms-wa.azurewebsites.net/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SendTask.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BaseQueueMessage implements IConvertible { String? LicenseeId; BaseQueueMessage({this.LicenseeId}); BaseQueueMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LicenseeId = json['LicenseeId']; return this; } Map toJson() => { 'LicenseeId': LicenseeId }; getTypeName() => "BaseQueueMessage"; TypeContext? context = _ctx; } class GatewayTask extends BaseQueueMessage implements IConvertible { String? ReferenceId; String? JobTypeId; bool? IsBeingProcessed; String? Payload; bool? ContentStoredExternally; bool? ResendRequest; GatewayTask({this.ReferenceId,this.JobTypeId,this.IsBeingProcessed,this.Payload,this.ContentStoredExternally,this.ResendRequest}); GatewayTask.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReferenceId = json['ReferenceId']; JobTypeId = json['JobTypeId']; IsBeingProcessed = json['IsBeingProcessed']; Payload = json['Payload']; ContentStoredExternally = json['ContentStoredExternally']; ResendRequest = json['ResendRequest']; return this; } Map toJson() => super.toJson()..addAll({ 'ReferenceId': ReferenceId, 'JobTypeId': JobTypeId, 'IsBeingProcessed': IsBeingProcessed, 'Payload': Payload, 'ContentStoredExternally': ContentStoredExternally, 'ResendRequest': ResendRequest }); getTypeName() => "GatewayTask"; TypeContext? context = _ctx; } enum GatewayResponseStatus { Initiated, Successful, JobError, } class GatewayTaskResponse implements IConvertible { String? ReferenceId; GatewayResponseStatus? GatewayTaskResponseStatus; String? Payload; GatewayTaskResponse({this.ReferenceId,this.GatewayTaskResponseStatus,this.Payload}); GatewayTaskResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReferenceId = json['ReferenceId']; GatewayTaskResponseStatus = JsonConverters.fromJson(json['GatewayTaskResponseStatus'],'GatewayResponseStatus',context!); Payload = json['Payload']; return this; } Map toJson() => { 'ReferenceId': ReferenceId, 'GatewayTaskResponseStatus': JsonConverters.toJson(GatewayTaskResponseStatus,'GatewayResponseStatus',context!), 'Payload': Payload }; getTypeName() => "GatewayTaskResponse"; TypeContext? context = _ctx; } class SendTask implements IReturn, IConvertible, IPost { GatewayTask? GatewayTask; SendTask({this.GatewayTask}); SendTask.fromJson(Map json) { fromMap(json); } fromMap(Map json) { GatewayTask = JsonConverters.fromJson(json['GatewayTask'],'GatewayTask',context!); return this; } Map toJson() => { 'GatewayTask': JsonConverters.toJson(GatewayTask,'GatewayTask',context!) }; createResponse() => GatewayTaskResponse(); getResponseTypeName() => "GatewayTaskResponse"; getTypeName() => "SendTask"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'production_eros_gateway_api_sms_wa.azurewebsites.net', types: { 'BaseQueueMessage': TypeInfo(TypeOf.Class, create:() => BaseQueueMessage()), 'GatewayTask': TypeInfo(TypeOf.Class, create:() => GatewayTask()), 'GatewayResponseStatus': TypeInfo(TypeOf.Enum, enumValues:GatewayResponseStatus.values), 'GatewayTaskResponse': TypeInfo(TypeOf.Class, create:() => GatewayTaskResponse()), 'SendTask': TypeInfo(TypeOf.Class, create:() => SendTask()), });