Class SharePermission
java.lang.Object
io.github.primelib.jira4j.restv3.model.SharePermission
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SharePermission
extends Object
SharePermission
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of share permission: *userShared with a user. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GroupNameprotected LongThe unique identifier of the share permission.protected Projectprotected ProjectRoleprotected SharePermission.TypeEnumThe type of share permission: *userShared with a user.protected UserBean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSharePermission(GroupName group, Long id, Project project, ProjectRole role, SharePermission.TypeEnum type, UserBean user) Constructs a validated instance ofSharePermission.Constructs a validated instance ofSharePermission. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangroup()inthashCode()id()The unique identifier of the share permission.The unique identifier of the share permission.project()role()role(ProjectRole role) toString()type()The type of share permission: *userShared with a user.type(SharePermission.TypeEnum type) The type of share permission: *userShared with a user.user()
-
Field Details
-
group
-
id
The unique identifier of the share permission. -
project
-
role
-
type
The type of share permission: *userShared with a user. *groupShared with a group. If set in a request, then specifysharePermission.groupas well. *projectShared with a project. If set in a request, then specifysharePermission.projectas well. *projectRoleShare with a project role in a project. This value is not returned in responses. It is used in requests, where it needs to be specify withprojectIdandprojectRoleId. *globalShared globally. If set in a request, no othersharePermissionproperties need to be specified. *loggedinShared with all logged-in users. Note: This value is set in a request by specifyingauthenticatedas thetype. *project-unknownShared with a project that the user does not have access to. Cannot be set in a request. -
user
-
-
Constructor Details
-
SharePermission
Constructs a validated instance ofSharePermission.- Parameters:
spec- the specification to process
-
SharePermission
protected SharePermission()
-
-
Method Details
-
builder
-
group
-
id
The unique identifier of the share permission. -
project
-
role
-
type
The type of share permission: *userShared with a user. *groupShared with a group. If set in a request, then specifysharePermission.groupas well. *projectShared with a project. If set in a request, then specifysharePermission.projectas well. *projectRoleShare with a project role in a project. This value is not returned in responses. It is used in requests, where it needs to be specify withprojectIdandprojectRoleId. *globalShared globally. If set in a request, no othersharePermissionproperties need to be specified. *loggedinShared with all logged-in users. Note: This value is set in a request by specifyingauthenticatedas thetype. *project-unknownShared with a project that the user does not have access to. Cannot be set in a request. -
user
-
group
- Returns:
this.
-
id
The unique identifier of the share permission.- Returns:
this.
-
project
- Returns:
this.
-
role
- Returns:
this.
-
user
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-