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
ConstructorsModifierConstructorDescriptionprotectedRelation()Protected no-args constructor for use by serialization frameworks.Relation(String name, RelationData relationData, Object source, Object target, Expandableb48Ed1 additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofRelation.Constructs a validated instance ofRelation. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalExpandable.additionalExpandable(Expandableb48Ed1 additionalExpandable) Fluent setter for additionalExpandable.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.booleanGets the value of additionalExpandable.Gets the value of additionalLinks.getName()Gets the value of name.Gets the value of relationData.Gets the value of source.Gets the value of target.inthashCode()name()Fluent getter for name.Fluent setter for name.Fluent getter for relationData.relationData(RelationData relationData) Fluent setter for relationData.voidsetAdditionalExpandable(Expandableb48Ed1 additionalExpandable) Sets the value of additionalExpandable.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidSets the value of name.voidsetRelationData(RelationData relationData) Sets the value of relationData.voidSets the value of source.voidSets the value of target.source()Fluent getter for source.Fluent setter for source.target()Fluent getter for target.Fluent setter for target.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) -
additionalExpandable
-
additionalLinks
-
-
Constructor Details
-
Relation
-
Relation
@Internal protected Relation()Protected no-args constructor for use by serialization frameworks. -
Relation
@Internal public Relation(String name, RelationData relationData, Object source, Object target, Expandableb48Ed1 additionalExpandable, Map<String, Object> additionalLinks) 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)additionalExpandable- additionalExpandableadditionalLinks- additionalLinks
-
-
Method Details
-
name
-
name
-
getName
-
setName
-
relationData
-
relationData
Fluent setter for relationData.- Parameters:
relationData- relationData- Returns:
- this
-
getRelationData
-
setRelationData
Sets the value of relationData.- Parameters:
relationData- relationData
-
source
Fluent getter for source.Base object for all content types. Representation of a blogpost (content)
- Returns:
- source
-
source
-
getSource
Gets the value of source.Base object for all content types. Representation of a blogpost (content)
- Returns:
- source
-
setSource
Sets the value of source.Base object for all content types. Representation of a blogpost (content)
- Parameters:
source- source
-
target
Fluent getter for target.Base object for all content types. Representation of a blogpost (content)
- Returns:
- target
-
target
-
getTarget
Gets the value of target.Base object for all content types. Representation of a blogpost (content)
- Returns:
- target
-
setTarget
Sets the value of target.Base object for all content types. Representation of a blogpost (content)
- Parameters:
target- target
-
additionalExpandable
Fluent getter for additionalExpandable.- Returns:
- additionalExpandable
-
additionalExpandable
Fluent setter for additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable- Returns:
- this
-
getAdditionalExpandable
Gets the value of additionalExpandable.- Returns:
- additionalExpandable
-
setAdditionalExpandable
Sets the value of additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable
-
additionalLinks
-
additionalLinks
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-