Class 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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAssignProjectsToCustomFieldContextOperationSpec(String fieldId, Long contextId, ProjectIds projectIds) Constructs a validated instance ofAssignProjectsToCustomFieldContextOperationSpec.AssignProjectsToCustomFieldContextOperationSpec(Consumer<AssignProjectsToCustomFieldContextOperationSpec> spec) Constructs a validated instance ofAssignProjectsToCustomFieldContextOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull LongThe ID of the context.The ID of the context.boolean@NotNull StringfieldId()The ID of the custom field.The ID of the custom field.inthashCode()@NotNull ProjectIdsprojectIds(@NotNull ProjectIds projectIds) toString()voidvalidate()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
-
AssignProjectsToCustomFieldContextOperationSpec
@Internal public AssignProjectsToCustomFieldContextOperationSpec(Consumer<AssignProjectsToCustomFieldContextOperationSpec> spec) Constructs a validated instance ofAssignProjectsToCustomFieldContextOperationSpec.- Parameters:
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.
- Parameters:
fieldId- The ID of the custom field.contextId- The ID of the context.projectIds-
-
AssignProjectsToCustomFieldContextOperationSpec
protected AssignProjectsToCustomFieldContextOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
fieldId
The ID of the custom field. -
contextId
The ID of the context. -
projectIds
-
fieldId
The ID of the custom field.- Returns:
this.
-
contextId
The ID of the context.- Returns:
this.
-
projectIds
public AssignProjectsToCustomFieldContextOperationSpec projectIds(@NotNull @NotNull ProjectIds projectIds) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-