SharePermission class
Details of a share permission for the filter.
Constructors
-
factory
Properties
- group → GroupName?
-
The group that the filter is shared with. For a request, specify the
groupId
orname
property for the group. As a group's name can change, use ofgroupId
is recommended.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
The unique identifier of the share permission.
final
- project → Project?
-
The project that the filter is shared with. This is similar to the project
object returned by
Get project but it contains
a subset of the properties, which are:
self
,id
,key
,assigneeType
,name
,roles
,avatarUrls
,projectType
,simplified
. For a request, specify theid
for the project.final - role → ProjectRole?
-
The project role that the filter is shared with.
For a request, specify the
id
for the role. You must also specify theproject
object andid
for the project that the role is in.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → SharePermissionType
-
The type of share permission:
final
- user → UserBean?
-
The user account ID that the filter is shared with. For a request, specify
the
accountId
property for the user.final
Methods
-
copyWith(
{GroupName? group, int? id, Project? project, ProjectRole? role, SharePermissionType? type, UserBean? user}) → SharePermission -
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