Klasse ToggleFeatureForProjectOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.ToggleFeatureForProjectOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ToggleFeatureForProjectOperationSpec
extends Object
ToggleFeatureForProjectSpec
Specification for the ToggleFeatureForProject operation.
Set project feature state
-
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
ToggleFeatureForProjectOperationSpec
(String projectIdOrKey, String featureKey, ProjectFeatureState projectFeatureState) Constructs a validated instance ofToggleFeatureForProjectOperationSpec
.Constructs a validated instance ofToggleFeatureForProjectOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
boolean
@NotNull String
The key of the feature.featureKey
(@NotNull String featureKey) The key of the feature.int
hashCode()
@NotNull ProjectFeatureState
Details of the feature state change.projectFeatureState
(@NotNull ProjectFeatureState projectFeatureState) Details of the feature state change.@NotNull String
The ID or (case-sensitive) key of the project.projectIdOrKey
(@NotNull String projectIdOrKey) The ID or (case-sensitive) key of the project.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
-
ToggleFeatureForProjectOperationSpec
@Internal public ToggleFeatureForProjectOperationSpec(Consumer<ToggleFeatureForProjectOperationSpec> spec) Constructs a validated instance ofToggleFeatureForProjectOperationSpec
.- Parameter:
spec
- the specification to process
-
ToggleFeatureForProjectOperationSpec
@Internal public ToggleFeatureForProjectOperationSpec(String projectIdOrKey, String featureKey, ProjectFeatureState projectFeatureState) Constructs a validated instance ofToggleFeatureForProjectOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
projectIdOrKey
- The ID or (case-sensitive) key of the project.featureKey
- The key of the feature.projectFeatureState
- Details of the feature state change.
-
ToggleFeatureForProjectOperationSpec
protected ToggleFeatureForProjectOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static ToggleFeatureForProjectOperationSpec.ToggleFeatureForProjectOperationSpecBuilder builder() -
projectIdOrKey
The ID or (case-sensitive) key of the project. -
featureKey
The key of the feature. -
projectFeatureState
Details of the feature state change. -
projectIdOrKey
The ID or (case-sensitive) key of the project.- Gibt zurück:
this
.
-
featureKey
The key of the feature.- Gibt zurück:
this
.
-
projectFeatureState
public ToggleFeatureForProjectOperationSpec projectFeatureState(@NotNull @NotNull ProjectFeatureState projectFeatureState) Details of the feature state change.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-