Class BlueprintTemplate

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

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

    • templateId

      protected String templateId
    • originalTemplate

      protected OriginalTemplate 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.
    • additionalExpandable

      protected Expandable additionalExpandable
  • Constructor Details

    • BlueprintTemplate

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

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

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

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using BlueprintTemplate(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.
      additionalExpandable - additionalExpandable
      additionalLinks - additionalLinks
  • Method Details

    • templateId

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

      public BlueprintTemplate templateId(String templateId)
      Fluent setter for templateId.
      Parameters:
      templateId - templateId
      Returns:
      this
    • getTemplateId

      public String getTemplateId()
      Gets the value of templateId.
      Returns:
      templateId
    • setTemplateId

      public void setTemplateId(String templateId)
      Sets the value of templateId.
      Parameters:
      templateId - templateId
    • originalTemplate

      public OriginalTemplate originalTemplate()
      Fluent getter for originalTemplate.
      Returns:
      originalTemplate
    • originalTemplate

      public BlueprintTemplate originalTemplate(OriginalTemplate originalTemplate)
      Fluent setter for originalTemplate.
      Parameters:
      originalTemplate - originalTemplate
      Returns:
      this
    • getOriginalTemplate

      public OriginalTemplate getOriginalTemplate()
      Gets the value of originalTemplate.
      Returns:
      originalTemplate
    • setOriginalTemplate

      public void setOriginalTemplate(OriginalTemplate originalTemplate)
      Sets the value of originalTemplate.
      Parameters:
      originalTemplate - originalTemplate
    • referencingBlueprint

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

      public BlueprintTemplate referencingBlueprint(String referencingBlueprint)
      Fluent setter for referencingBlueprint.
      Parameters:
      referencingBlueprint - referencingBlueprint
      Returns:
      this
    • getReferencingBlueprint

      public String getReferencingBlueprint()
      Gets the value of referencingBlueprint.
      Returns:
      referencingBlueprint
    • setReferencingBlueprint

      public void setReferencingBlueprint(String referencingBlueprint)
      Sets the value of referencingBlueprint.
      Parameters:
      referencingBlueprint - referencingBlueprint
    • name

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

      public BlueprintTemplate name(String name)
      Fluent setter for name.
      Parameters:
      name - name
      Returns:
      this
    • getName

      public String getName()
      Gets the value of name.
      Returns:
      name
    • setName

      public void setName(String name)
      Sets the value of name.
      Parameters:
      name - name
    • description

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

      public BlueprintTemplate description(String description)
      Fluent setter for description.
      Parameters:
      description - description
      Returns:
      this
    • getDescription

      public String getDescription()
      Gets the value of description.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Sets the value of description.
      Parameters:
      description - description
    • space

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

      public BlueprintTemplate space(Map<String,Object> space)
      Fluent setter for space.
      Parameters:
      space - space
      Returns:
      this
    • getSpace

      public Map<String,Object> getSpace()
      Gets the value of space.
      Returns:
      space
    • setSpace

      public void setSpace(Map<String,Object> space)
      Sets the value of space.
      Parameters:
      space - space
    • labels

      public List<Label> labels()
      Fluent getter for labels.
      Returns:
      labels
    • labels

      public BlueprintTemplate labels(List<Label> labels)
      Fluent setter for labels.
      Parameters:
      labels - labels
      Returns:
      this
    • getLabels

      public List<Label> getLabels()
      Gets the value of labels.
      Returns:
      labels
    • setLabels

      public void setLabels(List<Label> labels)
      Sets the value of labels.
      Parameters:
      labels - labels
    • templateType

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

      public BlueprintTemplate templateType(String templateType)
      Fluent setter for templateType.
      Parameters:
      templateType - templateType
      Returns:
      this
    • getTemplateType

      public String getTemplateType()
      Gets the value of templateType.
      Returns:
      templateType
    • setTemplateType

      public void setTemplateType(String templateType)
      Sets the value of templateType.
      Parameters:
      templateType - templateType
    • editorVersion

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

      public BlueprintTemplate editorVersion(String editorVersion)
      Fluent setter for editorVersion.
      Parameters:
      editorVersion - editorVersion
      Returns:
      this
    • getEditorVersion

      public String getEditorVersion()
      Gets the value of editorVersion.
      Returns:
      editorVersion
    • setEditorVersion

      public void setEditorVersion(String editorVersion)
      Sets the value of editorVersion.
      Parameters:
      editorVersion - editorVersion
    • body

      public ContentTemplateBody body()
      Fluent getter for 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:
      body
    • body

      Fluent setter for 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.

      Parameters:
      body - body
      Returns:
      this
    • getBody

      public ContentTemplateBody getBody()
      Gets the value of 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:
      body
    • setBody

      public void setBody(ContentTemplateBody body)
      Sets the value of 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.

      Parameters:
      body - body
    • additionalExpandable

      public Expandable additionalExpandable()
      Fluent getter for additionalExpandable.
      Returns:
      additionalExpandable
    • additionalExpandable

      public BlueprintTemplate additionalExpandable(Expandable additionalExpandable)
      Fluent setter for additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
      Returns:
      this
    • getAdditionalExpandable

      public Expandable getAdditionalExpandable()
      Gets the value of additionalExpandable.
      Returns:
      additionalExpandable
    • setAdditionalExpandable

      public void setAdditionalExpandable(Expandable additionalExpandable)
      Sets the value of additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
    • additionalLinks

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

      public BlueprintTemplate additionalLinks(Map<String,Object> additionalLinks)
      Fluent setter for additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
      Returns:
      this
    • getAdditionalLinks

      public Map<String,Object> getAdditionalLinks()
      Gets the value of additionalLinks.
      Returns:
      additionalLinks
    • setAdditionalLinks

      public void setAdditionalLinks(Map<String,Object> additionalLinks)
      Sets the value of additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
    • 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