Class EmbeddedContent

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

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

  • Constructor Details

    • EmbeddedContent

      public EmbeddedContent(Consumer<EmbeddedContent> spec)
      Constructs a validated instance of EmbeddedContent.
      Parameters:
      spec - the specification to process
    • EmbeddedContent

      @Internal protected EmbeddedContent()
      Protected no-args constructor for use by serialization frameworks.
    • EmbeddedContent

      @Internal public EmbeddedContent(Long entityId, String entityType, Map<String,Object> entity)
      Constructs a validated instance of EmbeddedContent.

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

      Parameters:
      entityId - entityId
      entityType - entityType
      entity - entity
  • Method Details

    • entityId

      public Long entityId()
      Fluent getter for entityId.
      Returns:
      entityId
    • entityId

      public EmbeddedContent entityId(Long entityId)
      Fluent setter for entityId.
      Parameters:
      entityId - entityId
      Returns:
      this
    • getEntityId

      public Long getEntityId()
      Gets the value of entityId.
      Returns:
      entityId
    • setEntityId

      public void setEntityId(Long entityId)
      Sets the value of entityId.
      Parameters:
      entityId - entityId
    • entityType

      public String entityType()
      Fluent getter for entityType.
      Returns:
      entityType
    • entityType

      public EmbeddedContent entityType(String entityType)
      Fluent setter for entityType.
      Parameters:
      entityType - entityType
      Returns:
      this
    • getEntityType

      public String getEntityType()
      Gets the value of entityType.
      Returns:
      entityType
    • setEntityType

      public void setEntityType(String entityType)
      Sets the value of entityType.
      Parameters:
      entityType - entityType
    • entity

      public Map<String,Object> entity()
      Fluent getter for entity.
      Returns:
      entity
    • entity

      public EmbeddedContent entity(Map<String,Object> entity)
      Fluent setter for entity.
      Parameters:
      entity - entity
      Returns:
      this
    • getEntity

      public Map<String,Object> getEntity()
      Gets the value of entity.
      Returns:
      entity
    • setEntity

      public void setEntity(Map<String,Object> entity)
      Sets the value of entity.
      Parameters:
      entity - entity
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object