/// <summary> /// Initializes a new instance of the <see cref="V1UpdateEmployeeRoleRequest" /> class. /// </summary> /// <param name="Body">An object containing the fields to POST for the request. See the corresponding object definition for field details. (required).</param> public V1UpdateEmployeeRoleRequest(V1EmployeeRole Body = default(V1EmployeeRole)) { // to ensure "Body" is required (not null) if (Body == null) { throw new InvalidDataException("Body is a required property for V1UpdateEmployeeRoleRequest and cannot be null"); } else { this.Body = Body; } }
/// <summary> /// Initializes a new instance of the <see cref="V1CreateEmployeeRoleRequest" /> class. /// </summary> /// <param name="EmployeeRole">An EmployeeRole object with a name and permissions, and an optional owner flag..</param> public V1CreateEmployeeRoleRequest(V1EmployeeRole EmployeeRole = default(V1EmployeeRole)) { this.EmployeeRole = EmployeeRole; }