Klasse CreatePermissionSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.CreatePermissionSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreatePermissionSchemeOperationSpec
extends Object
CreatePermissionSchemeSpec
Specification for the CreatePermissionScheme operation.
Create permission scheme
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
CreatePermissionSchemeOperationSpec
(PermissionScheme permissionScheme, String expand) Constructs a validated instance ofCreatePermissionSchemeOperationSpec
.Constructs a validated instance ofCreatePermissionSchemeOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
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 PermissionScheme
The permission scheme to create.permissionScheme
(@NotNull PermissionScheme permissionScheme) The permission scheme to create.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
CreatePermissionSchemeOperationSpec
@Internal public CreatePermissionSchemeOperationSpec(Consumer<CreatePermissionSchemeOperationSpec> spec) Constructs a validated instance ofCreatePermissionSchemeOperationSpec
.- Parameter:
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.
- Parameter:
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: *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.
-
CreatePermissionSchemeOperationSpec
protected CreatePermissionSchemeOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
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: *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. -
permissionScheme
public CreatePermissionSchemeOperationSpec permissionScheme(@NotNull @NotNull PermissionScheme permissionScheme) The permission scheme to create.- Gibt zurück:
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: *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.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-