Example #1
0
 /// <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;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Task" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Alerts">Alerts.</param>
 /// <param name="Description">Description.</param>
 /// <param name="Descriptions">Descriptions.</param>
 /// <param name="Label">Label.</param>
 /// <param name="Group">Group.</param>
 /// <param name="Status">Status.</param>
 /// <param name="Actions">Actions.</param>
 /// <param name="Type">Type.</param>
 /// <param name="Created">Created.</param>
 /// <param name="Author">Author.</param>
 /// <param name="Completed">Completed.</param>
 /// <param name="CheckIn">CheckIn.</param>
 /// <param name="CheckOut">CheckOut.</param>
 /// <param name="ClosingNotes">ClosingNotes.</param>
 /// <param name="Attachments">Attachments.</param>
 /// <param name="CustomField">CustomField.</param>
 /// <param name="Phone">Phone.</param>
 /// <param name="Email">Email.</param>
 /// <param name="Signature">Signature.</param>
 /// <param name="Shipment">Shipment.</param>
 /// <param name="Eta">Eta.</param>
 public Task(int?Id = default(int?), List <TaskAlert> Alerts = default(List <TaskAlert>), string Description = default(string), TaskDescriptions Descriptions = default(TaskDescriptions), string Label = default(string), TaskGroup Group = default(TaskGroup), StatusEnum?Status = default(StatusEnum?), List <ActionsEnum> Actions = default(List <ActionsEnum>), TaskType Type = default(TaskType), DateTime?Created = default(DateTime?), User Author = default(User), DateTime?Completed = default(DateTime?), TimeLog CheckIn = default(TimeLog), TimeLog CheckOut = default(TimeLog), string ClosingNotes = default(string), AttachmentFolder Attachments = default(AttachmentFolder), CustomField CustomField = default(CustomField), string Phone = default(string), string Email = default(string), Signature Signature = default(Signature), Shipment Shipment = default(Shipment), ETA Eta = default(ETA))
 {
     this.Id           = Id;
     this.Alerts       = Alerts;
     this.Description  = Description;
     this.Descriptions = Descriptions;
     this.Label        = Label;
     this.Group        = Group;
     this.Status       = Status;
     this.Actions      = Actions;
     this.Type         = Type;
     this.Created      = Created;
     this.Author       = Author;
     this.Completed    = Completed;
     this.CheckIn      = CheckIn;
     this.CheckOut     = CheckOut;
     this.ClosingNotes = ClosingNotes;
     this.Attachments  = Attachments;
     this.CustomField  = CustomField;
     this.Phone        = Phone;
     this.Email        = Email;
     this.Signature    = Signature;
     this.Shipment     = Shipment;
     this.Eta          = Eta;
 }