/// <summary> /// Initializes a new instance of the <see cref="UpdateWorkweekConfigRequest" /> class. /// </summary> /// <param name="WorkweekConfig">The updated `WorkweekConfig` object. (required).</param> public UpdateWorkweekConfigRequest(WorkweekConfig WorkweekConfig = default(WorkweekConfig)) { // to ensure "WorkweekConfig" is required (not null) if (WorkweekConfig == null) { throw new InvalidDataException("WorkweekConfig is a required property for UpdateWorkweekConfigRequest and cannot be null"); } else { this.WorkweekConfig = WorkweekConfig; } }
/// <summary> /// Initializes a new instance of the <see cref="UpdateWorkweekConfigRequest" /> class. /// </summary> /// <param name="WorkweekConfig">The updated `WorkweekConfig` object..</param> public UpdateWorkweekConfigRequest(WorkweekConfig WorkweekConfig = default(WorkweekConfig)) { this.WorkweekConfig = WorkweekConfig; }
/// <summary> /// Initializes a new instance of the <see cref="UpdateWorkweekConfigResponse" /> class. /// </summary> /// <param name="WorkweekConfig">The response object..</param> /// <param name="Errors">Any errors that occurred during the request..</param> public UpdateWorkweekConfigResponse(WorkweekConfig WorkweekConfig = default(WorkweekConfig), List <Error> Errors = default(List <Error>)) { this.WorkweekConfig = WorkweekConfig; this.Errors = Errors; }