GrantRoleArgs class
The set of arguments for GrantRole. The set of arguments for GrantRole.
Constructors
-
GrantRoleArgs({required Input<
String> grantRole, required Input<String> role, Input<bool> ? withAdminOption}) -
Creates a new GrantRoleArgs.
grantRoleThe name of the role that is added torole.roleThe name of the role that is granted a new membership.withAdminOptionGiving ability to grant membership to others or not forrole. (Default: false)const -
GrantRoleArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
grantRole
→ Input<
String> -
The name of the role that is added to
role.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
role
→ Input<
String> -
The name of the role that is granted a new membership.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
withAdminOption
→ Input<
bool> ? -
Giving ability to grant membership to others or not for
role. (Default: false)final
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