Class Relation
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Relation
Relation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expandableb48Ed1protected Stringprotected RelationDataprotected ObjectBase object for all content types.protected ObjectBase object for all content types. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanExpandable(Expandableb48Ed1 Expandable) inthashCode()Links()name()relationData(RelationData relationData) source()Base object for all content types.Base object for all content types.target()Base object for all content types.Base object for all content types.toString()
-
Field Details
-
name
-
relationData
-
source
Base object for all content types. Representation of a blogpost (content) -
target
Base object for all content types. Representation of a blogpost (content) -
Expandable
-
Links
-
-
Constructor Details
-
Relation
Constructs a validated instance ofRelation.- Parameters:
spec- the specification to process
-
Relation
@Internal public Relation(String name, RelationData relationData, Object source, Object target, Expandableb48Ed1 Expandable, Map<String, Object> Links) Constructs a validated instance ofRelation.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Relation(Consumer)instead.- Parameters:
name- namerelationData- relationDatasource- Base object for all content types. Representation of a blogpost (content)target- Base object for all content types. Representation of a blogpost (content)Expandable- ExpandableLinks- Links
-
Relation
protected Relation()
-
-
Method Details
-
name
-
relationData
-
source
Base object for all content types. Representation of a blogpost (content) -
target
Base object for all content types. Representation of a blogpost (content) -
Expandable
-
Links
-
name
- Returns:
this.
-
relationData
- Returns:
this.
-
source
Base object for all content types. Representation of a blogpost (content)- Returns:
this.
-
target
Base object for all content types. Representation of a blogpost (content)- Returns:
this.
-
Expandable
- Returns:
this.
-
Links
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-