Klasse DeleteRelationshipOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.DeleteRelationshipOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteRelationshipOperationSpec
extends Object
DeleteRelationshipSpec
Specification for the DeleteRelationship operation.
Delete relationship
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedDeleteRelationshipOperationSpec(String relationName, String sourceType, String sourceKey, String targetType, String targetKey, String sourceStatus, String targetStatus, Integer sourceVersion, Integer targetVersion) Constructs a validated instance ofDeleteRelationshipOperationSpec.Constructs a validated instance ofDeleteRelationshipOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull StringThe name of the relationship.relationName(@NotNull String relationName) The name of the relationship.@NotNull String- The identifier for the source entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key.- The identifier for the source entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key.@Nullable StringThe status of the source.sourceStatus(@Nullable String sourceStatus) The status of the source.@NotNull StringThe source entity type of the relationship.sourceType(@NotNull String sourceType) The source entity type of the relationship.@Nullable IntegerThe version of the source.sourceVersion(@Nullable Integer sourceVersion) The version of the source.@NotNull String- The identifier for the target entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key.- The identifier for the target entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key.@Nullable StringThe status of the target.targetStatus(@Nullable String targetStatus) The status of the target.@NotNull StringThe target entity type of the relationship.targetType(@NotNull String targetType) The target entity type of the relationship.@Nullable IntegerThe version of the target.targetVersion(@Nullable Integer targetVersion) The version of the target.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
-
DeleteRelationshipOperationSpec
Constructs a validated instance ofDeleteRelationshipOperationSpec.- Parameter:
spec- the specification to process
-
DeleteRelationshipOperationSpec
@Internal public DeleteRelationshipOperationSpec(String relationName, String sourceType, String sourceKey, String targetType, String targetKey, String sourceStatus, String targetStatus, Integer sourceVersion, Integer targetVersion) Constructs a validated instance ofDeleteRelationshipOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
relationName- The name of the relationship.sourceType- The source entity type of the relationship. This must be 'user', if therelationNameis 'favourite'.sourceKey- - The identifier for the source entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key.targetType- The target entity type of the relationship. This must be 'space' or 'content', if therelationNameis 'favourite'.targetKey- - The identifier for the target entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key.sourceStatus- The status of the source. This parameter is only used when thesourceTypeis 'content'.targetStatus- The status of the target. This parameter is only used when thetargetTypeis 'content'.sourceVersion- The version of the source. This parameter is only used when thesourceTypeis 'content' and thesourceStatusis 'historical'.targetVersion- The version of the target. This parameter is only used when thetargetTypeis 'content' and thetargetStatusis 'historical'.
-
DeleteRelationshipOperationSpec
protected DeleteRelationshipOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
relationName
The name of the relationship. -
sourceType
The source entity type of the relationship. This must be 'user', if therelationNameis 'favourite'. -
sourceKey
- The identifier for the source entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key. -
targetType
The target entity type of the relationship. This must be 'space' or 'content', if therelationNameis 'favourite'. -
targetKey
- The identifier for the target entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key. -
sourceStatus
The status of the source. This parameter is only used when thesourceTypeis 'content'. -
targetStatus
The status of the target. This parameter is only used when thetargetTypeis 'content'. -
sourceVersion
The version of the source. This parameter is only used when thesourceTypeis 'content' and thesourceStatusis 'historical'. -
targetVersion
The version of the target. This parameter is only used when thetargetTypeis 'content' and thetargetStatusis 'historical'. -
relationName
The name of the relationship.- Gibt zurück:
this.
-
sourceType
The source entity type of the relationship. This must be 'user', if therelationNameis 'favourite'.- Gibt zurück:
this.
-
sourceKey
- The identifier for the source entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key.- Gibt zurück:
this.
-
targetType
The target entity type of the relationship. This must be 'space' or 'content', if therelationNameis 'favourite'.- Gibt zurück:
this.
-
targetKey
- The identifier for the target entity: - IfsourceTypeis 'user', then specify either 'current' (logged-in user) or the user key. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key.- Gibt zurück:
this.
-
sourceStatus
The status of the source. This parameter is only used when thesourceTypeis 'content'.- Gibt zurück:
this.
-
targetStatus
The status of the target. This parameter is only used when thetargetTypeis 'content'.- Gibt zurück:
this.
-
sourceVersion
The version of the source. This parameter is only used when thesourceTypeis 'content' and thesourceStatusis 'historical'.- Gibt zurück:
this.
-
targetVersion
The version of the target. This parameter is only used when thetargetTypeis 'content' and thetargetStatusis 'historical'.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-