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 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.
    • SpaceUpdate

      protected SpaceUpdate()
  • Method Details

    • name

      public String name()
      The updated name of the space.
    • description

      public 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

      public Object homepage()
      The updated homepage for this space
    • type

      public String type()
      The updated type for this space.
    • status

      public String status()
      The updated status for this space.
    • name

      public SpaceUpdate name(String name)
      The updated name of the space.
      Returns:
      this.
    • description

      public SpaceUpdate description(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.
      Returns:
      this.
    • homepage

      public SpaceUpdate homepage(Object homepage)
      The updated homepage for this space
      Returns:
      this.
    • type

      public SpaceUpdate type(String type)
      The updated type for this space.
      Returns:
      this.
    • status

      public SpaceUpdate status(String status)
      The updated status for this space.
      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