コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="User" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="FirstName">FirstName.</param>
 /// <param name="LastName">LastName.</param>
 /// <param name="Address">Address.</param>
 /// <param name="City">City.</param>
 /// <param name="State">State.</param>
 /// <param name="Zip">Zip.</param>
 /// <param name="Country">Country.</param>
 /// <param name="Thumbnail">Thumbnail.</param>
 /// <param name="Created">Created.</param>
 /// <param name="WorkerCompensation">WorkerCompensation.</param>
 /// <param name="TimeZone">TimeZone.</param>
 /// <param name="Request">Request.</param>
 /// <param name="Route">Route.</param>
 /// <param name="Website">Website.</param>
 /// <param name="Coords">Coords.</param>
 /// <param name="Protec">Protec.</param>
 /// <param name="Marketplace">Marketplace.</param>
 /// <param name="Routable">Routable.</param>
 /// <param name="Assigned">Assigned.</param>
 /// <param name="Unassignable">Unassignable.</param>
 /// <param name="WorkOrder">WorkOrder.</param>
 /// <param name="PreviousRequest">PreviousRequest.</param>
 /// <param name="PreviousAssignment">PreviousAssignment.</param>
 /// <param name="BackgroundChecks">BackgroundChecks.</param>
 /// <param name="DrugTests">DrugTests.</param>
 /// <param name="UpcomingSchedule">UpcomingSchedule.</param>
 /// <param name="WorkedWith">WorkedWith.</param>
 /// <param name="Jobs">Jobs.</param>
 /// <param name="Managed">Managed.</param>
 /// <param name="Rating">Rating.</param>
 /// <param name="Company">Company.</param>
 /// <param name="_Client">_Client.</param>
 /// <param name="Role">Role.</param>
 /// <param name="LastActive">LastActive.</param>
 /// <param name="Email">Email.</param>
 /// <param name="Phone">Phone.</param>
 /// <param name="PreferredGroups">PreferredGroups.</param>
 /// <param name="About">About.</param>
 /// <param name="Tagline">Tagline.</param>
 /// <param name="Block">Block.</param>
 /// <param name="TypesOfWork">TypesOfWork.</param>
 /// <param name="Experience">Experience.</param>
 /// <param name="Certifications">Certifications.</param>
 /// <param name="Notes">Notes.</param>
 /// <param name="Licenses">Licenses.</param>
 /// <param name="CorrelationId">CorrelationId.</param>
 /// <param name="Education">Education.</param>
 public User(int?Id = default(int?), string FirstName = default(string), string LastName = default(string), string Address = default(string), string City = default(string), string State = default(string), string Zip = default(string), string Country = default(string), string Thumbnail = default(string), DateTime?Created = default(DateTime?), bool?WorkerCompensation = default(bool?), TimeZone TimeZone = default(TimeZone), Request Request = default(Request), Route Route = default(Route), string Website = default(string), Coords Coords = default(Coords), bool?Protec = default(bool?), bool?Marketplace = default(bool?), bool?Routable = default(bool?), bool?Assigned = default(bool?), bool?Unassignable = default(bool?), WorkOrder WorkOrder = default(WorkOrder), UserPreviousRequest PreviousRequest = default(UserPreviousRequest), UserPreviousAssignment PreviousAssignment = default(UserPreviousAssignment), List <BackgroundCheck> BackgroundChecks = default(List <BackgroundCheck>), List <DrugTest> DrugTests = default(List <DrugTest>), List <UserUpcomingSchedule> UpcomingSchedule = default(List <UserUpcomingSchedule>), bool?WorkedWith = default(bool?), UserJobs Jobs = default(UserJobs), bool?Managed = default(bool?), UserRating Rating = default(UserRating), UserCompany Company = default(UserCompany), Company _Client = default(Company), string Role = default(string), DateTime?LastActive = default(DateTime?), string Email = default(string), string Phone = default(string), UserPreferredGroups PreferredGroups = default(UserPreferredGroups), string About = default(string), string Tagline = default(string), Block Block = default(Block), TypesOfWork TypesOfWork = default(TypesOfWork), Experiences Experience = default(Experiences), Certifications Certifications = default(Certifications), UserNotes Notes = default(UserNotes), Licenses Licenses = default(Licenses), string CorrelationId = default(string), Educations Education = default(Educations))
 {
     this.Id                 = Id;
     this.FirstName          = FirstName;
     this.LastName           = LastName;
     this.Address            = Address;
     this.City               = City;
     this.State              = State;
     this.Zip                = Zip;
     this.Country            = Country;
     this.Thumbnail          = Thumbnail;
     this.Created            = Created;
     this.WorkerCompensation = WorkerCompensation;
     this.TimeZone           = TimeZone;
     this.Request            = Request;
     this.Route              = Route;
     this.Website            = Website;
     this.Coords             = Coords;
     this.Protec             = Protec;
     this.Marketplace        = Marketplace;
     this.Routable           = Routable;
     this.Assigned           = Assigned;
     this.Unassignable       = Unassignable;
     this.WorkOrder          = WorkOrder;
     this.PreviousRequest    = PreviousRequest;
     this.PreviousAssignment = PreviousAssignment;
     this.BackgroundChecks   = BackgroundChecks;
     this.DrugTests          = DrugTests;
     this.UpcomingSchedule   = UpcomingSchedule;
     this.WorkedWith         = WorkedWith;
     this.Jobs               = Jobs;
     this.Managed            = Managed;
     this.Rating             = Rating;
     this.Company            = Company;
     this._Client            = _Client;
     this.Role               = Role;
     this.LastActive         = LastActive;
     this.Email              = Email;
     this.Phone              = Phone;
     this.PreferredGroups    = PreferredGroups;
     this.About              = About;
     this.Tagline            = Tagline;
     this.Block              = Block;
     this.TypesOfWork        = TypesOfWork;
     this.Experience         = Experience;
     this.Certifications     = Certifications;
     this.Notes              = Notes;
     this.Licenses           = Licenses;
     this.CorrelationId      = CorrelationId;
     this.Education          = Education;
 }