Class GetMyPermissionsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetMyPermissionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetMyPermissionsOperationSpec
extends Object
GetMyPermissionsSpec
Specification for the GetMyPermissions operation.
Get my permissions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetMyPermissionsOperationSpec(String projectKey, String projectId, String issueKey, String issueId, String permissions, String projectUuid, String projectConfigurationUuid, String commentId) Constructs a validated instance ofGetMyPermissionsOperationSpec.Constructs a validated instance ofGetMyPermissionsOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@Nullable StringThe ID of the comment.The ID of the comment.booleaninthashCode()@Nullable StringissueId()The ID of the issue.The ID of the issue.@Nullable StringissueKey()The key of the issue.The key of the issue.@Nullable StringA list of permission keys.permissions(@Nullable String permissions) A list of permission keys.@Nullable StringprojectConfigurationUuid(@Nullable String projectConfigurationUuid) @Nullable StringThe ID of project.The ID of project.@Nullable StringThe key of project.projectKey(@Nullable String projectKey) The key of project.@Nullable StringprojectUuid(@Nullable String projectUuid) toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetMyPermissionsOperationSpec
Constructs a validated instance ofGetMyPermissionsOperationSpec.- Parameters:
spec- the specification to process
-
GetMyPermissionsOperationSpec
@Internal public GetMyPermissionsOperationSpec(String projectKey, String projectId, String issueKey, String issueId, String permissions, String projectUuid, String projectConfigurationUuid, String commentId) Constructs a validated instance ofGetMyPermissionsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectKey- The key of project. Ignored ifprojectIdis provided.projectId- The ID of project.issueKey- The key of the issue. Ignored ifissueIdis provided.issueId- The ID of the issue.permissions- A list of permission keys. (Required) This parameter accepts a comma-separated list. To get the list of available permissions, use [Get all permissions](#api-rest-api-3-permissions-get).projectUuid-projectConfigurationUuid-commentId- The ID of the comment.
-
GetMyPermissionsOperationSpec
protected GetMyPermissionsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectKey
The key of project. Ignored ifprojectIdis provided. -
projectId
The ID of project. -
issueKey
The key of the issue. Ignored ifissueIdis provided. -
issueId
The ID of the issue. -
permissions
A list of permission keys. (Required) This parameter accepts a comma-separated list. To get the list of available permissions, use [Get all permissions](#api-rest-api-3-permissions-get). -
projectUuid
-
projectConfigurationUuid
-
commentId
The ID of the comment. -
projectKey
The key of project. Ignored ifprojectIdis provided.- Returns:
this.
-
projectId
The ID of project.- Returns:
this.
-
issueKey
The key of the issue. Ignored ifissueIdis provided.- Returns:
this.
-
issueId
The ID of the issue.- Returns:
this.
-
permissions
A list of permission keys. (Required) This parameter accepts a comma-separated list. To get the list of available permissions, use [Get all permissions](#api-rest-api-3-permissions-get).- Returns:
this.
-
projectUuid
- Returns:
this.
-
projectConfigurationUuid
public GetMyPermissionsOperationSpec projectConfigurationUuid(@Nullable @Nullable String projectConfigurationUuid) - Returns:
this.
-
commentId
The ID of the comment.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-