Class SharePermissionInputBean
java.lang.Object
io.github.primelib.jira4j.restv3.model.SharePermissionInputBean
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SharePermissionInputBean
extends Object
SharePermissionInputBean
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the share permission.Specify the type as follows: *userShare with a user. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe user account ID that the filter is shared with.protected StringThe ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.protected StringThe name of the group to share the filter with.protected StringThe ID of the project to share the filter with.protected StringThe ID of the project role to share the filter with.protected IntegerThe rights for the share permission.protected SharePermissionInputBean.TypeEnumThe type of the share permission.Specify the type as follows: *userShare with a user. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSharePermissionInputBean(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. -
Method Summary
Modifier and TypeMethodDescriptionThe user account ID that the filter is shared with.The user account ID that the filter is shared with.builder()protected booleanbooleangroupId()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.inthashCode()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: *userShare with a user.The type of the share permission.Specify the type as follows: *userShare with a user.
-
Field Details
-
accountId
The user account ID that the filter is shared with. For a request, specify theaccountIdproperty 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. Settypetogroup. 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. Settypetoproject. -
projectRoleId
The ID of the project role to share the filter with. SettypetoprojectRoleand theprojectIdfor 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: *userShare with a user. *groupShare with a group. Specifygroupnameas well. *projectShare with a project. SpecifyprojectIdas well. *projectRoleShare with a project role in a project. SpecifyprojectIdandprojectRoleIdas well. *globalShare 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. *authenticatedShare with all logged-in users. This shows asloggedinin the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.
-
-
Constructor Details
-
SharePermissionInputBean
Constructs a validated instance ofSharePermissionInputBean.- Parameters:
spec- the specification to process
-
SharePermissionInputBean
protected SharePermissionInputBean()
-
-
Method Details
-
builder
-
accountId
The user account ID that the filter is shared with. For a request, specify theaccountIdproperty 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. Settypetogroup. 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. Settypetoproject. -
projectRoleId
The ID of the project role to share the filter with. SettypetoprojectRoleand theprojectIdfor 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: *userShare with a user. *groupShare with a group. Specifygroupnameas well. *projectShare with a project. SpecifyprojectIdas well. *projectRoleShare with a project role in a project. SpecifyprojectIdandprojectRoleIdas well. *globalShare 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. *authenticatedShare with all logged-in users. This shows asloggedinin 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 theaccountIdproperty for the user.- Returns:
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.- Returns:
this.
-
groupname
The name of the group to share the filter with. Settypetogroup. Please note that the name of a group is mutable, to reliably identify a group usegroupId.- Returns:
this.
-
projectId
The ID of the project to share the filter with. Settypetoproject.- Returns:
this.
-
projectRoleId
The ID of the project role to share the filter with. SettypetoprojectRoleand theprojectIdfor the project that the role is in.- Returns:
this.
-
rights
The rights for the share permission.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-