コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Line" /> class.
 /// </summary>
 /// <param name="Name">The name of the entity. (required).</param>
 /// <param name="Description">The resource&#39;s description..</param>
 /// <param name="Version">The current version of the resource..</param>
 /// <param name="DateCreated">The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DateModified">The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ModifiedBy">The ID of the user that last modified the resource..</param>
 /// <param name="CreatedBy">The ID of the user that created the resource..</param>
 /// <param name="ModifiedByApp">The application that last modified the resource..</param>
 /// <param name="CreatedByApp">The application that created the resource..</param>
 /// <param name="Properties">Properties.</param>
 /// <param name="EdgeGroup">EdgeGroup.</param>
 /// <param name="Template">Template.</param>
 /// <param name="Site">Site.</param>
 /// <param name="LineBaseSettings">LineBaseSettings.</param>
 /// <param name="PrimaryEdge">The primary edge associated to the line. (Deprecated).</param>
 /// <param name="SecondaryEdge">The secondary edge associated to the line. (Deprecated).</param>
 /// <param name="LoggedInUser">LoggedInUser.</param>
 /// <param name="DefaultForUser">DefaultForUser.</param>
 public Line(string Name = null, string Description = null, int?Version = null, DateTime?DateCreated = null, DateTime?DateModified = null, string ModifiedBy = null, string CreatedBy = null, string ModifiedByApp = null, string CreatedByApp = null, Dictionary <string, Object> Properties = null, DomainEntityRef EdgeGroup = null, DomainEntityRef Template = null, DomainEntityRef Site = null, DomainEntityRef LineBaseSettings = null, Edge PrimaryEdge = null, Edge SecondaryEdge = null, DomainEntityRef LoggedInUser = null, DomainEntityRef DefaultForUser = null)
 {
     this.Name             = Name;
     this.Description      = Description;
     this.Version          = Version;
     this.DateCreated      = DateCreated;
     this.DateModified     = DateModified;
     this.ModifiedBy       = ModifiedBy;
     this.CreatedBy        = CreatedBy;
     this.ModifiedByApp    = ModifiedByApp;
     this.CreatedByApp     = CreatedByApp;
     this.Properties       = Properties;
     this.EdgeGroup        = EdgeGroup;
     this.Template         = Template;
     this.Site             = Site;
     this.LineBaseSettings = LineBaseSettings;
     this.PrimaryEdge      = PrimaryEdge;
     this.SecondaryEdge    = SecondaryEdge;
     this.LoggedInUser     = LoggedInUser;
     this.DefaultForUser   = DefaultForUser;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Phone" /> class.
 /// </summary>
 /// <param name="Name">The name of the entity. (required).</param>
 /// <param name="Description">The resource&#39;s description..</param>
 /// <param name="Version">The current version of the resource..</param>
 /// <param name="DateCreated">The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DateModified">The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ModifiedBy">The ID of the user that last modified the resource..</param>
 /// <param name="CreatedBy">The ID of the user that created the resource..</param>
 /// <param name="ModifiedByApp">The application that last modified the resource..</param>
 /// <param name="CreatedByApp">The application that created the resource..</param>
 /// <param name="Site">The site associated to the phone. (required).</param>
 /// <param name="PhoneBaseSettings">Phone Base Settings (required).</param>
 /// <param name="LineBaseSettings">LineBaseSettings.</param>
 /// <param name="PhoneMetaBase">PhoneMetaBase.</param>
 /// <param name="Lines">Lines (required).</param>
 /// <param name="Status">The status of the phone and lines from the primary Edge..</param>
 /// <param name="SecondaryStatus">The status of the phone and lines from the secondary Edge..</param>
 /// <param name="UserAgentInfo">User Agent Information for this phone. This includes model, firmware version, and manufacturer..</param>
 /// <param name="Properties">Properties.</param>
 /// <param name="Capabilities">Capabilities.</param>
 /// <param name="WebRtcUser">This is the user associated with a WebRTC type phone.  It is required for all WebRTC phones..</param>
 /// <param name="PrimaryEdge">PrimaryEdge.</param>
 /// <param name="SecondaryEdge">SecondaryEdge.</param>
 public Phone(string Name = null, string Description = null, int?Version = null, DateTime?DateCreated = null, DateTime?DateModified = null, string ModifiedBy = null, string CreatedBy = null, string ModifiedByApp = null, string CreatedByApp = null, DomainEntityRef Site = null, DomainEntityRef PhoneBaseSettings = null, DomainEntityRef LineBaseSettings = null, DomainEntityRef PhoneMetaBase = null, List <Line> Lines = null, PhoneStatus Status = null, PhoneStatus SecondaryStatus = null, UserAgentInfo UserAgentInfo = null, Dictionary <string, Object> Properties = null, PhoneCapabilities Capabilities = null, DomainEntityRef WebRtcUser = null, Edge PrimaryEdge = null, Edge SecondaryEdge = null)
 {
     this.Name              = Name;
     this.Description       = Description;
     this.Version           = Version;
     this.DateCreated       = DateCreated;
     this.DateModified      = DateModified;
     this.ModifiedBy        = ModifiedBy;
     this.CreatedBy         = CreatedBy;
     this.ModifiedByApp     = ModifiedByApp;
     this.CreatedByApp      = CreatedByApp;
     this.Site              = Site;
     this.PhoneBaseSettings = PhoneBaseSettings;
     this.LineBaseSettings  = LineBaseSettings;
     this.PhoneMetaBase     = PhoneMetaBase;
     this.Lines             = Lines;
     this.Status            = Status;
     this.SecondaryStatus   = SecondaryStatus;
     this.UserAgentInfo     = UserAgentInfo;
     this.Properties        = Properties;
     this.Capabilities      = Capabilities;
     this.WebRtcUser        = WebRtcUser;
     this.PrimaryEdge       = PrimaryEdge;
     this.SecondaryEdge     = SecondaryEdge;
 }