/// <summary> /// Initializes a new instance of the <see cref="UpdateContactCardInput" /> class. /// </summary> /// <param name="ContactCardRecord">ContactCardRecord (required).</param> public UpdateContactCardInput(ContactCardRecord ContactCardRecord = null) { // to ensure "ContactCardRecord" is required (not null) if (ContactCardRecord == null) { throw new InvalidDataException("ContactCardRecord is a required property for UpdateContactCardInput and cannot be null"); } else { this.ContactCardRecord = ContactCardRecord; } }
/// <summary> /// Initializes a new instance of the <see cref="CreateContactCardResult" /> class. /// </summary> /// <param name="ContactCardRcd">ContactCardRcd (required).</param> /// <param name="Hdr">Hdr (required).</param> public CreateContactCardResult(ContactCardRecord ContactCardRcd = null, ResponseHeaderRecord Hdr = null) { // to ensure "ContactCardRcd" is required (not null) if (ContactCardRcd == null) { throw new InvalidDataException("ContactCardRcd is a required property for CreateContactCardResult and cannot be null"); } else { this.ContactCardRcd = ContactCardRcd; } // to ensure "Hdr" is required (not null) if (Hdr == null) { throw new InvalidDataException("Hdr is a required property for CreateContactCardResult and cannot be null"); } else { this.Hdr = Hdr; } }