/* Options: Date: 2024-12-29 02:30:14 SwiftVersion: 5.0 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: CRMContactUpsertMultipleRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/DynamicsCRM/Contact/Upsert/Multiple", "POST") public class CRMContactUpsertMultipleRequest : IReturn, Codable { public typealias Return = ResponseStatus public var contacts:[CRMContactCreateRequest] = [] required public init(){} } // @Route("/DynamicsCRM/Contact/Create", "POST") public class CRMContactCreateRequest : IReturn, Codable { public typealias Return = ResponseStatus public var regent_id:Int? public var first_name:String public var last_name:String public var middle_name:String public var preferred_name:String public var `prefix`:String public var addressee:String public var primary_salutation:String public var former_name:String public var spouse_name:String public var spouse_is_main_contact:Bool public var addr1:String public var addr2:String public var city:String public var state:String public var country:String public var code:String public var dob:Date? public var deceased_date:Date? public var citizenship:String public var citizenship_other:String public var permanent_resident:String public var denomination:String public var connection_to_regent:String public var student_segment:String public var reason_added:String public var gender:String public var marital_status:String public var financial_aid_received:Bool public var is_applicant:Bool public var solicitation_method:String public var solicitation_exceptions:String public var campaign_monitor_optin:Bool public var campaign_monitor_suppressed:Bool public var campaign_monitor_lists:String public var email:String public var email_secondary:String public var phone_home:String public var phone_bus:String public var phone_cell:String public var no_mail:Bool public var no_email:Bool public var no_bulk_email:Bool public var no_phone:Bool public var no_marketing_materials:Bool public var prefers_email:Bool public var prefers_phone:Bool public var last_credit_class:Date? public var last_audit_class:Date? public var last_oncampus_class:Date? public var last_distance_education_class:Date? public var last_evening_weekend_class:Date? public var last_summer_class:Date? public var last_marketplace_class:Date? public var last_anglican_studies_class:Date? public var image_base64:String public var owning_username:String required public init(){} }