Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignupInput" /> class.
 /// </summary>
 /// <param name="SignUpRecord">SignUpRecord (required).</param>
 public SignupInput(SignUpRecord SignUpRecord = null)
 {
     // to ensure "SignUpRecord" is required (not null)
     if (SignUpRecord == null)
     {
         throw new InvalidDataException("SignUpRecord is a required property for SignupInput and cannot be null");
     }
     else
     {
         this.SignUpRecord = SignUpRecord;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignupResult" /> class.
 /// </summary>
 /// <param name="OutputRecord">OutputRecord (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public SignupResult(SignUpRecord OutputRecord = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "OutputRecord" is required (not null)
     if (OutputRecord == null)
     {
         throw new InvalidDataException("OutputRecord is a required property for SignupResult and cannot be null");
     }
     else
     {
         this.OutputRecord = OutputRecord;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for SignupResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }