Class Device
A Device
[DataContract]
public class Device : NamedItem
- Inheritance
-
Device
- Derived
- Inherited Members
- Extension Methods
Fields
MaxAddressLength
public const int MaxAddressLength = 255
Field Value
Properties
Address
The address of a device
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "address")]
public string? Address { get; set; }
Property Value
BeaconIdParams
Readonly: The beacon ID parameters
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "beaconIdParams")]
public BeaconIdParams? BeaconIdParams { get; set; }
Property Value
BleParams
bleParams - Undocumented but returned in live data
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "bleParams")]
public DeviceBleParams? BleParams { get; set; }
Property Value
ConfigurationUpdatedAt
When the configuration was last updated
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "configurationUpdatedAt")]
public DateTime? ConfigurationUpdatedAt { get; set; }
Property Value
Details
Device Details
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "details")]
public List<DeviceDetail>? Details { get; set; }
Property Value
Firmware
Readonly: The firmware version of a device
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "firmware")]
public string? Firmware { get; set; }
Property Value
FloorPlanId
The floor plan to associate to this device. null disassociates the device from the floorplan.
[ApiForeignKey(typeof(FloorPlan))]
[DataMember(Name = "floorPlanId")]
[JsonProperty(NullValueHandling = NullValueHandling.Include)]
public string? FloorPlanId { get; set; }
Property Value
Imei
Imei
[Obsolete("Removed in Meraki API v1.46")]
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "imei")]
public string? Imei { get; set; }
Property Value
LanIp
Readonly: The LAN IP address
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "lanIp")]
public string? LanIp { get; set; }
Property Value
Latitude
The latitude of a device
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "lat")]
public double? Latitude { get; set; }
Property Value
Longitude
The longitude of a device
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "lng")]
public double? Longitude { get; set; }
Property Value
Mac
ReadOnly: The MAC address of a device
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "mac")]
public string? Mac { get; set; }
Property Value
Model
ReadOnly: The model of a device
[ApiForeignKey(typeof(Device))]
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "model")]
public string? Model { get; set; }
Property Value
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. Only used when sending updates
[ApiAccess(ApiAccess.Update)]
[DataMember(Name = "moveMapMarker")]
public bool? MoveMapMarker { get; set; }
Property Value
- bool?
NetworkId
ReadOnly: The Network Id of a device
[ApiAccess(ApiAccess.Read)]
[ApiForeignKey(typeof(Network))]
[DataMember(Name = "networkId")]
public string? NetworkId { get; set; }
Property Value
Notes
The notes for the device. String. Limited to 255 characters.
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "notes")]
public string? Notes { get; set; }
Property Value
ProductType
Product type of the device
[Obsolete("Removed in Meraki API v1.46")]
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "productType")]
public string? ProductType { get; set; }
Property Value
Serial
ReadOnly: The Serial of a device
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "serial")]
public string? Serial { get; set; }
Property Value
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.
[ApiAccess(ApiAccess.ReadUpdate)]
[ApiForeignKey(typeof(SwitchProfile))]
[DataMember(Name = "switchProfileId")]
public string? SwitchProfileId { get; set; }
Property Value
Tags
The list of tags of a device
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "tags")]
public List<string>? Tags { get; set; }
Property Value
Url
Readonly: URL
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "url")]
public string? Url { get; set; }
Property Value
Wan1Ip
Readonly: WAN 1 IP address
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "wan1Ip")]
public string? Wan1Ip { get; set; }
Property Value
Wan2Ip
Readonly: WAN 2 IP address
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "wan2Ip")]
public string? Wan2Ip { get; set; }
Property Value
WirelessMac
Readonly: Wireless MAC address
[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "wirelessMac")]
public string? WirelessMac { get; set; }