Klasse GetOptionsForContextOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetOptionsForContextOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetOptionsForContextOperationSpec
extends Object
GetOptionsForContextSpec
Specification for the GetOptionsForContext operation.
Get custom field options (context)
-
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
GetOptionsForContextOperationSpec
(String fieldId, Long contextId, Long optionId, Boolean onlyOptions, Long startAt, Integer maxResults) Constructs a validated instance ofGetOptionsForContextOperationSpec
.Constructs a validated instance ofGetOptionsForContextOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
@NotNull Long
The ID of the context.The ID of the context.boolean
@NotNull String
fieldId()
The ID of the custom field.The ID of the custom field.int
hashCode()
@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 Boolean
Whether only options are returned.onlyOptions
(@Nullable Boolean onlyOptions) Whether only options are returned.@Nullable Long
optionId()
The ID of the option.The ID of the option.@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
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetOptionsForContextOperationSpec
@Internal public GetOptionsForContextOperationSpec(Consumer<GetOptionsForContextOperationSpec> spec) Constructs a validated instance ofGetOptionsForContextOperationSpec
.- Parameter:
spec
- the specification to process
-
GetOptionsForContextOperationSpec
@Internal public GetOptionsForContextOperationSpec(String fieldId, Long contextId, Long optionId, Boolean onlyOptions, Long startAt, Integer maxResults) Constructs a validated instance ofGetOptionsForContextOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
fieldId
- The ID of the custom field.contextId
- The ID of the context.optionId
- The ID of the option.onlyOptions
- Whether only options are returned.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.
-
GetOptionsForContextOperationSpec
protected GetOptionsForContextOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
fieldId
The ID of the custom field. -
contextId
The ID of the context. -
optionId
The ID of the option. -
onlyOptions
Whether only options are returned. -
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. -
fieldId
The ID of the custom field.- Gibt zurück:
this
.
-
contextId
The ID of the context.- Gibt zurück:
this
.
-
optionId
The ID of the option.- Gibt zurück:
this
.
-
onlyOptions
Whether only options are returned.- Gibt zurück:
this
.
-
startAt
The index of the first item to return in a page of results (page offset).- Gibt zurück:
this
.
-
maxResults
The maximum number of items to return per page.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-