Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateDeviceRequest" /> class.
 /// </summary>
 /// <param name="existingCollectionId">existingCollectionId.</param>
 /// <param name="deviceId">deviceId.</param>
 /// <param name="collectionId">The collection id for the device. This field is optional and can be omitted if the collection id isn&#39;t changed. When changing to a new collection you must be an owner of the other collection, ie an administrator of the team that owns the new collection..</param>
 /// <param name="imsi">The IMSI is the unique ID for the (e|nu|whatever)SIM card on your device. This is the primary identifier for your device on the network..</param>
 /// <param name="imei">The IMEI number is the unique ID for your hardware as seen by the network. Obviously you might have a completely different view on things..</param>
 /// <param name="tags">Tags are metadata for the device that you can set. These are just strings..</param>
 /// <param name="firmware">firmware.</param>
 public UpdateDeviceRequest(string existingCollectionId = default(string), string deviceId = default(string), string collectionId = default(string), string imsi = default(string), string imei = default(string), Dictionary <string, string> tags = default(Dictionary <string, string>), FirmwareMetadata firmware = default(FirmwareMetadata))
 {
     this.ExistingCollectionId = existingCollectionId;
     this.DeviceId             = deviceId;
     this.CollectionId         = collectionId;
     this.Imsi     = imsi;
     this.Imei     = imei;
     this.Tags     = tags;
     this.Firmware = firmware;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Device" /> class.
 /// </summary>
 /// <param name="deviceId">The device ID is assigned by the backend..</param>
 /// <param name="collectionId">collectionId.</param>
 /// <param name="imsi">The IMSI is the unique ID for the (e|nu|whatever)SIM card on your device. This is the primary identifier for your device on the network..</param>
 /// <param name="imei">The IMEI number is the unique ID for your hardware as seen by the network. Obviously you might have a completely different view on things..</param>
 /// <param name="tags">Tags are metadata for the device that you can set. These are just strings..</param>
 /// <param name="network">network.</param>
 /// <param name="firmware">firmware.</param>
 public Device(string deviceId = default(string), string collectionId = default(string), string imsi = default(string), string imei = default(string), Dictionary <string, string> tags = default(Dictionary <string, string>), NetworkMetadata network = default(NetworkMetadata), FirmwareMetadata firmware = default(FirmwareMetadata))
 {
     this.DeviceId     = deviceId;
     this.CollectionId = collectionId;
     this.Imsi         = imsi;
     this.Imei         = imei;
     this.Tags         = tags;
     this.Network      = network;
     this.Firmware     = firmware;
 }