Class GetCreateIssueMetaOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetCreateIssueMetaOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetCreateIssueMetaOperationSpec
extends Object
GetCreateIssueMetaSpec
Specification for the GetCreateIssueMeta operation.
Get create issue metadata
-
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
Constructs a validated instance ofGetCreateIssueMetaOperationSpec
.GetCreateIssueMetaOperationSpec
(List<String> projectIds, List<String> projectKeys, List<String> issuetypeIds, List<String> issuetypeNames, String expand) Constructs a validated instance ofGetCreateIssueMetaOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information about issue metadata in the response.Use [expand](#expansion) to include additional information about issue metadata in the response.int
hashCode()
List of issue type IDs.issuetypeIds
(@Nullable List<String> issuetypeIds) List of issue type IDs.List of issue type names.issuetypeNames
(@Nullable List<String> issuetypeNames) List of issue type names.List of project IDs.projectIds
(@Nullable List<String> projectIds) List of project IDs.List of project keys.projectKeys
(@Nullable List<String> projectKeys) List of project keys.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
-
GetCreateIssueMetaOperationSpec
Constructs a validated instance ofGetCreateIssueMetaOperationSpec
.- Parameters:
spec
- the specification to process
-
GetCreateIssueMetaOperationSpec
@Internal public GetCreateIssueMetaOperationSpec(List<String> projectIds, List<String> projectKeys, List<String> issuetypeIds, List<String> issuetypeNames, String expand) Constructs a validated instance ofGetCreateIssueMetaOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectIds
- List of project IDs. This parameter accepts a comma-separated list. Multiple project IDs can also be provided using an ampersand-separated list. For example,projectIds=10000,10001&projectIds=10020,10021
. This parameter may be provided withprojectKeys
.projectKeys
- List of project keys. This parameter accepts a comma-separated list. Multiple project keys can also be provided using an ampersand-separated list. For example,projectKeys=proj1,proj2&projectKeys=proj3
. This parameter may be provided withprojectIds
.issuetypeIds
- List of issue type IDs. This parameter accepts a comma-separated list. Multiple issue type IDs can also be provided using an ampersand-separated list. For example,issuetypeIds=10000,10001&issuetypeIds=10020,10021
. This parameter may be provided withissuetypeNames
.issuetypeNames
- List of issue type names. This parameter accepts a comma-separated list. Multiple issue type names can also be provided using an ampersand-separated list. For example,issuetypeNames=name1,name2&issuetypeNames=name3
. This parameter may be provided withissuetypeIds
.expand
- Use [expand](#expansion) to include additional information about issue metadata in the response. This parameter acceptsprojects.issuetypes.fields
, which returns information about the fields in the issue creation screen for each issue type. Fields hidden from the screen are not returned. Use the information to populate thefields
andupdate
fields in [Create issue](#api-rest-api-2-issue-post) and [Create issues](#api-rest-api-2-issue-bulk-post).
-
GetCreateIssueMetaOperationSpec
protected GetCreateIssueMetaOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectIds
List of project IDs. This parameter accepts a comma-separated list. Multiple project IDs can also be provided using an ampersand-separated list. For example,projectIds=10000,10001&projectIds=10020,10021
. This parameter may be provided withprojectKeys
. -
projectKeys
List of project keys. This parameter accepts a comma-separated list. Multiple project keys can also be provided using an ampersand-separated list. For example,projectKeys=proj1,proj2&projectKeys=proj3
. This parameter may be provided withprojectIds
. -
issuetypeIds
List of issue type IDs. This parameter accepts a comma-separated list. Multiple issue type IDs can also be provided using an ampersand-separated list. For example,issuetypeIds=10000,10001&issuetypeIds=10020,10021
. This parameter may be provided withissuetypeNames
. -
issuetypeNames
List of issue type names. This parameter accepts a comma-separated list. Multiple issue type names can also be provided using an ampersand-separated list. For example,issuetypeNames=name1,name2&issuetypeNames=name3
. This parameter may be provided withissuetypeIds
. -
expand
Use [expand](#expansion) to include additional information about issue metadata in the response. This parameter acceptsprojects.issuetypes.fields
, which returns information about the fields in the issue creation screen for each issue type. Fields hidden from the screen are not returned. Use the information to populate thefields
andupdate
fields in [Create issue](#api-rest-api-2-issue-post) and [Create issues](#api-rest-api-2-issue-bulk-post). -
projectIds
List of project IDs. This parameter accepts a comma-separated list. Multiple project IDs can also be provided using an ampersand-separated list. For example,projectIds=10000,10001&projectIds=10020,10021
. This parameter may be provided withprojectKeys
.- Returns:
this
.
-
projectKeys
List of project keys. This parameter accepts a comma-separated list. Multiple project keys can also be provided using an ampersand-separated list. For example,projectKeys=proj1,proj2&projectKeys=proj3
. This parameter may be provided withprojectIds
.- Returns:
this
.
-
issuetypeIds
List of issue type IDs. This parameter accepts a comma-separated list. Multiple issue type IDs can also be provided using an ampersand-separated list. For example,issuetypeIds=10000,10001&issuetypeIds=10020,10021
. This parameter may be provided withissuetypeNames
.- Returns:
this
.
-
issuetypeNames
public GetCreateIssueMetaOperationSpec issuetypeNames(@Nullable @Nullable List<String> issuetypeNames) List of issue type names. This parameter accepts a comma-separated list. Multiple issue type names can also be provided using an ampersand-separated list. For example,issuetypeNames=name1,name2&issuetypeNames=name3
. This parameter may be provided withissuetypeIds
.- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information about issue metadata in the response. This parameter acceptsprojects.issuetypes.fields
, which returns information about the fields in the issue creation screen for each issue type. Fields hidden from the screen are not returned. Use the information to populate thefields
andupdate
fields in [Create issue](#api-rest-api-2-issue-post) and [Create issues](#api-rest-api-2-issue-bulk-post).- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-