コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Location" /> class.
 /// </summary>
 /// <param name="WorkOrderId">WorkOrderId.</param>
 /// <param name="Mode">Mode.</param>
 /// <param name="Role">Role.</param>
 /// <param name="Actions">Actions.</param>
 /// <param name="CorrelationId">CorrelationId.</param>
 /// <param name="StatusId">StatusId.</param>
 /// <param name="Address1">Address1.</param>
 /// <param name="Address2">Address2.</param>
 /// <param name="City">City.</param>
 /// <param name="State">State.</param>
 /// <param name="Zip">Zip.</param>
 /// <param name="Country">Country.</param>
 /// <param name="Coordinates">Coordinates.</param>
 /// <param name="Type">Type.</param>
 /// <param name="SaveLocation">SaveLocation.</param>
 /// <param name="SaveLocationGroup">SaveLocationGroup.</param>
 /// <param name="SavedLocation">SavedLocation.</param>
 /// <param name="TimeZone">TimeZone.</param>
 /// <param name="Contacts">Contacts.</param>
 /// <param name="Map">Map.</param>
 /// <param name="Notes">Notes.</param>
 /// <param name="Validation">Validation.</param>
 public Location(int?WorkOrderId = default(int?), ModeEnum?Mode = default(ModeEnum?), string Role = default(string), List <ActionsEnum> Actions = default(List <ActionsEnum>), string CorrelationId = default(string), int?StatusId = default(int?), string Address1 = default(string), string Address2 = default(string), string City = default(string), string State = default(string), string Zip = default(string), string Country = default(string), Coords Coordinates = default(Coords), InlineResponse2002 Type = default(InlineResponse2002), string SaveLocation = default(string), int?SaveLocationGroup = default(int?), StoredLocation SavedLocation = default(StoredLocation), TimeZone TimeZone = default(TimeZone), List <Contact> Contacts = default(List <Contact>),
                 Dictionary <string, string> Map = null, LocationNotes Notes = default(LocationNotes), LocationValidation Validation = default(LocationValidation))
 {
     this.WorkOrderId       = WorkOrderId;
     this.Mode              = Mode;
     this.Role              = Role;
     this.Actions           = Actions;
     this.CorrelationId     = CorrelationId;
     this.StatusId          = StatusId;
     this.Address1          = Address1;
     this.Address2          = Address2;
     this.City              = City;
     this.State             = State;
     this.Zip               = Zip;
     this.Country           = Country;
     this.Coordinates       = Coordinates;
     this.Type              = Type;
     this.SaveLocation      = SaveLocation;
     this.SaveLocationGroup = SaveLocationGroup;
     this.SavedLocation     = SavedLocation;
     this.TimeZone          = TimeZone;
     this.Contacts          = Contacts;
     this.Map               = Map;
     this.Notes             = Notes;
     this.Validation        = Validation;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Expense" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Description">Description.</param>
 /// <param name="Quantity">Quantity.</param>
 /// <param name="Status">Status.</param>
 /// <param name="StatusDescription">StatusDescription.</param>
 /// <param name="Category">Category.</param>
 /// <param name="Added">Added.</param>
 /// <param name="Author">Author.</param>
 /// <param name="CompanyExpense">CompanyExpense.</param>
 /// <param name="Amount">Amount.</param>
 /// <param name="Reason">Reason.</param>
 /// <param name="Actions">Actions.</param>
 public Expense(int?Id = default(int?), string Description = default(string), decimal?Quantity = default(decimal?), StatusEnum?Status = default(StatusEnum?), string StatusDescription = default(string), InlineResponse2002 Category = default(InlineResponse2002), DateTime?Added = default(DateTime?), User Author = default(User), ExpenseCompanyExpense CompanyExpense = default(ExpenseCompanyExpense), decimal?Amount = default(decimal?), string Reason = default(string), List <ActionsEnum> Actions = default(List <ActionsEnum>))
 {
     this.Id                = Id;
     this.Description       = Description;
     this.Quantity          = Quantity;
     this.Status            = Status;
     this.StatusDescription = StatusDescription;
     this.Category          = Category;
     this.Added             = Added;
     this.Author            = Author;
     this.CompanyExpense    = CompanyExpense;
     this.Amount            = Amount;
     this.Reason            = Reason;
     this.Actions           = Actions;
 }