Class UpdatePermissionSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdatePermissionSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdatePermissionSchemeOperationSpec
extends Object
UpdatePermissionSchemeSpec
Specification for the UpdatePermissionScheme operation.
Update permission scheme
-
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
ConstructorsModifierConstructorDescriptionprotectedUpdatePermissionSchemeOperationSpec(Long schemeId, PermissionScheme permissionScheme, String expand) Constructs a validated instance ofUpdatePermissionSchemeOperationSpec.Constructs a validated instance ofUpdatePermissionSchemeOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use expand to include additional information in the response.Use expand to include additional information in the response.inthashCode()@NotNull PermissionSchemepermissionScheme(@NotNull PermissionScheme permissionScheme) @NotNull LongschemeId()The ID of the permission scheme to update.The ID of the permission scheme to update.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
-
UpdatePermissionSchemeOperationSpec
@Internal public UpdatePermissionSchemeOperationSpec(Consumer<UpdatePermissionSchemeOperationSpec> spec) Constructs a validated instance ofUpdatePermissionSchemeOperationSpec.- Parameters:
spec- the specification to process
-
UpdatePermissionSchemeOperationSpec
@Internal public UpdatePermissionSchemeOperationSpec(Long schemeId, PermissionScheme permissionScheme, String expand) Constructs a validated instance ofUpdatePermissionSchemeOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
schemeId- The ID of the permission scheme to update.permissionScheme-expand- Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: *allReturns all expandable information. *fieldReturns information about the custom field granted the permission. *groupReturns information about the group that is granted the permission. *permissionsReturns all permission grants for each permission scheme. *projectRoleReturns information about the project role granted the permission. *userReturns information about the user who is granted the permission.
-
UpdatePermissionSchemeOperationSpec
protected UpdatePermissionSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdatePermissionSchemeOperationSpec.UpdatePermissionSchemeOperationSpecBuilder builder() -
schemeId
The ID of the permission scheme to update. -
permissionScheme
-
expand
Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: *allReturns all expandable information. *fieldReturns information about the custom field granted the permission. *groupReturns information about the group that is granted the permission. *permissionsReturns all permission grants for each permission scheme. *projectRoleReturns information about the project role granted the permission. *userReturns information about the user who is granted the permission. -
schemeId
The ID of the permission scheme to update.- Returns:
this.
-
permissionScheme
public UpdatePermissionSchemeOperationSpec permissionScheme(@NotNull @NotNull PermissionScheme permissionScheme) - Returns:
this.
-
expand
Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: *allReturns all expandable information. *fieldReturns information about the custom field granted the permission. *groupReturns information about the group that is granted the permission. *permissionsReturns all permission grants for each permission scheme. *projectRoleReturns information about the project role granted the permission. *userReturns information about the user who is granted the permission.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-