/* Options: Date: 2024-12-29 04:07:05 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: CRMContactCreateRequest.* //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/Contact/Create", Verbs="POST") open class CRMContactCreateRequest : IReturn { var regent_id:Int? = null var first_name:String? = null var last_name:String? = null var middle_name:String? = null var preferred_name:String? = null var prefix:String? = null var addressee:String? = null var primary_salutation:String? = null var former_name:String? = null var spouse_name:String? = null var spouse_is_main_contact:Boolean? = null var addr1:String? = null var addr2:String? = null var city:String? = null var state:String? = null var country:String? = null var code:String? = null var dob:Date? = null var deceased_date:Date? = null var citizenship:String? = null var citizenship_other:String? = null var permanent_resident:String? = null var denomination:String? = null var connection_to_regent:String? = null var student_segment:String? = null var reason_added:String? = null var gender:String? = null var marital_status:String? = null var financial_aid_received:Boolean? = null var is_applicant:Boolean? = null var solicitation_method:String? = null var solicitation_exceptions:String? = null var campaign_monitor_optin:Boolean? = null var campaign_monitor_suppressed:Boolean? = null var campaign_monitor_lists:String? = null var email:String? = null var email_secondary:String? = null var phone_home:String? = null var phone_bus:String? = null var phone_cell:String? = null var no_mail:Boolean? = null var no_email:Boolean? = null var no_bulk_email:Boolean? = null var no_phone:Boolean? = null var no_marketing_materials:Boolean? = null var prefers_email:Boolean? = null var prefers_phone:Boolean? = null var last_credit_class:Date? = null var last_audit_class:Date? = null var last_oncampus_class:Date? = null var last_distance_education_class:Date? = null var last_evening_weekend_class:Date? = null var last_summer_class:Date? = null var last_marketplace_class:Date? = null var last_anglican_studies_class:Date? = null var image_base64:String? = null var owning_username:String? = null companion object { private val responseType = ResponseStatus::class.java } override fun getResponseType(): Any? = CRMContactCreateRequest.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() }