コード例 #1
0
 public ShiftFilter(IList <string> locationIds = null,
                    IList <string> employeeIds = null,
                    string status               = null,
                    Models.TimeRange start      = null,
                    Models.TimeRange end        = null,
                    Models.ShiftWorkday workday = null)
 {
     LocationIds = locationIds;
     EmployeeIds = employeeIds;
     Status      = status;
     Start       = start;
     End         = end;
     Workday     = workday;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShiftFilter"/> class.
 /// </summary>
 /// <param name="locationIds">location_ids.</param>
 /// <param name="teamMemberIds">team_member_ids.</param>
 /// <param name="employeeIds">employee_ids.</param>
 /// <param name="status">status.</param>
 /// <param name="start">start.</param>
 /// <param name="end">end.</param>
 /// <param name="workday">workday.</param>
 public ShiftFilter(
     IList <string> locationIds,
     IList <string> teamMemberIds,
     IList <string> employeeIds = null,
     string status               = null,
     Models.TimeRange start      = null,
     Models.TimeRange end        = null,
     Models.ShiftWorkday workday = null)
 {
     this.LocationIds   = locationIds;
     this.EmployeeIds   = employeeIds;
     this.Status        = status;
     this.Start         = start;
     this.End           = end;
     this.Workday       = workday;
     this.TeamMemberIds = teamMemberIds;
 }
コード例 #3
0
 /// <summary>
 /// Workday.
 /// </summary>
 /// <param name="workday"> workday. </param>
 /// <returns> Builder. </returns>
 public Builder Workday(Models.ShiftWorkday workday)
 {
     this.workday = workday;
     return(this);
 }
コード例 #4
0
 public Builder Workday(Models.ShiftWorkday value)
 {
     workday = value;
     return(this);
 }