예제 #1
0
 /// <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;
     }
 }
예제 #2
0
 /// <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;
     }
 }