Class CreatePermissionSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreatePermissionSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreatePermissionSchemeOperationSpec
extends Object
CreatePermissionSchemeSpec
Specification for the CreatePermissionScheme operation.
Create 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
ConstructorsModifierConstructorDescriptionprotectedCreatePermissionSchemeOperationSpec(PermissionScheme permissionScheme, String expand) Constructs a validated instance ofCreatePermissionSchemeOperationSpec.Constructs a validated instance ofCreatePermissionSchemeOperationSpec. -
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 PermissionSchemeThe permission scheme to create.permissionScheme(@NotNull PermissionScheme permissionScheme) The permission scheme to create.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
-
CreatePermissionSchemeOperationSpec
@Internal public CreatePermissionSchemeOperationSpec(Consumer<CreatePermissionSchemeOperationSpec> spec) Constructs a validated instance ofCreatePermissionSchemeOperationSpec.- Parameters:
spec- the specification to process
-
CreatePermissionSchemeOperationSpec
@Internal public CreatePermissionSchemeOperationSpec(PermissionScheme permissionScheme, String expand) Constructs a validated instance ofCreatePermissionSchemeOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
permissionScheme- The permission scheme to create.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.
-
CreatePermissionSchemeOperationSpec
protected CreatePermissionSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static CreatePermissionSchemeOperationSpec.CreatePermissionSchemeOperationSpecBuilder builder() -
permissionScheme
The permission scheme to create. -
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. -
permissionScheme
public CreatePermissionSchemeOperationSpec permissionScheme(@NotNull @NotNull PermissionScheme permissionScheme) The permission scheme to create.- 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
-