/// <summary> /// Initializes a new instance of the <see cref="UpdateBreakTypeRequest" /> class. /// </summary> /// <param name="BreakType">The updated `BreakType`. (required).</param> public UpdateBreakTypeRequest(BreakType BreakType = default(BreakType)) { // to ensure "BreakType" is required (not null) if (BreakType == null) { throw new InvalidDataException("BreakType is a required property for UpdateBreakTypeRequest and cannot be null"); } else { this.BreakType = BreakType; } }
/// <summary> /// Initializes a new instance of the <see cref="CreateBreakTypeRequest" /> class. /// </summary> /// <param name="IdempotencyKey">Unique string value to insure idempotency of the operation.</param> /// <param name="BreakType">The `BreakType` to be created. (required).</param> public CreateBreakTypeRequest(string IdempotencyKey = default(string), BreakType BreakType = default(BreakType)) { // to ensure "BreakType" is required (not null) if (BreakType == null) { throw new InvalidDataException("BreakType is a required property for CreateBreakTypeRequest and cannot be null"); } else { this.BreakType = BreakType; } this.IdempotencyKey = IdempotencyKey; }
/// <summary> /// Initializes a new instance of the <see cref="GetBreakTypeResponse" /> class. /// </summary> /// <param name="BreakType">The response object..</param> /// <param name="Errors">Any errors that occurred during the request..</param> public GetBreakTypeResponse(BreakType BreakType = default(BreakType), List <Error> Errors = default(List <Error>)) { this.BreakType = BreakType; this.Errors = Errors; }
/// <summary> /// Initializes a new instance of the <see cref="UpdateBreakTypeRequest" /> class. /// </summary> /// <param name="BreakType">The updated `BreakType`..</param> public UpdateBreakTypeRequest(BreakType BreakType = default(BreakType)) { this.BreakType = BreakType; }