Klasse CreatePermissionGrantOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreatePermissionGrantOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreatePermissionGrantOperationSpec
extends Object
CreatePermissionGrantSpec
Specification for the CreatePermissionGrant operation.
Create permission grant
-
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
CreatePermissionGrantOperationSpec
(Long schemeId, PermissionGrant permissionGrant, String expand) Constructs a validated instance ofCreatePermissionGrantOperationSpec
.Constructs a validated instance ofCreatePermissionGrantOperationSpec
. -
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 PermissionGrant
The permission grant to create.permissionGrant
(@NotNull PermissionGrant permissionGrant) The permission grant to create.@NotNull Long
schemeId()
The ID of the permission scheme in which to create a new permission grant.The ID of the permission scheme in which to create a new permission grant.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
-
CreatePermissionGrantOperationSpec
@Internal public CreatePermissionGrantOperationSpec(Consumer<CreatePermissionGrantOperationSpec> spec) Constructs a validated instance ofCreatePermissionGrantOperationSpec
.- Parameter:
spec
- the specification to process
-
CreatePermissionGrantOperationSpec
@Internal public CreatePermissionGrantOperationSpec(Long schemeId, PermissionGrant permissionGrant, String expand) Constructs a validated instance ofCreatePermissionGrantOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
schemeId
- The ID of the permission scheme in which to create a new permission grant.permissionGrant
- The permission grant 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: *permissions
Returns all permission grants for each permission scheme. *user
Returns information about the user who is granted the permission. *group
Returns information about the group that is granted the permission. *projectRole
Returns information about the project role granted the permission. *field
Returns information about the custom field granted the permission. *all
Returns all expandable information.
-
CreatePermissionGrantOperationSpec
protected CreatePermissionGrantOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static CreatePermissionGrantOperationSpec.CreatePermissionGrantOperationSpecBuilder builder() -
schemeId
The ID of the permission scheme in which to create a new permission grant. -
permissionGrant
The permission grant 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: *permissions
Returns all permission grants for each permission scheme. *user
Returns information about the user who is granted the permission. *group
Returns information about the group that is granted the permission. *projectRole
Returns information about the project role granted the permission. *field
Returns information about the custom field granted the permission. *all
Returns all expandable information. -
schemeId
The ID of the permission scheme in which to create a new permission grant.- Gibt zurück:
this
.
-
permissionGrant
public CreatePermissionGrantOperationSpec permissionGrant(@NotNull @NotNull PermissionGrant permissionGrant) The permission grant 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: *permissions
Returns all permission grants for each permission scheme. *user
Returns information about the user who is granted the permission. *group
Returns information about the group that is granted the permission. *projectRole
Returns information about the project role granted the permission. *field
Returns information about the custom field granted the permission. *all
Returns all expandable information.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-