Esempio n. 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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StoredLocation" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Company">Company.</param>
 /// <param name="Group">Group.</param>
 /// <param name="Type">Type.</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="TimeZone">TimeZone.</param>
 /// <param name="Contact">Contact.</param>
 /// <param name="Notes">Notes.</param>
 /// <param name="Active">Active.</param>
 /// <param name="_Client">_Client.</param>
 /// <param name="Geo">Geo.</param>
 /// <param name="Attributes">Attributes.</param>
 /// <param name="Actions">Actions.</param>
 public StoredLocation(int?Id = default(int?), string Name = default(string), Company Company = default(Company), LocationGroup Group = default(LocationGroup), LocationType Type = default(LocationType), string Address1 = default(string), string Address2 = default(string), string City = default(string), string State = default(string), string Zip = default(string), string Country = default(string), TimeZone TimeZone = default(TimeZone), Contact Contact = default(Contact), LocationNotes Notes = default(LocationNotes), bool?Active = default(bool?), Company _Client = default(Company), Coords Geo = default(Coords), List <LocationAttribute> Attributes = default(List <LocationAttribute>), List <ActionsEnum> Actions = default(List <ActionsEnum>))
 {
     this.Id         = Id;
     this.Name       = Name;
     this.Company    = Company;
     this.Group      = Group;
     this.Type       = Type;
     this.Address1   = Address1;
     this.Address2   = Address2;
     this.City       = City;
     this.State      = State;
     this.Zip        = Zip;
     this.Country    = Country;
     this.TimeZone   = TimeZone;
     this.Contact    = Contact;
     this.Notes      = Notes;
     this.Active     = Active;
     this._Client    = _Client;
     this.Geo        = Geo;
     this.Attributes = Attributes;
     this.Actions    = Actions;
 }