Class SpaceUpdate

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

@Generated("io.github.primelib.primecodegen") public class SpaceUpdate extends Object
SpaceUpdate

The properties of a space that can be updated.

  • Field Details

    • name

      protected String name
      The updated name of the space.
    • description

      protected SpaceDescriptionCreate description
      The description of the new/updated space. Note, only the 'plain' representation can be used for the description when creating or updating a space.
    • homepage

      protected Object homepage
      The updated homepage for this space
    • type

      protected String type
      The updated type for this space.
    • status

      protected String status
      The updated status for this space.
  • Constructor Details

    • SpaceUpdate

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

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

      @Internal public SpaceUpdate(String name, SpaceDescriptionCreate description, Object homepage, String type, String status)
      Constructs a validated instance of SpaceUpdate.

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

      Parameters:
      name - The updated name of the space.
      description - The description of the new/updated space. Note, only the 'plain' representation can be used for the description when creating or updating a space.
      homepage - The updated homepage for this space
      type - The updated type for this space.
      status - The updated status for this space.
  • Method Details

    • name

      public String name()
      Fluent getter for name.

      The updated name of the space.

      Returns:
      name
    • name

      public SpaceUpdate name(String name)
      Fluent setter for name.

      The updated name of the space.

      Parameters:
      name - name
      Returns:
      this
    • getName

      public String getName()
      Gets the value of name.

      The updated name of the space.

      Returns:
      name
    • setName

      public void setName(String name)
      Sets the value of name.

      The updated name of the space.

      Parameters:
      name - name
    • description

      public SpaceDescriptionCreate description()
      Fluent getter for description.

      The description of the new/updated space. Note, only the 'plain' representation can be used for the description when creating or updating a space.

      Returns:
      description
    • description

      public SpaceUpdate description(SpaceDescriptionCreate description)
      Fluent setter for description.

      The description of the new/updated space. Note, only the 'plain' representation can be used for the description when creating or updating a space.

      Parameters:
      description - description
      Returns:
      this
    • getDescription

      public SpaceDescriptionCreate getDescription()
      Gets the value of description.

      The description of the new/updated space. Note, only the 'plain' representation can be used for the description when creating or updating a space.

      Returns:
      description
    • setDescription

      public void setDescription(SpaceDescriptionCreate description)
      Sets the value of description.

      The description of the new/updated space. Note, only the 'plain' representation can be used for the description when creating or updating a space.

      Parameters:
      description - description
    • homepage

      public Object homepage()
      Fluent getter for homepage.

      The updated homepage for this space

      Returns:
      homepage
    • homepage

      public SpaceUpdate homepage(Object homepage)
      Fluent setter for homepage.

      The updated homepage for this space

      Parameters:
      homepage - homepage
      Returns:
      this
    • getHomepage

      public Object getHomepage()
      Gets the value of homepage.

      The updated homepage for this space

      Returns:
      homepage
    • setHomepage

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

      The updated homepage for this space

      Parameters:
      homepage - homepage
    • type

      public String type()
      Fluent getter for type.

      The updated type for this space.

      Returns:
      type
    • type

      public SpaceUpdate type(String type)
      Fluent setter for type.

      The updated type for this space.

      Parameters:
      type - type
      Returns:
      this
    • getType

      public String getType()
      Gets the value of type.

      The updated type for this space.

      Returns:
      type
    • setType

      public void setType(String type)
      Sets the value of type.

      The updated type for this space.

      Parameters:
      type - type
    • status

      public String status()
      Fluent getter for status.

      The updated status for this space.

      Returns:
      status
    • status

      public SpaceUpdate status(String status)
      Fluent setter for status.

      The updated status for this space.

      Parameters:
      status - status
      Returns:
      this
    • getStatus

      public String getStatus()
      Gets the value of status.

      The updated status for this space.

      Returns:
      status
    • setStatus

      public void setStatus(String status)
      Sets the value of status.

      The updated status for this space.

      Parameters:
      status - status
    • 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