OrgTokenArgs class
The set of arguments for OrgToken. The set of arguments for OrgToken.
Constructors
-
OrgTokenArgs({required Input<
bool> admin, required Input<String> description, required Input<int> expires, required Input<String> name, required Input<String> orgName, Input<String> ? reason, Input<String> ? roleID}) -
Creates a new OrgTokenArgs.
adminWhether the entity has admin privilegesdescriptionThe descriptionexpiresThe expiration timenameThe nameorgNameThe organization namereasonAudit log reason for creating this tokenroleIDThe role identifierconst -
OrgTokenArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
admin
→ Input<
bool> -
Whether the entity has admin privileges
final
-
description
→ Input<
String> -
The description
final
-
expires
→ Input<
int> -
The expiration time
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> -
The name
final
-
orgName
→ Input<
String> -
The organization name
final
-
reason
→ Input<
String> ? -
Audit log reason for creating this token
final
-
roleID
→ Input<
String> ? -
The role identifier
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited