Klasse AssignProjectsToCustomFieldContextOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.AssignProjectsToCustomFieldContextOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AssignProjectsToCustomFieldContextOperationSpec
extends Object
AssignProjectsToCustomFieldContextSpec
Specification for the AssignProjectsToCustomFieldContext operation.
Assign custom field context to projects
-
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
AssignProjectsToCustomFieldContextOperationSpec
(String fieldId, Long contextId, ProjectIds projectIds) Constructs a validated instance ofAssignProjectsToCustomFieldContextOperationSpec
.AssignProjectsToCustomFieldContextOperationSpec
(Consumer<AssignProjectsToCustomFieldContextOperationSpec> spec) Constructs a validated instance ofAssignProjectsToCustomFieldContextOperationSpec
. -
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()
@NotNull ProjectIds
projectIds
(@NotNull ProjectIds projectIds) 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
-
AssignProjectsToCustomFieldContextOperationSpec
@Internal public AssignProjectsToCustomFieldContextOperationSpec(Consumer<AssignProjectsToCustomFieldContextOperationSpec> spec) Constructs a validated instance ofAssignProjectsToCustomFieldContextOperationSpec
.- Parameter:
spec
- the specification to process
-
AssignProjectsToCustomFieldContextOperationSpec
@Internal public AssignProjectsToCustomFieldContextOperationSpec(String fieldId, Long contextId, ProjectIds projectIds) Constructs a validated instance ofAssignProjectsToCustomFieldContextOperationSpec
.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.projectIds
-
-
AssignProjectsToCustomFieldContextOperationSpec
protected AssignProjectsToCustomFieldContextOperationSpec()
-
-
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. -
projectIds
-
fieldId
The ID of the custom field.- Gibt zurück:
this
.
-
contextId
The ID of the context.- Gibt zurück:
this
.
-
projectIds
public AssignProjectsToCustomFieldContextOperationSpec projectIds(@NotNull @NotNull ProjectIds projectIds) - Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-