Class SpaceUpdate
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.SpaceUpdate
SpaceUpdate
The properties of a space that can be updated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SpaceDescriptionCreateThe description of the new/updated space.protected ObjectThe updated homepage for this spaceprotected StringThe updated name of the space.protected StringThe updated status for this space.protected StringThe updated type for this space. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSpaceUpdate(String name, SpaceDescriptionCreate description, Object homepage, String type, String status) Constructs a validated instance ofSpaceUpdate.SpaceUpdate(Consumer<SpaceUpdate> spec) Constructs a validated instance ofSpaceUpdate. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanThe description of the new/updated space.description(SpaceDescriptionCreate description) The description of the new/updated space.booleaninthashCode()homepage()The updated homepage for this spaceThe updated homepage for this spacename()The updated name of the space.The updated name of the space.status()The updated status for this space.The updated status for this space.toString()type()The updated type for this space.The updated type for this space.
-
Field Details
-
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.
-
-
Constructor Details
-
SpaceUpdate
Constructs a validated instance ofSpaceUpdate.- Parameters:
spec- the specification to process
-
SpaceUpdate
@Internal public SpaceUpdate(String name, SpaceDescriptionCreate description, Object homepage, String type, String status) Constructs a validated instance ofSpaceUpdate.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 spacetype- The updated type for this space.status- The updated status for this space.
-
SpaceUpdate
protected SpaceUpdate()
-
-
Method Details
-
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. -
name
The updated name of the space.- Returns:
this.
-
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
The updated homepage for this space- Returns:
this.
-
type
The updated type for this space.- Returns:
this.
-
status
The updated status for this space.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-