Class 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
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.SpaceUpdate(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 TypeMethodDescriptionFluent getter for description.description(SpaceDescriptionCreate description) Fluent setter for description.booleanGets the value of description.Gets the value of homepage.getName()Gets the value of name.Gets the value of status.getType()Gets the value of type.inthashCode()homepage()Fluent getter for homepage.Fluent setter for homepage.name()Fluent getter for name.Fluent setter for name.voidsetDescription(SpaceDescriptionCreate description) Sets the value of description.voidsetHomepage(Object homepage) Sets the value of homepage.voidSets the value of name.voidSets the value of status.voidSets the value of type.status()Fluent getter for status.Fluent setter for status.toString()type()Fluent getter for type.Fluent setter for type.
-
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 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 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.
-
-
Method Details
-
name
-
name
Fluent setter for name.The updated name of the space.
- Parameters:
name- name- Returns:
- this
-
getName
-
setName
Sets the value of name.The updated name of the space.
- Parameters:
name- name
-
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
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
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
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
Fluent getter for homepage.The updated homepage for this space
- Returns:
- homepage
-
homepage
Fluent setter for homepage.The updated homepage for this space
- Parameters:
homepage- homepage- Returns:
- this
-
getHomepage
Gets the value of homepage.The updated homepage for this space
- Returns:
- homepage
-
setHomepage
Sets the value of homepage.The updated homepage for this space
- Parameters:
homepage- homepage
-
type
-
type
Fluent setter for type.The updated type for this space.
- Parameters:
type- type- Returns:
- this
-
getType
-
setType
Sets the value of type.The updated type for this space.
- Parameters:
type- type
-
status
-
status
Fluent setter for status.The updated status for this space.
- Parameters:
status- status- Returns:
- this
-
getStatus
Gets the value of status.The updated status for this space.
- Returns:
- status
-
setStatus
Sets the value of status.The updated status for this space.
- Parameters:
status- status
-
equals
-
hashCode
-
toString
-