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 Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreatePermissionGrantOperationSpec(Long schemeId, PermissionGrant permissionGrant, String expand) Constructs a validated instance ofCreatePermissionGrantOperationSpec.Constructs a validated instance ofCreatePermissionGrantOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanboolean@Nullable Stringexpand()Use expand to include additional information in the response.Use expand to include additional information in the response.inthashCode()@NotNull PermissionGrantThe permission grant to create.permissionGrant(@NotNull PermissionGrant permissionGrant) The permission grant to create.@NotNull LongschemeId()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()voidvalidate()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: *permissionsReturns all permission grants for each permission scheme. *userReturns information about the user who is granted the permission. *groupReturns information about the group that is granted the permission. *projectRoleReturns information about the project role granted the permission. *fieldReturns information about the custom field granted the permission. *allReturns 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: *permissionsReturns all permission grants for each permission scheme. *userReturns information about the user who is granted the permission. *groupReturns information about the group that is granted the permission. *projectRoleReturns information about the project role granted the permission. *fieldReturns information about the custom field granted the permission. *allReturns 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: *permissionsReturns all permission grants for each permission scheme. *userReturns information about the user who is granted the permission. *groupReturns information about the group that is granted the permission. *projectRoleReturns information about the project role granted the permission. *fieldReturns information about the custom field granted the permission. *allReturns all expandable information.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-