/* Options: Date: 2025-12-06 07:08:03 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: IncomingRecruitmentSMSRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; abstract class TwilioRequest { String? AccountSid; String? From; String? To; String? FromCity; String? FromState; String? FromZip; String? FromCountry; String? ToCity; String? ToState; String? ToZip; String? ToCountry; TwilioRequest({this.AccountSid,this.From,this.To,this.FromCity,this.FromState,this.FromZip,this.FromCountry,this.ToCity,this.ToState,this.ToZip,this.ToCountry}); TwilioRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountSid = json['AccountSid']; From = json['From']; To = json['To']; FromCity = json['FromCity']; FromState = json['FromState']; FromZip = json['FromZip']; FromCountry = json['FromCountry']; ToCity = json['ToCity']; ToState = json['ToState']; ToZip = json['ToZip']; ToCountry = json['ToCountry']; return this; } Map toJson() => { 'AccountSid': AccountSid, 'From': From, 'To': To, 'FromCity': FromCity, 'FromState': FromState, 'FromZip': FromZip, 'FromCountry': FromCountry, 'ToCity': ToCity, 'ToState': ToState, 'ToZip': ToZip, 'ToCountry': ToCountry }; getTypeName() => "TwilioRequest"; TypeContext? context = _ctx; } class SmsRequest extends TwilioRequest implements IConvertible { String? MessageSid; String? SmsSid; String? Body; String? MessageStatus; String? OptOutType; String? MessagingServiceSid; int? NumMedia; int? ReferralNumMedia; SmsRequest({this.MessageSid,this.SmsSid,this.Body,this.MessageStatus,this.OptOutType,this.MessagingServiceSid,this.NumMedia,this.ReferralNumMedia}); SmsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MessageSid = json['MessageSid']; SmsSid = json['SmsSid']; Body = json['Body']; MessageStatus = json['MessageStatus']; OptOutType = json['OptOutType']; MessagingServiceSid = json['MessagingServiceSid']; NumMedia = json['NumMedia']; ReferralNumMedia = json['ReferralNumMedia']; return this; } Map toJson() => super.toJson()..addAll({ 'MessageSid': MessageSid, 'SmsSid': SmsSid, 'Body': Body, 'MessageStatus': MessageStatus, 'OptOutType': OptOutType, 'MessagingServiceSid': MessagingServiceSid, 'NumMedia': NumMedia, 'ReferralNumMedia': ReferralNumMedia }); getTypeName() => "SmsRequest"; TypeContext? context = _ctx; } // @Route("/v1/sms/recruitment/reply", "POST,OPTIONS") class IncomingRecruitmentSMSRequest extends SmsRequest implements IConvertible, IPost { IncomingRecruitmentSMSRequest(); IncomingRecruitmentSMSRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "IncomingRecruitmentSMSRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'TwilioRequest': TypeInfo(TypeOf.AbstractClass), 'SmsRequest': TypeInfo(TypeOf.Class, create:() => SmsRequest()), 'IncomingRecruitmentSMSRequest': TypeInfo(TypeOf.Class, create:() => IncomingRecruitmentSMSRequest()), });