/* Options: Date: 2024-12-29 04:24:03 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CRMSubscriptionUpsertRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/DynamicsCRM/Subscription/Upsert", Verbs="POST") open class CRMSubscriptionUpsertRequest : IReturn { var regent_id:Int? = null var name:String? = null var optin:Boolean? = null var optout:Boolean? = null var is_contact:Boolean? = null var is_account:Boolean? = null var added_date:Date? = null companion object { private val responseType = ResponseStatus::class.java } override fun getResponseType(): Any? = CRMSubscriptionUpsertRequest.responseType } @DataContract open class ResponseStatus { @DataMember(Order=1) var errorCode:String? = null @DataMember(Order=2) var message:String? = null @DataMember(Order=3) var stackTrace:String? = null @DataMember(Order=4) var errors:ArrayList = ArrayList() @DataMember(Order=5) var meta:HashMap = HashMap() }