Class GetCustomFieldConfigurationOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetCustomFieldConfigurationOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetCustomFieldConfigurationOperationSpec
extends Object
GetCustomFieldConfigurationSpec
Specification for the GetCustomFieldConfiguration operation.
Get custom field configurations
-
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
GetCustomFieldConfigurationOperationSpec
(String fieldIdOrKey, Set<Long> id, Set<Long> fieldContextId, Long issueId, String projectKeyOrId, String issueTypeId, Long startAt, Integer maxResults) Constructs a validated instance ofGetCustomFieldConfigurationOperationSpec
.Constructs a validated instance ofGetCustomFieldConfigurationOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The list of field context IDs.fieldContextId
(@Nullable Set<Long> fieldContextId) The list of field context IDs.@NotNull String
The ID or key of the custom field, for examplecustomfield_10000
.fieldIdOrKey
(@NotNull String fieldIdOrKey) The ID or key of the custom field, for examplecustomfield_10000
.int
hashCode()
id()
The list of configuration IDs.The list of configuration IDs.@Nullable Long
issueId()
The ID of the issue to filter results by.The ID of the issue to filter results by.@Nullable String
The ID of the issue type to filter results by.issueTypeId
(@Nullable String issueTypeId) The ID of the issue type to filter results by.@Nullable Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable String
The ID or key of the project to filter results by.projectKeyOrId
(@Nullable String projectKeyOrId) The ID or key of the project to filter results by.@Nullable Long
startAt()
The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).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
-
GetCustomFieldConfigurationOperationSpec
@Internal public GetCustomFieldConfigurationOperationSpec(Consumer<GetCustomFieldConfigurationOperationSpec> spec) Constructs a validated instance ofGetCustomFieldConfigurationOperationSpec
.- Parameters:
spec
- the specification to process
-
GetCustomFieldConfigurationOperationSpec
@Internal public GetCustomFieldConfigurationOperationSpec(String fieldIdOrKey, Set<Long> id, Set<Long> fieldContextId, Long issueId, String projectKeyOrId, String issueTypeId, Long startAt, Integer maxResults) Constructs a validated instance ofGetCustomFieldConfigurationOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldIdOrKey
- The ID or key of the custom field, for examplecustomfield_10000
.id
- The list of configuration IDs. To include multiple configurations, separate IDs with an ampersand:id=10000&id=10001
. Can't be provided withfieldContextId
,issueId
,projectKeyOrId
, orissueTypeId
.fieldContextId
- The list of field context IDs. To include multiple field contexts, separate IDs with an ampersand:fieldContextId=10000&fieldContextId=10001
. Can't be provided withid
,issueId
,projectKeyOrId
, orissueTypeId
.issueId
- The ID of the issue to filter results by. If the issue doesn't exist, an empty list is returned. Can't be provided withprojectKeyOrId
, orissueTypeId
.projectKeyOrId
- The ID or key of the project to filter results by. Must be provided withissueTypeId
. Can't be provided withissueId
.issueTypeId
- The ID of the issue type to filter results by. Must be provided withprojectKeyOrId
. Can't be provided withissueId
.startAt
- The index of the first item to return in a page of results (page offset).maxResults
- The maximum number of items to return per page.
-
GetCustomFieldConfigurationOperationSpec
protected GetCustomFieldConfigurationOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetCustomFieldConfigurationOperationSpec.GetCustomFieldConfigurationOperationSpecBuilder builder() -
fieldIdOrKey
The ID or key of the custom field, for examplecustomfield_10000
. -
id
The list of configuration IDs. To include multiple configurations, separate IDs with an ampersand:id=10000&id=10001
. Can't be provided withfieldContextId
,issueId
,projectKeyOrId
, orissueTypeId
. -
fieldContextId
The list of field context IDs. To include multiple field contexts, separate IDs with an ampersand:fieldContextId=10000&fieldContextId=10001
. Can't be provided withid
,issueId
,projectKeyOrId
, orissueTypeId
. -
issueId
The ID of the issue to filter results by. If the issue doesn't exist, an empty list is returned. Can't be provided withprojectKeyOrId
, orissueTypeId
. -
projectKeyOrId
The ID or key of the project to filter results by. Must be provided withissueTypeId
. Can't be provided withissueId
. -
issueTypeId
The ID of the issue type to filter results by. Must be provided withprojectKeyOrId
. Can't be provided withissueId
. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
fieldIdOrKey
The ID or key of the custom field, for examplecustomfield_10000
.- Returns:
this
.
-
id
The list of configuration IDs. To include multiple configurations, separate IDs with an ampersand:id=10000&id=10001
. Can't be provided withfieldContextId
,issueId
,projectKeyOrId
, orissueTypeId
.- Returns:
this
.
-
fieldContextId
public GetCustomFieldConfigurationOperationSpec fieldContextId(@Nullable @Nullable Set<Long> fieldContextId) The list of field context IDs. To include multiple field contexts, separate IDs with an ampersand:fieldContextId=10000&fieldContextId=10001
. Can't be provided withid
,issueId
,projectKeyOrId
, orissueTypeId
.- Returns:
this
.
-
issueId
The ID of the issue to filter results by. If the issue doesn't exist, an empty list is returned. Can't be provided withprojectKeyOrId
, orissueTypeId
.- Returns:
this
.
-
projectKeyOrId
public GetCustomFieldConfigurationOperationSpec projectKeyOrId(@Nullable @Nullable String projectKeyOrId) The ID or key of the project to filter results by. Must be provided withissueTypeId
. Can't be provided withissueId
.- Returns:
this
.
-
issueTypeId
The ID of the issue type to filter results by. Must be provided withprojectKeyOrId
. Can't be provided withissueId
.- Returns:
this
.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
The maximum number of items to return per page.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-