Class DeviceUpdateRequest
UpdateNetworkDevice
[DataContract]
public class DeviceUpdateRequest
- Inheritance
-
DeviceUpdateRequest
- Inherited Members
Properties
Address
The address of a device
[DataMember(Name = "address")]
public string Address { get; set; }
Property Value
- string
The address of a device
FloorPlanId
The floor plan to associate to this device. null disassociates the device from the floorplan.
[DataMember(Name = "floorPlanId")]
public string? FloorPlanId { get; set; }
Property Value
- string
The floor plan to associate to this device. null disassociates the device from the floorplan.
Lat
The latitude of a device
[DataMember(Name = "lat")]
public double? Lat { get; set; }
Property Value
- double?
The latitude of a device
Lng
The longitude of a device
[DataMember(Name = "lng")]
public double? Lng { get; set; }
Property Value
- double?
The longitude of a device
MoveMapMarker
Whether or not to set the latitude and longitude of a device based on the new address. Only applies when lat and lng are not specified.
[DataMember(Name = "moveMapMarker")]
public bool? MoveMapMarker { get; set; }
Property Value
- bool?
Whether or not to set the latitude and longitude of a device based on the new address. Only applies when lat and lng are not specified.
Name
The name of a device
[DataMember(Name = "name")]
public string Name { get; set; }
Property Value
- string
The name of a device
Notes
The notes for the device. String. Limited to 255 characters.
[DataMember(Name = "notes")]
public string Notes { get; set; }
Property Value
- string
The notes for the device. String. Limited to 255 characters.
SwitchProfileId
The ID of a switch profile to bind to the device (for available switch profiles, see the 'Switch Profiles' endpoint). Use null to unbind the switch device from the current profile. For a device to be bindable to a switch profile, it must (1) be a switch, and (2) belong to a network that is bound to a configuration template.
[DataMember(Name = "switchProfileId")]
public string? SwitchProfileId { get; set; }
Property Value
- string
The ID of a switch profile to bind to the device (for available switch profiles, see the 'Switch Profiles' endpoint). Use null to unbind the switch device from the current profile. For a device to be bindable to a switch profile, it must (1) be a switch, and (2) belong to a network that is bound to a configuration template.
Tags
The tags of a device
[DataMember(Name = "tags")]
public List<string> Tags { get; set; }