Class GetPermissionSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetPermissionSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetPermissionSchemeOperationSpec
extends Object
GetPermissionSchemeSpec
Specification for the GetPermissionScheme operation.
Get permission scheme
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetPermissionSchemeOperationSpec
(Long schemeId, String expand) Constructs a validated instance ofGetPermissionSchemeOperationSpec
.Constructs a validated instance ofGetPermissionSchemeOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use expand to include additional information in the response.Use expand to include additional information in the response.int
hashCode()
@NotNull Long
schemeId()
The ID of the permission scheme to return.The ID of the permission scheme to return.toString()
void
validate()
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
-
GetPermissionSchemeOperationSpec
Constructs a validated instance ofGetPermissionSchemeOperationSpec
.- Parameters:
spec
- the specification to process
-
GetPermissionSchemeOperationSpec
Constructs a validated instance ofGetPermissionSchemeOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
schemeId
- The ID of the permission scheme to return.expand
- Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: *all
Returns all expandable information. *field
Returns information about the custom field granted the permission. *group
Returns information about the group that is granted the permission. *permissions
Returns all permission grants for each permission scheme. *projectRole
Returns information about the project role granted the permission. *user
Returns information about the user who is granted the permission.
-
GetPermissionSchemeOperationSpec
protected GetPermissionSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
schemeId
The ID of the permission scheme to return. -
expand
Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: *all
Returns all expandable information. *field
Returns information about the custom field granted the permission. *group
Returns information about the group that is granted the permission. *permissions
Returns all permission grants for each permission scheme. *projectRole
Returns information about the project role granted the permission. *user
Returns information about the user who is granted the permission. -
schemeId
The ID of the permission scheme to return.- Returns:
this
.
-
expand
Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: *all
Returns all expandable information. *field
Returns information about the custom field granted the permission. *group
Returns information about the group that is granted the permission. *permissions
Returns all permission grants for each permission scheme. *projectRole
Returns information about the project role granted the permission. *user
Returns information about the user who is granted the permission.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-