Klasse GetSpacesOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetSpacesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetSpacesOperationSpec
extends Object
GetSpacesSpec
Specification for the GetSpaces operation.
Get spaces
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedConstructs a validated instance ofGetSpacesOperationSpec.GetSpacesOperationSpec(List<String> spaceKey, List<Long> spaceId, String type, String status, List<String> label, Boolean favourite, String favouriteUserKey, List<String> expand, Integer start, Integer limit) Constructs a validated instance ofGetSpacesOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleanexpand()A multi-value parameter indicating which properties of the spaces to expand, where: -settingsreturns the settings for the space, similar to [Get space settings](#api-space-spaceKey-settings-get).A multi-value parameter indicating which properties of the spaces to expand, where: -settingsreturns the settings for the space, similar to [Get space settings](#api-space-spaceKey-settings-get).@Nullable BooleanFilter the results to the favourite spaces of the user specified byfavouriteUserKey.Filter the results to the favourite spaces of the user specified byfavouriteUserKey.@Nullable StringThe userKey of the user, whose favourite spaces are used to filter the results when using thefavouriteparameter.favouriteUserKey(@Nullable String favouriteUserKey) The userKey of the user, whose favourite spaces are used to filter the results when using thefavouriteparameter.inthashCode()label()Filter the results to spaces based on their label.Filter the results to spaces based on their label.@Nullable Integerlimit()The maximum number of spaces to return per page.The maximum number of spaces to return per page.spaceId()The id of the space to be returned.The id of the space to be returned.spaceKey()The key of the space to be returned.The key of the space to be returned.@Nullable Integerstart()The starting index of the returned spaces.The starting index of the returned spaces.@Nullable Stringstatus()Filter the results to spaces based on their status.Filter the results to spaces based on their status.toString()@Nullable Stringtype()Filter the results to spaces based on their type.Filter the results to spaces based on their type.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetSpacesOperationSpec
Constructs a validated instance ofGetSpacesOperationSpec.- Parameter:
spec- the specification to process
-
GetSpacesOperationSpec
@Internal public GetSpacesOperationSpec(List<String> spaceKey, List<Long> spaceId, String type, String status, List<String> label, Boolean favourite, String favouriteUserKey, List<String> expand, Integer start, Integer limit) Constructs a validated instance ofGetSpacesOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
spaceKey- The key of the space to be returned. To return multiple spaces, specify this parameter multiple times with different values.spaceId- The id of the space to be returned. To return multiple spaces, specify this parameter multiple times with different values.type- Filter the results to spaces based on their type.status- Filter the results to spaces based on their status.label- Filter the results to spaces based on their label.favourite- Filter the results to the favourite spaces of the user specified byfavouriteUserKey. Note, 'favourite' spaces are also known as 'saved for later' spaces.favouriteUserKey- The userKey of the user, whose favourite spaces are used to filter the results when using thefavouriteparameter. Leave blank for the current user. Use [Get user](#api-user-get) to get the userKey for a user.expand- A multi-value parameter indicating which properties of the spaces to expand, where: -settingsreturns the settings for the space, similar to [Get space settings](#api-space-spaceKey-settings-get). -metadatareturns the space metadata. -metadata.labelsreturns the space labels, which are used to categorize the space. -operationsreturns the operations for a space, which are used when setting permissions. -lookAndFeelreturns information about the look and feel of the space, including the color scheme. -permissionsreturns the permissions for the space. Note that this may return permissions for deleted groups, because deleting a group doesn't remove associated space permissions. -iconreturns information about space icon. -descriptionreturns the description of the space. -description.plainreturns the description of the space, the plain format. -description.viewreturns the description of the space, the view format. -themereturns information about the space theme. -homepagereturns information about the space homepage. -historyreturns information about the history of the space.start- The starting index of the returned spaces.limit- The maximum number of spaces to return per page. Note, this may be restricted by fixed system limits.
-
GetSpacesOperationSpec
protected GetSpacesOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
spaceKey
The key of the space to be returned. To return multiple spaces, specify this parameter multiple times with different values. -
spaceId
The id of the space to be returned. To return multiple spaces, specify this parameter multiple times with different values. -
type
Filter the results to spaces based on their type. -
status
Filter the results to spaces based on their status. -
label
Filter the results to spaces based on their label. -
favourite
Filter the results to the favourite spaces of the user specified byfavouriteUserKey. Note, 'favourite' spaces are also known as 'saved for later' spaces. -
favouriteUserKey
The userKey of the user, whose favourite spaces are used to filter the results when using thefavouriteparameter. Leave blank for the current user. Use [Get user](#api-user-get) to get the userKey for a user. -
expand
A multi-value parameter indicating which properties of the spaces to expand, where: -settingsreturns the settings for the space, similar to [Get space settings](#api-space-spaceKey-settings-get). -metadatareturns the space metadata. -metadata.labelsreturns the space labels, which are used to categorize the space. -operationsreturns the operations for a space, which are used when setting permissions. -lookAndFeelreturns information about the look and feel of the space, including the color scheme. -permissionsreturns the permissions for the space. Note that this may return permissions for deleted groups, because deleting a group doesn't remove associated space permissions. -iconreturns information about space icon. -descriptionreturns the description of the space. -description.plainreturns the description of the space, the plain format. -description.viewreturns the description of the space, the view format. -themereturns information about the space theme. -homepagereturns information about the space homepage. -historyreturns information about the history of the space. -
start
The starting index of the returned spaces. -
limit
The maximum number of spaces to return per page. Note, this may be restricted by fixed system limits. -
spaceKey
The key of the space to be returned. To return multiple spaces, specify this parameter multiple times with different values.- Gibt zurück:
this.
-
spaceId
The id of the space to be returned. To return multiple spaces, specify this parameter multiple times with different values.- Gibt zurück:
this.
-
type
Filter the results to spaces based on their type.- Gibt zurück:
this.
-
status
Filter the results to spaces based on their status.- Gibt zurück:
this.
-
label
Filter the results to spaces based on their label.- Gibt zurück:
this.
-
favourite
Filter the results to the favourite spaces of the user specified byfavouriteUserKey. Note, 'favourite' spaces are also known as 'saved for later' spaces.- Gibt zurück:
this.
-
favouriteUserKey
The userKey of the user, whose favourite spaces are used to filter the results when using thefavouriteparameter. Leave blank for the current user. Use [Get user](#api-user-get) to get the userKey for a user.- Gibt zurück:
this.
-
expand
A multi-value parameter indicating which properties of the spaces to expand, where: -settingsreturns the settings for the space, similar to [Get space settings](#api-space-spaceKey-settings-get). -metadatareturns the space metadata. -metadata.labelsreturns the space labels, which are used to categorize the space. -operationsreturns the operations for a space, which are used when setting permissions. -lookAndFeelreturns information about the look and feel of the space, including the color scheme. -permissionsreturns the permissions for the space. Note that this may return permissions for deleted groups, because deleting a group doesn't remove associated space permissions. -iconreturns information about space icon. -descriptionreturns the description of the space. -description.plainreturns the description of the space, the plain format. -description.viewreturns the description of the space, the view format. -themereturns information about the space theme. -homepagereturns information about the space homepage. -historyreturns information about the history of the space.- Gibt zurück:
this.
-
start
The starting index of the returned spaces.- Gibt zurück:
this.
-
limit
The maximum number of spaces to return per page. Note, this may be restricted by fixed system limits.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-