O11yO11yAPIKey class
Constructors
- O11yO11yAPIKey({DateTime? createdAt, int? expiresAt, String? id, DateTime? lastObservedAt, String? name, String? serviceAccountId, DateTime? updatedAt})
- Returns a new O11yO11yAPIKey instance.
Properties
- createdAt ↔ DateTime?
-
CreatedAt is when the key was minted.
getter/setter pair
- expiresAt ↔ int?
-
ExpiresAt is when the key stops working, as a unix timestamp in seconds; zero means never.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
ID is the key id.
getter/setter pair
- lastObservedAt ↔ DateTime?
-
LastObservedAt is when the key was last seen authenticating.
getter/setter pair
- name ↔ String?
-
Name is the key's name.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccountId ↔ String?
-
ServiceAccountID is the account the key belongs to.
getter/setter pair
- updatedAt ↔ DateTime?
-
UpdatedAt is when it last changed.
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) → O11yO11yAPIKey? -
Returns a new O11yO11yAPIKey instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< O11yO11yAPIKey> -
mapFromJson(
dynamic json) → Map< String, O11yO11yAPIKey> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< O11yO11yAPIKey> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.