MACAddressDeviceRegistration
A DeviceRegistration for devices which have a MAC address.
Represents an IEEE 802 48-bit media access control address (MAC address); a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment.
This is equivalent to the EUI-48 identifier.
- Inheritance
-
- Object
- Serializable
- DeviceRegistration
- MACAddressDeviceRegistration
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
MACAddressDeviceRegistration.fromJson
MACAddressDeviceRegistration
Create a new MACAddressDeviceRegistration with a unique MAC macAddress. If deviceId is not specified, macAddress is used.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
macAddress
getter/setter pair
The MAC address, represented according to the recommended IEEE 802 standard notation. Six groups of two upper case hexadecimal digits, separated by hyphens (-).
Methods
toJson
Return a JSON encoding of this object.