コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeviceProfileResponse" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="metadata">Additional information about the device profile, limited to 10 entries..</param>
 /// <param name="restrictions">restrictions.</param>
 /// <param name="migrationStatus">migrationStatus (required) (default to MigrationStatusEnum.NOTMIGRATED).</param>
 /// <param name="status">status.</param>
 /// <param name="preferences">preferences.</param>
 /// <param name="components">components.</param>
 public DeviceProfileResponse(string id = default(string), string name = default(string), Dictionary <string, string> metadata = default(Dictionary <string, string>), DeviceRestriction restrictions = default(DeviceRestriction), MigrationStatusEnum migrationStatus = MigrationStatusEnum.NOTMIGRATED, DeviceProfileStatus?status = default(DeviceProfileStatus?), List <PreferenceResponse> preferences = default(List <PreferenceResponse>), List <DeviceComponent> components = default(List <DeviceComponent>))
 {
     this.MigrationStatus = migrationStatus;
     this.Id           = id;
     this.Name         = name;
     this.Metadata     = metadata;
     this.Restrictions = restrictions;
     this.Status       = status;
     this.Preferences  = preferences;
     this.Components   = components;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeviceProfileBase" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="metadata">Additional information about the device profile, limited to 10 entries..</param>
 /// <param name="restrictions">restrictions.</param>
 public DeviceProfileBase(string id = default(string), string name = default(string), Dictionary <string, string> metadata = default(Dictionary <string, string>), DeviceRestriction restrictions = default(DeviceRestriction))
 {
     this.Id           = id;
     this.Name         = name;
     this.Metadata     = metadata;
     this.Restrictions = restrictions;
 }