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