Klasse SharePermissionInputBean
java.lang.Object
io.github.primelib.jira4j.restv2.model.SharePermissionInputBean
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SharePermissionInputBean
extends Object
SharePermissionInputBean
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
static enum
The type of the share permission.Specify the type as follows: *user
Share with a user. -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected String
The user account ID that the filter is shared with.protected String
The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.protected String
The name of the group to share the filter with.protected String
The ID of the project to share the filter with.protected String
The ID of the project role to share the filter with.protected Integer
The rights for the share permission.protected SharePermissionInputBean.TypeEnum
The type of the share permission.Specify the type as follows: *user
Share with a user. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
SharePermissionInputBean
(String accountId, String groupId, String groupname, String projectId, String projectRoleId, Integer rights, SharePermissionInputBean.TypeEnum type) Constructs a validated instance ofSharePermissionInputBean
.Constructs a validated instance ofSharePermissionInputBean
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe user account ID that the filter is shared with.The user account ID that the filter is shared with.builder()
protected boolean
boolean
groupId()
The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.The name of the group to share the filter with.The name of the group to share the filter with.int
hashCode()
The ID of the project to share the filter with.The ID of the project to share the filter with.The ID of the project role to share the filter with.projectRoleId
(String projectRoleId) The ID of the project role to share the filter with.rights()
The rights for the share permission.The rights for the share permission.toString()
type()
The type of the share permission.Specify the type as follows: *user
Share with a user.The type of the share permission.Specify the type as follows: *user
Share with a user.
-
Felddetails
-
accountId
The user account ID that the filter is shared with. For a request, specify theaccountId
property for the user. -
groupId
The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*. Cannot be provided withgroupname
. -
groupname
The name of the group to share the filter with. Settype
togroup
. Please note that the name of a group is mutable, to reliably identify a group usegroupId
. -
projectId
The ID of the project to share the filter with. Settype
toproject
. -
projectRoleId
The ID of the project role to share the filter with. Settype
toprojectRole
and theprojectId
for the project that the role is in. -
rights
The rights for the share permission. -
type
The type of the share permission.Specify the type as follows: *user
Share with a user. *group
Share with a group. Specifygroupname
as well. *project
Share with a project. SpecifyprojectId
as well. *projectRole
Share with a project role in a project. SpecifyprojectId
andprojectRoleId
as well. *global
Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. *authenticated
Share with all logged-in users. This shows asloggedin
in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.
-
-
Konstruktordetails
-
SharePermissionInputBean
Constructs a validated instance ofSharePermissionInputBean
.- Parameter:
spec
- the specification to process
-
SharePermissionInputBean
protected SharePermissionInputBean()
-
-
Methodendetails
-
builder
-
accountId
The user account ID that the filter is shared with. For a request, specify theaccountId
property for the user. -
groupId
The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*. Cannot be provided withgroupname
. -
groupname
The name of the group to share the filter with. Settype
togroup
. Please note that the name of a group is mutable, to reliably identify a group usegroupId
. -
projectId
The ID of the project to share the filter with. Settype
toproject
. -
projectRoleId
The ID of the project role to share the filter with. Settype
toprojectRole
and theprojectId
for the project that the role is in. -
rights
The rights for the share permission. -
type
The type of the share permission.Specify the type as follows: *user
Share with a user. *group
Share with a group. Specifygroupname
as well. *project
Share with a project. SpecifyprojectId
as well. *projectRole
Share with a project role in a project. SpecifyprojectId
andprojectRoleId
as well. *global
Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. *authenticated
Share with all logged-in users. This shows asloggedin
in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. -
accountId
The user account ID that the filter is shared with. For a request, specify theaccountId
property for the user.- Gibt zurück:
this
.
-
groupId
The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*. Cannot be provided withgroupname
.- Gibt zurück:
this
.
-
groupname
The name of the group to share the filter with. Settype
togroup
. Please note that the name of a group is mutable, to reliably identify a group usegroupId
.- Gibt zurück:
this
.
-
projectId
The ID of the project to share the filter with. Settype
toproject
.- Gibt zurück:
this
.
-
projectRoleId
The ID of the project role to share the filter with. Settype
toprojectRole
and theprojectId
for the project that the role is in.- Gibt zurück:
this
.
-
rights
The rights for the share permission.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-