/// <summary> /// Initializes a new instance of the <see cref="TimeLogs" /> class. /// </summary> /// <param name="Metadata">Metadata.</param> /// <param name="TimeZone">TimeZone.</param> /// <param name="Hours">Hours.</param> /// <param name="Status">Status.</param> /// <param name="Confirmed">Confirmed.</param> /// <param name="Onmyway">Onmyway.</param> /// <param name="Actions">Actions.</param> /// <param name="OpenTimeLog">OpenTimeLog.</param> /// <param name="Results">Results.</param> public TimeLogs(ListEnvelope Metadata = default(ListEnvelope), TimeZone TimeZone = default(TimeZone), decimal?Hours = default(decimal?), string Status = default(string), DateTime?Confirmed = default(DateTime?), OnMyWay Onmyway = default(OnMyWay), List <ActionsEnum> Actions = default(List <ActionsEnum>), TimeLog OpenTimeLog = default(TimeLog), List <TimeLog> Results = default(List <TimeLog>)) { this.Metadata = Metadata; this.TimeZone = TimeZone; this.Hours = Hours; this.Status = Status; this.Confirmed = Confirmed; this.Onmyway = Onmyway; this.Actions = Actions; this.OpenTimeLog = OpenTimeLog; this.Results = Results; }
/// <summary> /// Initializes a new instance of the <see cref="Schedule" /> class. /// </summary> /// <param name="WorkOrderId">WorkOrderId.</param> /// <param name="CorrelationId">CorrelationId.</param> /// <param name="TodayTomorrow">TodayTomorrow.</param> /// <param name="ServiceWindow">ServiceWindow.</param> /// <param name="OnMyWay">OnMyWay.</param> /// <param name="TimeZone">TimeZone.</param> /// <param name="Role">Role.</param> /// <param name="StatusId">StatusId.</param> /// <param name="Actions">Actions.</param> /// <param name="NoRefresh">NoRefresh.</param> public Schedule(int?WorkOrderId = default(int?), string CorrelationId = default(string), TodayTomorrowEnum?TodayTomorrow = default(TodayTomorrowEnum?), ScheduleServiceWindow ServiceWindow = default(ScheduleServiceWindow), OnMyWay OnMyWay = default(OnMyWay), TimeZone TimeZone = default(TimeZone), string Role = default(string), int?StatusId = default(int?), List <ActionsEnum> Actions = default(List <ActionsEnum>), bool?NoRefresh = default(bool?)) { this.WorkOrderId = WorkOrderId; this.CorrelationId = CorrelationId; this.TodayTomorrow = TodayTomorrow; this.ServiceWindow = ServiceWindow; this.OnMyWay = OnMyWay; this.TimeZone = TimeZone; this.Role = Role; this.StatusId = StatusId; this.Actions = Actions; this.NoRefresh = NoRefresh; }
/// <summary> /// Initializes a new instance of the <see cref="TimeLog" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="TimeZone">TimeZone.</param> /// <param name="_In">_In.</param> /// <param name="_Out">_Out.</param> /// <param name="Devices">Devices.</param> /// <param name="Hours">Hours.</param> /// <param name="Verified">Verified.</param> /// <param name="ShouldVerify">ShouldVerify.</param> /// <param name="WasLate">WasLate.</param> /// <param name="LoggedBy">LoggedBy.</param> /// <param name="OnMyWay">OnMyWay.</param> /// <param name="Status">Status.</param> /// <param name="Actions">Actions.</param> public TimeLog(int?Id = default(int?), TimeZone TimeZone = default(TimeZone), CheckInOut _In = default(CheckInOut), CheckInOut _Out = default(CheckInOut), decimal?Devices = default(decimal?), decimal?Hours = default(decimal?), bool?Verified = default(bool?), bool?ShouldVerify = default(bool?), bool?WasLate = default(bool?), User LoggedBy = default(User), OnMyWay OnMyWay = default(OnMyWay), StatusEnum?Status = default(StatusEnum?), List <ActionsEnum> Actions = default(List <ActionsEnum>)) { this.Id = Id; this.TimeZone = TimeZone; this._In = _In; this._Out = _Out; this.Devices = Devices; this.Hours = Hours; this.Verified = Verified; this.ShouldVerify = ShouldVerify; this.WasLate = WasLate; this.LoggedBy = LoggedBy; this.OnMyWay = OnMyWay; this.Status = Status; this.Actions = Actions; }