GroupAttributes class

Constructors

GroupAttributes({required String name, required int? maxUsers, required int? maxLicenses, required int? maxMachines, required DateTime created, required DateTime updated, Map<String, Object> metadata = const {}})
Returns a new GroupAttributes instance.

Properties

created ↔ DateTime
When the group was created.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
maxLicenses ↔ int?
The maximum number of licenses the group can have, collectively. When null, an unlimited number of licenses may be in the group. Must be a number greater than 0.
getter/setter pair
maxMachines ↔ int?
The maximum number of machines the group can have, collectively. When null, an unlimited number of machines may be in the group. Must be a number greater than 0.
getter/setter pair
maxUsers ↔ int?
The maximum number of users the group can have, collectively. When null, an unlimited number of users may be in the group. Must be a number greater than 0.
getter/setter pair
metadata ↔ Map<String, Object>
Object containing group metadata.
getter/setter pair
name ↔ String
The name of the group.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updated ↔ DateTime
When the group was last updated.
getter/setter pair

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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → GroupAttributes?
Returns a new GroupAttributes instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GroupAttributes>
mapFromJson(dynamic json) → Map<String, GroupAttributes>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GroupAttributes>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.