ListSpacesResponse
ListSpacesResponse documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Spaces | Pointer to []Space | The list of spaces matching the query criteria. | [optional] |
| NextToken | Pointer to NullableString | Pagination token for retrieving the next set of results. Only present if there are more results available. | [optional] |
Methods
NewListSpacesResponse
func NewListSpacesResponse() *ListSpacesResponse
NewListSpacesResponse instantiates a new ListSpacesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewListSpacesResponseWithDefaults
func NewListSpacesResponseWithDefaults() *ListSpacesResponse
NewListSpacesResponseWithDefaults instantiates a new ListSpacesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetSpaces
func (o *ListSpacesResponse) GetSpaces() []Space
GetSpaces returns the Spaces field if non-nil, zero value otherwise.
GetSpacesOk
func (o *ListSpacesResponse) GetSpacesOk() (*[]Space, bool)
GetSpacesOk returns a tuple with the Spaces field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSpaces
func (o *ListSpacesResponse) SetSpaces(v []Space)
SetSpaces sets Spaces field to given value.
HasSpaces
func (o *ListSpacesResponse) HasSpaces() bool
HasSpaces returns a boolean if a field has been set.
GetNextToken
func (o *ListSpacesResponse) GetNextToken() string
GetNextToken returns the NextToken field if non-nil, zero value otherwise.
GetNextTokenOk
func (o *ListSpacesResponse) GetNextTokenOk() (*string, bool)
GetNextTokenOk returns a tuple with the NextToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNextToken
func (o *ListSpacesResponse) SetNextToken(v string)
SetNextToken sets NextToken field to given value.
HasNextToken
func (o *ListSpacesResponse) HasNextToken() bool
HasNextToken returns a boolean if a field has been set.
SetNextTokenNil
func (o *ListSpacesResponse) SetNextTokenNil(b bool)
SetNextTokenNil sets the value for NextToken to be an explicit nil
UnsetNextToken
func (o *ListSpacesResponse) UnsetNextToken()
UnsetNextToken ensures that no value is present for NextToken, not even an explicit nil