Class ContentTemplate

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

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

    • templateId

      protected String templateId
    • originalTemplate

      protected OriginalTemplate25A4F5 originalTemplate
    • referencingBlueprint

      protected String referencingBlueprint
    • name

      protected String name
    • description

      protected String description
    • space

      protected Map<String,Object> space
    • labels

      protected List<Label> labels
    • templateType

      protected String templateType
    • editorVersion

      protected String editorVersion
    • body

      protected ContentTemplateBody body
      The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
    • Expandable

      protected Expandable Expandable
  • Constructor Details

    • ContentTemplate

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

      @Internal public ContentTemplate(String templateId, OriginalTemplate25A4F5 originalTemplate, String referencingBlueprint, String name, String description, Map<String,Object> space, List<Label> labels, String templateType, String editorVersion, ContentTemplateBody body, Expandable Expandable, Map<String,Object> Links)
      Constructs a validated instance of ContentTemplate.

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

      Parameters:
      templateId - templateId
      originalTemplate - originalTemplate
      referencingBlueprint - referencingBlueprint
      name - name
      description - description
      space - space
      labels - labels
      templateType - templateType
      editorVersion - editorVersion
      body - The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
      Expandable - Expandable
      Links - Links
    • ContentTemplate

      protected ContentTemplate()
  • Method Details

    • templateId

      public String templateId()
    • originalTemplate

      public OriginalTemplate25A4F5 originalTemplate()
    • referencingBlueprint

      public String referencingBlueprint()
    • name

      public String name()
    • description

      public String description()
    • space

      public Map<String,Object> space()
    • labels

      public List<Label> labels()
    • templateType

      public String templateType()
    • editorVersion

      public String editorVersion()
    • body

      public ContentTemplateBody body()
      The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
    • Expandable

      public Expandable Expandable()
    • Links

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

      public ContentTemplate templateId(String templateId)
      Returns:
      this.
    • originalTemplate

      public ContentTemplate originalTemplate(OriginalTemplate25A4F5 originalTemplate)
      Returns:
      this.
    • referencingBlueprint

      public ContentTemplate referencingBlueprint(String referencingBlueprint)
      Returns:
      this.
    • name

      public ContentTemplate name(String name)
      Returns:
      this.
    • description

      public ContentTemplate description(String description)
      Returns:
      this.
    • space

      public ContentTemplate space(Map<String,Object> space)
      Returns:
      this.
    • labels

      public ContentTemplate labels(List<Label> labels)
      Returns:
      this.
    • templateType

      public ContentTemplate templateType(String templateType)
      Returns:
      this.
    • editorVersion

      public ContentTemplate editorVersion(String editorVersion)
      Returns:
      this.
    • body

      The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. `storage`. Note, `editor2` format is used by Atlassian only. `anonymous_export_view` is the same as `export_view` format but only content viewable by an anonymous user is included.
      Returns:
      this.
    • Expandable

      public ContentTemplate Expandable(Expandable Expandable)
      Returns:
      this.
    • Links

      public ContentTemplate 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