Class GetProjectComponentsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetProjectComponentsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetProjectComponentsOperationSpec
extends Object
GetProjectComponentsSpec
Specification for the GetProjectComponents operation.
Get project components
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetProjectComponentsOperationSpec
(String projectIdOrKey, String componentSource) Constructs a validated instance ofGetProjectComponentsOperationSpec
.Constructs a validated instance ofGetProjectComponentsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@Nullable String
The source of the components to return.componentSource
(@Nullable String componentSource) The source of the components to return.boolean
int
hashCode()
@NotNull String
The project ID or project key (case sensitive).projectIdOrKey
(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).toString()
void
validate()
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
-
GetProjectComponentsOperationSpec
@Internal public GetProjectComponentsOperationSpec(Consumer<GetProjectComponentsOperationSpec> spec) Constructs a validated instance ofGetProjectComponentsOperationSpec
.- Parameters:
spec
- the specification to process
-
GetProjectComponentsOperationSpec
Constructs a validated instance ofGetProjectComponentsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectIdOrKey
- The project ID or project key (case sensitive).componentSource
- The source of the components to return. Can bejira
(default),compass
orauto
. Whenauto
is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults tojira
.
-
GetProjectComponentsOperationSpec
protected GetProjectComponentsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectIdOrKey
The project ID or project key (case sensitive). -
componentSource
The source of the components to return. Can bejira
(default),compass
orauto
. Whenauto
is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults tojira
. -
projectIdOrKey
The project ID or project key (case sensitive).- Returns:
this
.
-
componentSource
public GetProjectComponentsOperationSpec componentSource(@Nullable @Nullable String componentSource) The source of the components to return. Can bejira
(default),compass
orauto
. Whenauto
is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults tojira
.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-