Class GetProjectOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetProjectOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetProjectOperationSpec
extends Object
GetProjectSpec
Specification for the GetProject operation.
Get project
-
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
GetProjectOperationSpec
(String projectIdOrKey, String expand, List<String> properties) Constructs a validated instance ofGetProjectOperationSpec
.Constructs a validated instance ofGetProjectOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.int
hashCode()
@NotNull String
The project ID or project key (case sensitive).projectIdOrKey
(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).A list of project properties to return for the project.properties
(@Nullable List<String> properties) A list of project properties to return for the project.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
-
GetProjectOperationSpec
Constructs a validated instance ofGetProjectOperationSpec
.- Parameters:
spec
- the specification to process
-
GetProjectOperationSpec
@Internal public GetProjectOperationSpec(String projectIdOrKey, String expand, List<String> properties) Constructs a validated instance ofGetProjectOperationSpec
.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).expand
- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: *description
The project description. *issueTypes
The issue types associated with the project. *lead
The project lead. *projectKeys
All project keys associated with the project. *issueTypeHierarchy
The project issue type hierarchy.properties
- A list of project properties to return for the project. This parameter accepts a comma-separated list.
-
GetProjectOperationSpec
protected GetProjectOperationSpec()
-
-
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). -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: *description
The project description. *issueTypes
The issue types associated with the project. *lead
The project lead. *projectKeys
All project keys associated with the project. *issueTypeHierarchy
The project issue type hierarchy. -
properties
A list of project properties to return for the project. This parameter accepts a comma-separated list. -
projectIdOrKey
The project ID or project key (case sensitive).- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: *description
The project description. *issueTypes
The issue types associated with the project. *lead
The project lead. *projectKeys
All project keys associated with the project. *issueTypeHierarchy
The project issue type hierarchy.- Returns:
this
.
-
properties
A list of project properties to return for the project. This parameter accepts a comma-separated list.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-