ApplicationRole class
Details of an application role.
Constructors
-
ApplicationRole({List<
String> ? defaultGroups, List<GroupName> ? defaultGroupsDetails, bool? defined, List<GroupName> ? groupDetails, List<String> ? groups, bool? hasUnlimitedSeats, String? key, String? name, int? numberOfSeats, bool? platform, int? remainingSeats, bool? selectedByDefault, int? userCount, String? userCountDescription}) -
ApplicationRole.fromJson(Map<
String, Object?> json) -
factory
Properties
-
defaultGroups
→ List<
String> -
The groups that are granted default access for this application role. As a
group's name can change, use of
defaultGroupsDetails
is recommended to identify a groups.final -
defaultGroupsDetails
→ List<
GroupName> -
The groups that are granted default access for this application role.
final
- defined → bool
-
Deprecated.
final
-
groupDetails
→ List<
GroupName> -
The groups associated with the application role.
final
-
groups
→ List<
String> -
The groups associated with the application role. As a group's name can
change, use of
groupDetails
is recommended to identify a groups.final - hashCode → int
-
The hash code for this object.
no setterinherited
- hasUnlimitedSeats → bool
-
final
- key → String?
-
The key of the application role.
final
- name → String?
-
The display name of the application role.
final
- numberOfSeats → int?
-
The maximum count of users on your license.
final
- platform → bool
-
Indicates if the application role belongs to Jira platform (
jira-core
).final - remainingSeats → int?
-
The count of users remaining on your license.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedByDefault → bool
-
Determines whether this application role should be selected by default on
user creation.
final
- userCount → int?
-
The number of users counting against your license.
final
- userCountDescription → String?
-
The type of users being
counted against your license.
final
Methods
-
copyWith(
{List< String> ? defaultGroups, List<GroupName> ? defaultGroupsDetails, bool? defined, List<GroupName> ? groupDetails, List<String> ? groups, bool? hasUnlimitedSeats, String? key, String? name, int? numberOfSeats, bool? platform, int? remainingSeats, bool? selectedByDefault, int? userCount, String? userCountDescription}) → ApplicationRole -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited