Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationDefinition" /> class.
 /// </summary>
 /// <param name="Name">The name of the Location. (required).</param>
 /// <param name="Address">Address.</param>
 /// <param name="AddressVerified">AddressVerified.</param>
 /// <param name="EmergencyNumber">EmergencyNumber.</param>
 /// <param name="State">Current activity status of the location..</param>
 /// <param name="Version">Version.</param>
 /// <param name="Path">Path.</param>
 public LocationDefinition(string Name = null, LocationAddress Address = null, bool?AddressVerified = null, LocationEmergencyNumber EmergencyNumber = null, StateEnum?State = null, int?Version = null, List <string> Path = null)
 {
     this.Name            = Name;
     this.Address         = Address;
     this.AddressVerified = AddressVerified;
     this.EmergencyNumber = EmergencyNumber;
     this.State           = State;
     this.Version         = Version;
     this.Path            = Path;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationDefinition" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="ContactUser">Site contact for the location entity.</param>
 /// <param name="EmergencyNumber">Emergency number for the location entity.</param>
 /// <param name="Address">Address.</param>
 /// <param name="State">Current state of the location entity.</param>
 /// <param name="Notes">Notes for the location entity.</param>
 /// <param name="Version">Current version of the location entity, value to be supplied should be retrieved by a GET or on create/update response.</param>
 /// <param name="Images">Images.</param>
 public LocationDefinition(string Name = null, AddressableEntityRef ContactUser = null, LocationEmergencyNumber EmergencyNumber = null, LocationAddress Address = null, StateEnum?State = null, string Notes = null, int?Version = null, string Images = null)
 {
     this.Name            = Name;
     this.ContactUser     = ContactUser;
     this.EmergencyNumber = EmergencyNumber;
     this.Address         = Address;
     this.State           = State;
     this.Notes           = Notes;
     this.Version         = Version;
     this.Images          = Images;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationUpdateDefinition" /> class.
 /// </summary>
 /// <param name="Name">The name of the Location. Required for creates, not required for updates (required).</param>
 /// <param name="Version">Current version of the location (required).</param>
 /// <param name="State">Current activity status of the location..</param>
 /// <param name="Path">A list of ancestor ids.</param>
 /// <param name="Notes">Notes for the location.</param>
 /// <param name="ContactUser">The user id of the location contact.</param>
 /// <param name="EmergencyNumber">Emergency number for the location.</param>
 /// <param name="Address">Address of the location.</param>
 public LocationUpdateDefinition(string Name = null, int?Version = null, StateEnum?State = null, List <string> Path = null, string Notes = null, string ContactUser = null, LocationEmergencyNumber EmergencyNumber = null, LocationAddress Address = null)
 {
     this.Name            = Name;
     this.Version         = Version;
     this.State           = State;
     this.Path            = Path;
     this.Notes           = Notes;
     this.ContactUser     = ContactUser;
     this.EmergencyNumber = EmergencyNumber;
     this.Address         = Address;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationDefinition" /> class.
 /// </summary>
 /// <param name="Name">The name of the Location. (required).</param>
 /// <param name="ContactUser">Site contact for the location.</param>
 /// <param name="EmergencyNumber">EmergencyNumber.</param>
 /// <param name="Address">Address.</param>
 /// <param name="AddressVerified">AddressVerified.</param>
 /// <param name="State">Current activity status of the location..</param>
 /// <param name="Notes">Notes.</param>
 /// <param name="Version">Version.</param>
 /// <param name="Path">A list of ancestor IDs in order.</param>
 /// <param name="ProfileImage">Profile image set for the location.</param>
 /// <param name="FloorplanImage">FloorplanImage.</param>
 public LocationDefinition(string Name = null, AddressableEntityRef ContactUser = null, LocationEmergencyNumber EmergencyNumber = null, LocationAddress Address = null, bool?AddressVerified = null, StateEnum?State = null, string Notes = null, int?Version = null, List <string> Path = null, List <LocationImage> ProfileImage = null, List <LocationImage> FloorplanImage = null)
 {
     this.Name            = Name;
     this.ContactUser     = ContactUser;
     this.EmergencyNumber = EmergencyNumber;
     this.Address         = Address;
     this.AddressVerified = AddressVerified;
     this.State           = State;
     this.Notes           = Notes;
     this.Version         = Version;
     this.Path            = Path;
     this.ProfileImage    = ProfileImage;
     this.FloorplanImage  = FloorplanImage;
 }