ResourceAttribute class

Attribute associated with a resource.

Note the corresponding format required per type listed below:

IPV4
x.x.x.x

where x is an integer in the range 0,255

IPV6
y : y : y : y : y : y : y : y

where y is a hexadecimal between 0 and FFFF. 0, FFFF

MAC_ADDRESS
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$
FQDN
^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$

Constructors

ResourceAttribute({required ResourceAttributeType type, required String value})
ResourceAttribute.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ResourceAttributeType
Type of resource.
final
value String
Value of the resource type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited