java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Relation

@Generated("io.github.primelib.primecodegen") public class Relation extends Object
Relation
  • Field Details

    • name

      protected String name
    • relationData

      protected RelationData relationData
    • source

      protected Object source
      Base object for all content types. Representation of a blogpost (content)
    • target

      protected Object target
      Base object for all content types. Representation of a blogpost (content)
    • Expandable

      protected Expandableb48Ed1 Expandable
  • Constructor Details

    • Relation

      public Relation(Consumer<Relation> spec)
      Constructs a validated instance of Relation.
      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 of Relation.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Relation(Consumer) instead.

      Parameters:
      name - name
      relationData - 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 - Expandable
      Links - Links
    • Relation

      protected Relation()
  • Method Details

    • name

      public String name()
    • relationData

      public RelationData relationData()
    • source

      public Object source()
      Base object for all content types. Representation of a blogpost (content)
    • target

      public Object target()
      Base object for all content types. Representation of a blogpost (content)
    • Expandable

      public Expandableb48Ed1 Expandable()
    • Links

      public Map<String,Object> Links()
    • name

      public Relation name(String name)
      Returns:
      this.
    • relationData

      public Relation relationData(RelationData relationData)
      Returns:
      this.
    • source

      public Relation source(Object source)
      Base object for all content types. Representation of a blogpost (content)
      Returns:
      this.
    • target

      public Relation target(Object target)
      Base object for all content types. Representation of a blogpost (content)
      Returns:
      this.
    • Expandable

      public Relation Expandable(Expandableb48Ed1 Expandable)
      Returns:
      this.
    • Links

      public Relation Links(Map<String,Object> Links)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object