Class Space

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

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

    • id

      protected Long id
    • key

      protected String key
    • alias

      protected String alias
    • name

      protected String name
    • icon

      protected Icon icon
      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
    • description

      protected Description description
    • homepage

      protected Content homepage
      Base object for all content types. Representation of a blogpost (content)
    • type

      protected String type
    • metadata

      protected Metadata5Bfc61 metadata
    • operations

      protected List<OperationCheckResult> operations
    • permissions

      protected List<SpacePermission> permissions
    • status

      protected String status
    • settings

      protected SpaceSettings settings
    • theme

      protected Theme theme
    • lookAndFeel

      protected LookAndFeel lookAndFeel
      Look and feel settings returned after an update.
    • history

      protected History history
    • additionalExpandable

      protected Expandable52D461 additionalExpandable
  • Constructor Details

    • Space

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

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

      @Internal public Space(Long id, String key, String alias, String name, Icon icon, Description description, Content homepage, String type, Metadata5Bfc61 metadata, List<OperationCheckResult> operations, List<SpacePermission> permissions, String status, SpaceSettings settings, Theme theme, LookAndFeel lookAndFeel, History history, Expandable52D461 additionalExpandable, Map<String,Object> additionalLinks)
      Constructs a validated instance of Space.

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

      Parameters:
      id - id
      key - key
      alias - alias
      name - name
      icon - This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
      description - description
      homepage - Base object for all content types. Representation of a blogpost (content)
      type - type
      metadata - metadata
      operations - operations
      permissions - permissions
      status - status
      settings - settings
      theme - theme
      lookAndFeel - Look and feel settings returned after an update.
      history - history
      additionalExpandable - additionalExpandable
      additionalLinks - additionalLinks
  • Method Details

    • id

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

      public Space id(Long id)
      Fluent setter for id.
      Parameters:
      id - id
      Returns:
      this
    • getId

      public Long getId()
      Gets the value of id.
      Returns:
      id
    • setId

      public void setId(Long id)
      Sets the value of id.
      Parameters:
      id - id
    • key

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

      public Space key(String key)
      Fluent setter for key.
      Parameters:
      key - key
      Returns:
      this
    • getKey

      public String getKey()
      Gets the value of key.
      Returns:
      key
    • setKey

      public void setKey(String key)
      Sets the value of key.
      Parameters:
      key - key
    • alias

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

      public Space alias(String alias)
      Fluent setter for alias.
      Parameters:
      alias - alias
      Returns:
      this
    • getAlias

      public String getAlias()
      Gets the value of alias.
      Returns:
      alias
    • setAlias

      public void setAlias(String alias)
      Sets the value of alias.
      Parameters:
      alias - alias
    • name

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

      public Space 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
    • icon

      public Icon icon()
      Fluent getter for icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

      Returns:
      icon
    • icon

      public Space icon(Icon icon)
      Fluent setter for icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

      Parameters:
      icon - icon
      Returns:
      this
    • getIcon

      public Icon getIcon()
      Gets the value of icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

      Returns:
      icon
    • setIcon

      public void setIcon(Icon icon)
      Sets the value of icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

      Parameters:
      icon - icon
    • description

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

      public Space description(Description description)
      Fluent setter for description.
      Parameters:
      description - description
      Returns:
      this
    • getDescription

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

      public void setDescription(Description description)
      Sets the value of description.
      Parameters:
      description - description
    • homepage

      public Content homepage()
      Fluent getter for homepage.

      Base object for all content types. Representation of a blogpost (content)

      Returns:
      homepage
    • homepage

      public Space homepage(Content homepage)
      Fluent setter for homepage.

      Base object for all content types. Representation of a blogpost (content)

      Parameters:
      homepage - homepage
      Returns:
      this
    • getHomepage

      public Content getHomepage()
      Gets the value of homepage.

      Base object for all content types. Representation of a blogpost (content)

      Returns:
      homepage
    • setHomepage

      public void setHomepage(Content homepage)
      Sets the value of homepage.

      Base object for all content types. Representation of a blogpost (content)

      Parameters:
      homepage - homepage
    • type

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

      public Space type(String type)
      Fluent setter for type.
      Parameters:
      type - type
      Returns:
      this
    • getType

      public String getType()
      Gets the value of type.
      Returns:
      type
    • setType

      public void setType(String type)
      Sets the value of type.
      Parameters:
      type - type
    • metadata

      public Metadata5Bfc61 metadata()
      Fluent getter for metadata.
      Returns:
      metadata
    • metadata

      public Space metadata(Metadata5Bfc61 metadata)
      Fluent setter for metadata.
      Parameters:
      metadata - metadata
      Returns:
      this
    • getMetadata

      public Metadata5Bfc61 getMetadata()
      Gets the value of metadata.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(Metadata5Bfc61 metadata)
      Sets the value of metadata.
      Parameters:
      metadata - metadata
    • operations

      public List<OperationCheckResult> operations()
      Fluent getter for operations.
      Returns:
      operations
    • operations

      public Space operations(List<OperationCheckResult> operations)
      Fluent setter for operations.
      Parameters:
      operations - operations
      Returns:
      this
    • getOperations

      public List<OperationCheckResult> getOperations()
      Gets the value of operations.
      Returns:
      operations
    • setOperations

      public void setOperations(List<OperationCheckResult> operations)
      Sets the value of operations.
      Parameters:
      operations - operations
    • permissions

      public List<SpacePermission> permissions()
      Fluent getter for permissions.
      Returns:
      permissions
    • permissions

      public Space permissions(List<SpacePermission> permissions)
      Fluent setter for permissions.
      Parameters:
      permissions - permissions
      Returns:
      this
    • getPermissions

      public List<SpacePermission> getPermissions()
      Gets the value of permissions.
      Returns:
      permissions
    • setPermissions

      public void setPermissions(List<SpacePermission> permissions)
      Sets the value of permissions.
      Parameters:
      permissions - permissions
    • status

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

      public Space status(String status)
      Fluent setter for status.
      Parameters:
      status - status
      Returns:
      this
    • getStatus

      public String getStatus()
      Gets the value of status.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
      Sets the value of status.
      Parameters:
      status - status
    • settings

      public SpaceSettings settings()
      Fluent getter for settings.
      Returns:
      settings
    • settings

      public Space settings(SpaceSettings settings)
      Fluent setter for settings.
      Parameters:
      settings - settings
      Returns:
      this
    • getSettings

      public SpaceSettings getSettings()
      Gets the value of settings.
      Returns:
      settings
    • setSettings

      public void setSettings(SpaceSettings settings)
      Sets the value of settings.
      Parameters:
      settings - settings
    • theme

      public Theme theme()
      Fluent getter for theme.
      Returns:
      theme
    • theme

      public Space theme(Theme theme)
      Fluent setter for theme.
      Parameters:
      theme - theme
      Returns:
      this
    • getTheme

      public Theme getTheme()
      Gets the value of theme.
      Returns:
      theme
    • setTheme

      public void setTheme(Theme theme)
      Sets the value of theme.
      Parameters:
      theme - theme
    • lookAndFeel

      public LookAndFeel lookAndFeel()
      Fluent getter for lookAndFeel.

      Look and feel settings returned after an update.

      Returns:
      lookAndFeel
    • lookAndFeel

      public Space lookAndFeel(LookAndFeel lookAndFeel)
      Fluent setter for lookAndFeel.

      Look and feel settings returned after an update.

      Parameters:
      lookAndFeel - lookAndFeel
      Returns:
      this
    • getLookAndFeel

      public LookAndFeel getLookAndFeel()
      Gets the value of lookAndFeel.

      Look and feel settings returned after an update.

      Returns:
      lookAndFeel
    • setLookAndFeel

      public void setLookAndFeel(LookAndFeel lookAndFeel)
      Sets the value of lookAndFeel.

      Look and feel settings returned after an update.

      Parameters:
      lookAndFeel - lookAndFeel
    • history

      public History history()
      Fluent getter for history.
      Returns:
      history
    • history

      public Space history(History history)
      Fluent setter for history.
      Parameters:
      history - history
      Returns:
      this
    • getHistory

      public History getHistory()
      Gets the value of history.
      Returns:
      history
    • setHistory

      public void setHistory(History history)
      Sets the value of history.
      Parameters:
      history - history
    • additionalExpandable

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

      public Space additionalExpandable(Expandable52D461 additionalExpandable)
      Fluent setter for additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
      Returns:
      this
    • getAdditionalExpandable

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

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

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

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