Class DeleteContentByIDLabelV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.DeleteContentByIDLabelV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class DeleteContentByIDLabelV1OperationSpec
extends Object
DeleteContentByIDLabelV1
Removes a label from a piece of content. Labels can't be deleted from archived content. This is similar to [Remove label from content](#api-content-id-label-label-delete) except that the label name is specified via a query parameter. Use this method if the label name has "/" characters, as [Remove label from content using query parameter](#api-content-id-label-delete) does not accept "/" characters for the label name. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull Stringid()The ID of the content that the label will be removed from.The ID of the content that the label will be removed from.@NonNull Stringname()The name of the label to be removed.The name of the label to be removed.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
-
DeleteContentByIDLabelV1OperationSpec
@Internal public DeleteContentByIDLabelV1OperationSpec(Consumer<DeleteContentByIDLabelV1OperationSpec> spec) Constructs a validated instance ofDeleteContentByIDLabelV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
id
The ID of the content that the label will be removed from. -
name
The name of the label to be removed. -
id
The ID of the content that the label will be removed from.- Returns:
this.
-
name
The name of the label to be removed.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-