Class RemoveCustomFieldContextFromProjectsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.RemoveCustomFieldContextFromProjectsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveCustomFieldContextFromProjectsOperationSpec
extends Object
RemoveCustomFieldContextFromProjectsSpec
Specification for the RemoveCustomFieldContextFromProjects operation.
Remove custom field context from projects
-
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
RemoveCustomFieldContextFromProjectsOperationSpec
(String fieldId, Long contextId, ProjectIds projectIds) Constructs a validated instance ofRemoveCustomFieldContextFromProjectsOperationSpec
.RemoveCustomFieldContextFromProjectsOperationSpec
(Consumer<RemoveCustomFieldContextFromProjectsOperationSpec> spec) Constructs a validated instance ofRemoveCustomFieldContextFromProjectsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
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
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
RemoveCustomFieldContextFromProjectsOperationSpec
@Internal public RemoveCustomFieldContextFromProjectsOperationSpec(Consumer<RemoveCustomFieldContextFromProjectsOperationSpec> spec) Constructs a validated instance ofRemoveCustomFieldContextFromProjectsOperationSpec
.- Parameters:
spec
- the specification to process
-
RemoveCustomFieldContextFromProjectsOperationSpec
@Internal public RemoveCustomFieldContextFromProjectsOperationSpec(String fieldId, Long contextId, ProjectIds projectIds) Constructs a validated instance ofRemoveCustomFieldContextFromProjectsOperationSpec
.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
-
-
RemoveCustomFieldContextFromProjectsOperationSpec
protected RemoveCustomFieldContextFromProjectsOperationSpec()
-
-
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
public RemoveCustomFieldContextFromProjectsOperationSpec contextId(@NotNull @NotNull Long contextId) The ID of the context.- Returns:
this
.
-
projectIds
public RemoveCustomFieldContextFromProjectsOperationSpec projectIds(@NotNull @NotNull ProjectIds projectIds) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-