/// <summary> /// Initializes a new instance of the <see cref="UpdateDocumentInput" /> class. /// </summary> /// <param name="Document">Document (required).</param> /// <param name="Spaces">.</param> public UpdateDocumentInput(DocumentV2Record Document = null, List <string> Spaces = null) { // to ensure "Document" is required (not null) if (Document == null) { throw new InvalidDataException("Document is a required property for UpdateDocumentInput and cannot be null"); } else { this.Document = Document; } this.Spaces = Spaces; }
/// <summary> /// Initializes a new instance of the <see cref="UpdateDocumentResult" /> class. /// </summary> /// <param name="Document">Document (required).</param> /// <param name="Hdr">Hdr (required).</param> public UpdateDocumentResult(DocumentV2Record Document = null, ResponseHeaderRecord Hdr = null) { // to ensure "Document" is required (not null) if (Document == null) { throw new InvalidDataException("Document is a required property for UpdateDocumentResult and cannot be null"); } else { this.Document = Document; } // to ensure "Hdr" is required (not null) if (Hdr == null) { throw new InvalidDataException("Hdr is a required property for UpdateDocumentResult and cannot be null"); } else { this.Hdr = Hdr; } }