Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateFormInput" /> class.
 /// </summary>
 /// <param name="Form">Form (required).</param>
 public UpdateFormInput(FormRecord Form = null)
 {
     // to ensure "Form" is required (not null)
     if (Form == null)
     {
         throw new InvalidDataException("Form is a required property for UpdateFormInput and cannot be null");
     }
     else
     {
         this.Form = Form;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateDefinitionResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Updated">Updated (required).</param>
 public UpdateDefinitionResult(ResponseHeaderRecord Hdr = null, FormRecord Updated = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for UpdateDefinitionResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "Updated" is required (not null)
     if (Updated == null)
     {
         throw new InvalidDataException("Updated is a required property for UpdateDefinitionResult and cannot be null");
     }
     else
     {
         this.Updated = Updated;
     }
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFormResult" /> class.
 /// </summary>
 /// <param name="Form">Form (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetFormResult(FormRecord Form = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Form" is required (not null)
     if (Form == null)
     {
         throw new InvalidDataException("Form is a required property for GetFormResult and cannot be null");
     }
     else
     {
         this.Form = Form;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetFormResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }