Klasse GetContextsForFieldOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetContextsForFieldOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetContextsForFieldOperationSpec
extends Object
GetContextsForFieldSpec
Specification for the GetContextsForField operation.
Get custom field contexts
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetContextsForFieldOperationSpec(String fieldId, Boolean isAnyIssueType, Boolean isGlobalContext, Set<Long> contextId, Long startAt, Integer maxResults) Constructs a validated instance ofGetContextsForFieldOperationSpec.Constructs a validated instance ofGetContextsForFieldOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanThe list of context IDs.The list of context IDs.boolean@NotNull StringfieldId()The ID of the custom field.The ID of the custom field.inthashCode()@Nullable BooleanWhether to return contexts that apply to all issue types.isAnyIssueType(@Nullable Boolean isAnyIssueType) Whether to return contexts that apply to all issue types.@Nullable BooleanWhether to return contexts that apply to all projects.isGlobalContext(@Nullable Boolean isGlobalContext) Whether to return contexts that apply to all projects.@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable LongstartAt()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()voidvalidate()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
-
GetContextsForFieldOperationSpec
Constructs a validated instance ofGetContextsForFieldOperationSpec.- Parameter:
spec- the specification to process
-
GetContextsForFieldOperationSpec
@Internal public GetContextsForFieldOperationSpec(String fieldId, Boolean isAnyIssueType, Boolean isGlobalContext, Set<Long> contextId, Long startAt, Integer maxResults) Constructs a validated instance ofGetContextsForFieldOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
fieldId- The ID of the custom field.isAnyIssueType- Whether to return contexts that apply to all issue types.isGlobalContext- Whether to return contexts that apply to all projects.contextId- The list of context IDs. To include multiple contexts, separate IDs with ampersand:contextId=10000&contextId=10001.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.
-
GetContextsForFieldOperationSpec
protected GetContextsForFieldOperationSpec()
-
-
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. -
isAnyIssueType
Whether to return contexts that apply to all issue types. -
isGlobalContext
Whether to return contexts that apply to all projects. -
contextId
The list of context IDs. To include multiple contexts, separate IDs with ampersand:contextId=10000&contextId=10001. -
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.
-
isAnyIssueType
Whether to return contexts that apply to all issue types.- Gibt zurück:
this.
-
isGlobalContext
public GetContextsForFieldOperationSpec isGlobalContext(@Nullable @Nullable Boolean isGlobalContext) Whether to return contexts that apply to all projects.- Gibt zurück:
this.
-
contextId
The list of context IDs. To include multiple contexts, separate IDs with ampersand:contextId=10000&contextId=10001.- 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
-