Documentation ¶
Index ¶
- type AllSpacesBadRequest
- type AllSpacesNotFound
- type AllSpacesOK
- type AllSpacesParams
- func (o *AllSpacesParams) SetContext(ctx context.Context)
- func (o *AllSpacesParams) SetFields(fields *string)
- func (o *AllSpacesParams) SetHTTPClient(client *http.Client)
- func (o *AllSpacesParams) SetTimeout(timeout time.Duration)
- func (o *AllSpacesParams) WithContext(ctx context.Context) *AllSpacesParams
- func (o *AllSpacesParams) WithFields(fields *string) *AllSpacesParams
- func (o *AllSpacesParams) WithHTTPClient(client *http.Client) *AllSpacesParams
- func (o *AllSpacesParams) WithTimeout(timeout time.Duration) *AllSpacesParams
- func (o *AllSpacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllSpacesReader
- type Client
- func (a *Client) AllSpaces(params *AllSpacesParams) (*AllSpacesOK, error)
- func (a *Client) CreateSpace(params *CreateSpaceParams) (*CreateSpaceOK, error)
- func (a *Client) DeleteSpace(params *DeleteSpaceParams) (*DeleteSpaceNoContent, error)
- func (a *Client) SearchSpaces(params *SearchSpacesParams) (*SearchSpacesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Space(params *SpaceParams) (*SpaceOK, error)
- func (a *Client) SpaceAncestors(params *SpaceAncestorsParams) (*SpaceAncestorsOK, error)
- func (a *Client) SpaceChildren(params *SpaceChildrenParams) (*SpaceChildrenOK, error)
- func (a *Client) SpaceChildrenSearch(params *SpaceChildrenSearchParams) (*SpaceChildrenSearchOK, error)
- func (a *Client) SpaceDashboards(params *SpaceDashboardsParams) (*SpaceDashboardsOK, error)
- func (a *Client) SpaceLooks(params *SpaceLooksParams) (*SpaceLooksOK, error)
- func (a *Client) SpaceParent(params *SpaceParentParams) (*SpaceParentOK, error)
- func (a *Client) UpdateSpace(params *UpdateSpaceParams) (*UpdateSpaceOK, error)
- type CreateSpaceBadRequest
- type CreateSpaceConflict
- type CreateSpaceNotFound
- type CreateSpaceOK
- type CreateSpaceParams
- func (o *CreateSpaceParams) SetBody(body *models.Space)
- func (o *CreateSpaceParams) SetContext(ctx context.Context)
- func (o *CreateSpaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateSpaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateSpaceParams) WithBody(body *models.Space) *CreateSpaceParams
- func (o *CreateSpaceParams) WithContext(ctx context.Context) *CreateSpaceParams
- func (o *CreateSpaceParams) WithHTTPClient(client *http.Client) *CreateSpaceParams
- func (o *CreateSpaceParams) WithTimeout(timeout time.Duration) *CreateSpaceParams
- func (o *CreateSpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSpaceReader
- type CreateSpaceUnprocessableEntity
- type DeleteSpaceBadRequest
- type DeleteSpaceNoContent
- type DeleteSpaceNotFound
- type DeleteSpaceParams
- func (o *DeleteSpaceParams) SetContext(ctx context.Context)
- func (o *DeleteSpaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSpaceParams) SetSpaceID(spaceID string)
- func (o *DeleteSpaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSpaceParams) WithContext(ctx context.Context) *DeleteSpaceParams
- func (o *DeleteSpaceParams) WithHTTPClient(client *http.Client) *DeleteSpaceParams
- func (o *DeleteSpaceParams) WithSpaceID(spaceID string) *DeleteSpaceParams
- func (o *DeleteSpaceParams) WithTimeout(timeout time.Duration) *DeleteSpaceParams
- func (o *DeleteSpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSpaceReader
- type SearchSpacesBadRequest
- type SearchSpacesNotFound
- type SearchSpacesOK
- type SearchSpacesParams
- func (o *SearchSpacesParams) SetContext(ctx context.Context)
- func (o *SearchSpacesParams) SetCreatorID(creatorID *string)
- func (o *SearchSpacesParams) SetFields(fields *string)
- func (o *SearchSpacesParams) SetFilterOr(filterOr *bool)
- func (o *SearchSpacesParams) SetHTTPClient(client *http.Client)
- func (o *SearchSpacesParams) SetID(id *int64)
- func (o *SearchSpacesParams) SetLimit(limit *int64)
- func (o *SearchSpacesParams) SetName(name *string)
- func (o *SearchSpacesParams) SetOffset(offset *int64)
- func (o *SearchSpacesParams) SetPage(page *int64)
- func (o *SearchSpacesParams) SetParentID(parentID *string)
- func (o *SearchSpacesParams) SetPerPage(perPage *int64)
- func (o *SearchSpacesParams) SetSorts(sorts *string)
- func (o *SearchSpacesParams) SetTimeout(timeout time.Duration)
- func (o *SearchSpacesParams) WithContext(ctx context.Context) *SearchSpacesParams
- func (o *SearchSpacesParams) WithCreatorID(creatorID *string) *SearchSpacesParams
- func (o *SearchSpacesParams) WithFields(fields *string) *SearchSpacesParams
- func (o *SearchSpacesParams) WithFilterOr(filterOr *bool) *SearchSpacesParams
- func (o *SearchSpacesParams) WithHTTPClient(client *http.Client) *SearchSpacesParams
- func (o *SearchSpacesParams) WithID(id *int64) *SearchSpacesParams
- func (o *SearchSpacesParams) WithLimit(limit *int64) *SearchSpacesParams
- func (o *SearchSpacesParams) WithName(name *string) *SearchSpacesParams
- func (o *SearchSpacesParams) WithOffset(offset *int64) *SearchSpacesParams
- func (o *SearchSpacesParams) WithPage(page *int64) *SearchSpacesParams
- func (o *SearchSpacesParams) WithParentID(parentID *string) *SearchSpacesParams
- func (o *SearchSpacesParams) WithPerPage(perPage *int64) *SearchSpacesParams
- func (o *SearchSpacesParams) WithSorts(sorts *string) *SearchSpacesParams
- func (o *SearchSpacesParams) WithTimeout(timeout time.Duration) *SearchSpacesParams
- func (o *SearchSpacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchSpacesReader
- type SpaceAncestorsBadRequest
- type SpaceAncestorsNotFound
- type SpaceAncestorsOK
- type SpaceAncestorsParams
- func NewSpaceAncestorsParams() *SpaceAncestorsParams
- func NewSpaceAncestorsParamsWithContext(ctx context.Context) *SpaceAncestorsParams
- func NewSpaceAncestorsParamsWithHTTPClient(client *http.Client) *SpaceAncestorsParams
- func NewSpaceAncestorsParamsWithTimeout(timeout time.Duration) *SpaceAncestorsParams
- func (o *SpaceAncestorsParams) SetContext(ctx context.Context)
- func (o *SpaceAncestorsParams) SetFields(fields *string)
- func (o *SpaceAncestorsParams) SetHTTPClient(client *http.Client)
- func (o *SpaceAncestorsParams) SetSpaceID(spaceID string)
- func (o *SpaceAncestorsParams) SetTimeout(timeout time.Duration)
- func (o *SpaceAncestorsParams) WithContext(ctx context.Context) *SpaceAncestorsParams
- func (o *SpaceAncestorsParams) WithFields(fields *string) *SpaceAncestorsParams
- func (o *SpaceAncestorsParams) WithHTTPClient(client *http.Client) *SpaceAncestorsParams
- func (o *SpaceAncestorsParams) WithSpaceID(spaceID string) *SpaceAncestorsParams
- func (o *SpaceAncestorsParams) WithTimeout(timeout time.Duration) *SpaceAncestorsParams
- func (o *SpaceAncestorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SpaceAncestorsReader
- type SpaceBadRequest
- type SpaceChildrenBadRequest
- type SpaceChildrenNotFound
- type SpaceChildrenOK
- type SpaceChildrenParams
- func (o *SpaceChildrenParams) SetContext(ctx context.Context)
- func (o *SpaceChildrenParams) SetFields(fields *string)
- func (o *SpaceChildrenParams) SetHTTPClient(client *http.Client)
- func (o *SpaceChildrenParams) SetPage(page *int64)
- func (o *SpaceChildrenParams) SetPerPage(perPage *int64)
- func (o *SpaceChildrenParams) SetSorts(sorts *string)
- func (o *SpaceChildrenParams) SetSpaceID(spaceID string)
- func (o *SpaceChildrenParams) SetTimeout(timeout time.Duration)
- func (o *SpaceChildrenParams) WithContext(ctx context.Context) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WithFields(fields *string) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WithHTTPClient(client *http.Client) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WithPage(page *int64) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WithPerPage(perPage *int64) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WithSorts(sorts *string) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WithSpaceID(spaceID string) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WithTimeout(timeout time.Duration) *SpaceChildrenParams
- func (o *SpaceChildrenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SpaceChildrenReader
- type SpaceChildrenSearchBadRequest
- type SpaceChildrenSearchNotFound
- type SpaceChildrenSearchOK
- type SpaceChildrenSearchParams
- func NewSpaceChildrenSearchParams() *SpaceChildrenSearchParams
- func NewSpaceChildrenSearchParamsWithContext(ctx context.Context) *SpaceChildrenSearchParams
- func NewSpaceChildrenSearchParamsWithHTTPClient(client *http.Client) *SpaceChildrenSearchParams
- func NewSpaceChildrenSearchParamsWithTimeout(timeout time.Duration) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) SetContext(ctx context.Context)
- func (o *SpaceChildrenSearchParams) SetFields(fields *string)
- func (o *SpaceChildrenSearchParams) SetHTTPClient(client *http.Client)
- func (o *SpaceChildrenSearchParams) SetName(name *string)
- func (o *SpaceChildrenSearchParams) SetSorts(sorts *string)
- func (o *SpaceChildrenSearchParams) SetSpaceID(spaceID string)
- func (o *SpaceChildrenSearchParams) SetTimeout(timeout time.Duration)
- func (o *SpaceChildrenSearchParams) WithContext(ctx context.Context) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) WithFields(fields *string) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) WithHTTPClient(client *http.Client) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) WithName(name *string) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) WithSorts(sorts *string) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) WithSpaceID(spaceID string) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) WithTimeout(timeout time.Duration) *SpaceChildrenSearchParams
- func (o *SpaceChildrenSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SpaceChildrenSearchReader
- type SpaceDashboardsBadRequest
- type SpaceDashboardsNotFound
- type SpaceDashboardsOK
- type SpaceDashboardsParams
- func NewSpaceDashboardsParams() *SpaceDashboardsParams
- func NewSpaceDashboardsParamsWithContext(ctx context.Context) *SpaceDashboardsParams
- func NewSpaceDashboardsParamsWithHTTPClient(client *http.Client) *SpaceDashboardsParams
- func NewSpaceDashboardsParamsWithTimeout(timeout time.Duration) *SpaceDashboardsParams
- func (o *SpaceDashboardsParams) SetContext(ctx context.Context)
- func (o *SpaceDashboardsParams) SetFields(fields *string)
- func (o *SpaceDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *SpaceDashboardsParams) SetSpaceID(spaceID string)
- func (o *SpaceDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *SpaceDashboardsParams) WithContext(ctx context.Context) *SpaceDashboardsParams
- func (o *SpaceDashboardsParams) WithFields(fields *string) *SpaceDashboardsParams
- func (o *SpaceDashboardsParams) WithHTTPClient(client *http.Client) *SpaceDashboardsParams
- func (o *SpaceDashboardsParams) WithSpaceID(spaceID string) *SpaceDashboardsParams
- func (o *SpaceDashboardsParams) WithTimeout(timeout time.Duration) *SpaceDashboardsParams
- func (o *SpaceDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SpaceDashboardsReader
- type SpaceLooksBadRequest
- type SpaceLooksNotFound
- type SpaceLooksOK
- type SpaceLooksParams
- func (o *SpaceLooksParams) SetContext(ctx context.Context)
- func (o *SpaceLooksParams) SetFields(fields *string)
- func (o *SpaceLooksParams) SetHTTPClient(client *http.Client)
- func (o *SpaceLooksParams) SetSpaceID(spaceID string)
- func (o *SpaceLooksParams) SetTimeout(timeout time.Duration)
- func (o *SpaceLooksParams) WithContext(ctx context.Context) *SpaceLooksParams
- func (o *SpaceLooksParams) WithFields(fields *string) *SpaceLooksParams
- func (o *SpaceLooksParams) WithHTTPClient(client *http.Client) *SpaceLooksParams
- func (o *SpaceLooksParams) WithSpaceID(spaceID string) *SpaceLooksParams
- func (o *SpaceLooksParams) WithTimeout(timeout time.Duration) *SpaceLooksParams
- func (o *SpaceLooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SpaceLooksReader
- type SpaceNotFound
- type SpaceOK
- type SpaceParams
- func (o *SpaceParams) SetContext(ctx context.Context)
- func (o *SpaceParams) SetFields(fields *string)
- func (o *SpaceParams) SetHTTPClient(client *http.Client)
- func (o *SpaceParams) SetSpaceID(spaceID string)
- func (o *SpaceParams) SetTimeout(timeout time.Duration)
- func (o *SpaceParams) WithContext(ctx context.Context) *SpaceParams
- func (o *SpaceParams) WithFields(fields *string) *SpaceParams
- func (o *SpaceParams) WithHTTPClient(client *http.Client) *SpaceParams
- func (o *SpaceParams) WithSpaceID(spaceID string) *SpaceParams
- func (o *SpaceParams) WithTimeout(timeout time.Duration) *SpaceParams
- func (o *SpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SpaceParentBadRequest
- type SpaceParentNotFound
- type SpaceParentOK
- type SpaceParentParams
- func (o *SpaceParentParams) SetContext(ctx context.Context)
- func (o *SpaceParentParams) SetFields(fields *string)
- func (o *SpaceParentParams) SetHTTPClient(client *http.Client)
- func (o *SpaceParentParams) SetSpaceID(spaceID string)
- func (o *SpaceParentParams) SetTimeout(timeout time.Duration)
- func (o *SpaceParentParams) WithContext(ctx context.Context) *SpaceParentParams
- func (o *SpaceParentParams) WithFields(fields *string) *SpaceParentParams
- func (o *SpaceParentParams) WithHTTPClient(client *http.Client) *SpaceParentParams
- func (o *SpaceParentParams) WithSpaceID(spaceID string) *SpaceParentParams
- func (o *SpaceParentParams) WithTimeout(timeout time.Duration) *SpaceParentParams
- func (o *SpaceParentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SpaceParentReader
- type SpaceReader
- type UpdateSpaceBadRequest
- type UpdateSpaceNotFound
- type UpdateSpaceOK
- type UpdateSpaceParams
- func (o *UpdateSpaceParams) SetBody(body *models.Space)
- func (o *UpdateSpaceParams) SetContext(ctx context.Context)
- func (o *UpdateSpaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSpaceParams) SetSpaceID(spaceID string)
- func (o *UpdateSpaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSpaceParams) WithBody(body *models.Space) *UpdateSpaceParams
- func (o *UpdateSpaceParams) WithContext(ctx context.Context) *UpdateSpaceParams
- func (o *UpdateSpaceParams) WithHTTPClient(client *http.Client) *UpdateSpaceParams
- func (o *UpdateSpaceParams) WithSpaceID(spaceID string) *UpdateSpaceParams
- func (o *UpdateSpaceParams) WithTimeout(timeout time.Duration) *UpdateSpaceParams
- func (o *UpdateSpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSpaceReader
- type UpdateSpaceUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllSpacesBadRequest ¶
AllSpacesBadRequest handles this case with default header values.
Bad Request
func NewAllSpacesBadRequest ¶
func NewAllSpacesBadRequest() *AllSpacesBadRequest
NewAllSpacesBadRequest creates a AllSpacesBadRequest with default headers values
func (*AllSpacesBadRequest) Error ¶
func (o *AllSpacesBadRequest) Error() string
func (*AllSpacesBadRequest) GetPayload ¶
func (o *AllSpacesBadRequest) GetPayload() *models.Error
type AllSpacesNotFound ¶
AllSpacesNotFound handles this case with default header values.
Not Found
func NewAllSpacesNotFound ¶
func NewAllSpacesNotFound() *AllSpacesNotFound
NewAllSpacesNotFound creates a AllSpacesNotFound with default headers values
func (*AllSpacesNotFound) Error ¶
func (o *AllSpacesNotFound) Error() string
func (*AllSpacesNotFound) GetPayload ¶
func (o *AllSpacesNotFound) GetPayload() *models.Error
type AllSpacesOK ¶
AllSpacesOK handles this case with default header values.
Space
func NewAllSpacesOK ¶
func NewAllSpacesOK() *AllSpacesOK
NewAllSpacesOK creates a AllSpacesOK with default headers values
func (*AllSpacesOK) Error ¶
func (o *AllSpacesOK) Error() string
func (*AllSpacesOK) GetPayload ¶
func (o *AllSpacesOK) GetPayload() []*models.SpaceBase
type AllSpacesParams ¶
type AllSpacesParams struct { /*Fields Requested fields. */ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllSpacesParams contains all the parameters to send to the API endpoint for the all spaces operation typically these are written to a http.Request
func NewAllSpacesParams ¶
func NewAllSpacesParams() *AllSpacesParams
NewAllSpacesParams creates a new AllSpacesParams object with the default values initialized.
func NewAllSpacesParamsWithContext ¶
func NewAllSpacesParamsWithContext(ctx context.Context) *AllSpacesParams
NewAllSpacesParamsWithContext creates a new AllSpacesParams object with the default values initialized, and the ability to set a context for a request
func NewAllSpacesParamsWithHTTPClient ¶
func NewAllSpacesParamsWithHTTPClient(client *http.Client) *AllSpacesParams
NewAllSpacesParamsWithHTTPClient creates a new AllSpacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAllSpacesParamsWithTimeout ¶
func NewAllSpacesParamsWithTimeout(timeout time.Duration) *AllSpacesParams
NewAllSpacesParamsWithTimeout creates a new AllSpacesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AllSpacesParams) SetContext ¶
func (o *AllSpacesParams) SetContext(ctx context.Context)
SetContext adds the context to the all spaces params
func (*AllSpacesParams) SetFields ¶
func (o *AllSpacesParams) SetFields(fields *string)
SetFields adds the fields to the all spaces params
func (*AllSpacesParams) SetHTTPClient ¶
func (o *AllSpacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all spaces params
func (*AllSpacesParams) SetTimeout ¶
func (o *AllSpacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all spaces params
func (*AllSpacesParams) WithContext ¶
func (o *AllSpacesParams) WithContext(ctx context.Context) *AllSpacesParams
WithContext adds the context to the all spaces params
func (*AllSpacesParams) WithFields ¶
func (o *AllSpacesParams) WithFields(fields *string) *AllSpacesParams
WithFields adds the fields to the all spaces params
func (*AllSpacesParams) WithHTTPClient ¶
func (o *AllSpacesParams) WithHTTPClient(client *http.Client) *AllSpacesParams
WithHTTPClient adds the HTTPClient to the all spaces params
func (*AllSpacesParams) WithTimeout ¶
func (o *AllSpacesParams) WithTimeout(timeout time.Duration) *AllSpacesParams
WithTimeout adds the timeout to the all spaces params
func (*AllSpacesParams) WriteToRequest ¶
func (o *AllSpacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllSpacesReader ¶
type AllSpacesReader struct {
// contains filtered or unexported fields
}
AllSpacesReader is a Reader for the AllSpaces structure.
func (*AllSpacesReader) ReadResponse ¶
func (o *AllSpacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for space API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new space API client.
func (*Client) AllSpaces ¶
func (a *Client) AllSpaces(params *AllSpacesParams) (*AllSpacesOK, error)
AllSpaces gets all spaces
### Get information about all spaces.
func (*Client) CreateSpace ¶
func (a *Client) CreateSpace(params *CreateSpaceParams) (*CreateSpaceOK, error)
CreateSpace creates space
### Create a space with specified information.
Caller must have permission to edit the parent space and to create spaces, otherwise the request returns 404 Not Found.
func (*Client) DeleteSpace ¶
func (a *Client) DeleteSpace(params *DeleteSpaceParams) (*DeleteSpaceNoContent, error)
DeleteSpace deletes space
### Delete the space with a specific id including any children spaces. **DANGER** this will delete all looks and dashboards in the space.
func (*Client) SearchSpaces ¶
func (a *Client) SearchSpaces(params *SearchSpacesParams) (*SearchSpacesOK, error)
SearchSpaces searches spaces
### Search Spaces
Returns an **array of space objects** that match the given search criteria. If multiple search params are given and `filter_or` is FALSE or not specified,
search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
The parameters `limit`, and `offset` are recommended for fetching results in page-size chunks. Get a **single space** by id with [Space](#!/Space/space)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Space ¶
func (a *Client) Space(params *SpaceParams) (*SpaceOK, error)
Space gets space
### Get information about the space with a specific id.
func (*Client) SpaceAncestors ¶
func (a *Client) SpaceAncestors(params *SpaceAncestorsParams) (*SpaceAncestorsOK, error)
SpaceAncestors gets space ancestors
### Get the ancestors of a space
func (*Client) SpaceChildren ¶
func (a *Client) SpaceChildren(params *SpaceChildrenParams) (*SpaceChildrenOK, error)
SpaceChildren gets space children
### Get the children of a space.
func (*Client) SpaceChildrenSearch ¶
func (a *Client) SpaceChildrenSearch(params *SpaceChildrenSearchParams) (*SpaceChildrenSearchOK, error)
SpaceChildrenSearch searches space children
### Search the children of a space
func (*Client) SpaceDashboards ¶
func (a *Client) SpaceDashboards(params *SpaceDashboardsParams) (*SpaceDashboardsOK, error)
SpaceDashboards gets space dashboards
### Get the dashboards in a space
func (*Client) SpaceLooks ¶
func (a *Client) SpaceLooks(params *SpaceLooksParams) (*SpaceLooksOK, error)
SpaceLooks gets space looks
### Get the looks in a space
func (*Client) SpaceParent ¶
func (a *Client) SpaceParent(params *SpaceParentParams) (*SpaceParentOK, error)
SpaceParent gets space parent
### Get the parent of a space
func (*Client) UpdateSpace ¶
func (a *Client) UpdateSpace(params *UpdateSpaceParams) (*UpdateSpaceOK, error)
UpdateSpace updates space
### Update the space with a specific id.
type CreateSpaceBadRequest ¶
CreateSpaceBadRequest handles this case with default header values.
Bad Request
func NewCreateSpaceBadRequest ¶
func NewCreateSpaceBadRequest() *CreateSpaceBadRequest
NewCreateSpaceBadRequest creates a CreateSpaceBadRequest with default headers values
func (*CreateSpaceBadRequest) Error ¶
func (o *CreateSpaceBadRequest) Error() string
func (*CreateSpaceBadRequest) GetPayload ¶
func (o *CreateSpaceBadRequest) GetPayload() *models.Error
type CreateSpaceConflict ¶
CreateSpaceConflict handles this case with default header values.
Resource Already Exists
func NewCreateSpaceConflict ¶
func NewCreateSpaceConflict() *CreateSpaceConflict
NewCreateSpaceConflict creates a CreateSpaceConflict with default headers values
func (*CreateSpaceConflict) Error ¶
func (o *CreateSpaceConflict) Error() string
func (*CreateSpaceConflict) GetPayload ¶
func (o *CreateSpaceConflict) GetPayload() *models.Error
type CreateSpaceNotFound ¶
CreateSpaceNotFound handles this case with default header values.
Not Found
func NewCreateSpaceNotFound ¶
func NewCreateSpaceNotFound() *CreateSpaceNotFound
NewCreateSpaceNotFound creates a CreateSpaceNotFound with default headers values
func (*CreateSpaceNotFound) Error ¶
func (o *CreateSpaceNotFound) Error() string
func (*CreateSpaceNotFound) GetPayload ¶
func (o *CreateSpaceNotFound) GetPayload() *models.Error
type CreateSpaceOK ¶
CreateSpaceOK handles this case with default header values.
Space
func NewCreateSpaceOK ¶
func NewCreateSpaceOK() *CreateSpaceOK
NewCreateSpaceOK creates a CreateSpaceOK with default headers values
func (*CreateSpaceOK) Error ¶
func (o *CreateSpaceOK) Error() string
func (*CreateSpaceOK) GetPayload ¶
func (o *CreateSpaceOK) GetPayload() *models.Space
type CreateSpaceParams ¶
type CreateSpaceParams struct { /*Body Create a new space */ Body *models.Space Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSpaceParams contains all the parameters to send to the API endpoint for the create space operation typically these are written to a http.Request
func NewCreateSpaceParams ¶
func NewCreateSpaceParams() *CreateSpaceParams
NewCreateSpaceParams creates a new CreateSpaceParams object with the default values initialized.
func NewCreateSpaceParamsWithContext ¶
func NewCreateSpaceParamsWithContext(ctx context.Context) *CreateSpaceParams
NewCreateSpaceParamsWithContext creates a new CreateSpaceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSpaceParamsWithHTTPClient ¶
func NewCreateSpaceParamsWithHTTPClient(client *http.Client) *CreateSpaceParams
NewCreateSpaceParamsWithHTTPClient creates a new CreateSpaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSpaceParamsWithTimeout ¶
func NewCreateSpaceParamsWithTimeout(timeout time.Duration) *CreateSpaceParams
NewCreateSpaceParamsWithTimeout creates a new CreateSpaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSpaceParams) SetBody ¶
func (o *CreateSpaceParams) SetBody(body *models.Space)
SetBody adds the body to the create space params
func (*CreateSpaceParams) SetContext ¶
func (o *CreateSpaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create space params
func (*CreateSpaceParams) SetHTTPClient ¶
func (o *CreateSpaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create space params
func (*CreateSpaceParams) SetTimeout ¶
func (o *CreateSpaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create space params
func (*CreateSpaceParams) WithBody ¶
func (o *CreateSpaceParams) WithBody(body *models.Space) *CreateSpaceParams
WithBody adds the body to the create space params
func (*CreateSpaceParams) WithContext ¶
func (o *CreateSpaceParams) WithContext(ctx context.Context) *CreateSpaceParams
WithContext adds the context to the create space params
func (*CreateSpaceParams) WithHTTPClient ¶
func (o *CreateSpaceParams) WithHTTPClient(client *http.Client) *CreateSpaceParams
WithHTTPClient adds the HTTPClient to the create space params
func (*CreateSpaceParams) WithTimeout ¶
func (o *CreateSpaceParams) WithTimeout(timeout time.Duration) *CreateSpaceParams
WithTimeout adds the timeout to the create space params
func (*CreateSpaceParams) WriteToRequest ¶
func (o *CreateSpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSpaceReader ¶
type CreateSpaceReader struct {
// contains filtered or unexported fields
}
CreateSpaceReader is a Reader for the CreateSpace structure.
func (*CreateSpaceReader) ReadResponse ¶
func (o *CreateSpaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSpaceUnprocessableEntity ¶
type CreateSpaceUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateSpaceUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreateSpaceUnprocessableEntity ¶
func NewCreateSpaceUnprocessableEntity() *CreateSpaceUnprocessableEntity
NewCreateSpaceUnprocessableEntity creates a CreateSpaceUnprocessableEntity with default headers values
func (*CreateSpaceUnprocessableEntity) Error ¶
func (o *CreateSpaceUnprocessableEntity) Error() string
func (*CreateSpaceUnprocessableEntity) GetPayload ¶
func (o *CreateSpaceUnprocessableEntity) GetPayload() *models.ValidationError
type DeleteSpaceBadRequest ¶
DeleteSpaceBadRequest handles this case with default header values.
Bad Request
func NewDeleteSpaceBadRequest ¶
func NewDeleteSpaceBadRequest() *DeleteSpaceBadRequest
NewDeleteSpaceBadRequest creates a DeleteSpaceBadRequest with default headers values
func (*DeleteSpaceBadRequest) Error ¶
func (o *DeleteSpaceBadRequest) Error() string
func (*DeleteSpaceBadRequest) GetPayload ¶
func (o *DeleteSpaceBadRequest) GetPayload() *models.Error
type DeleteSpaceNoContent ¶
type DeleteSpaceNoContent struct {
Payload string
}
DeleteSpaceNoContent handles this case with default header values.
Successfully deleted.
func NewDeleteSpaceNoContent ¶
func NewDeleteSpaceNoContent() *DeleteSpaceNoContent
NewDeleteSpaceNoContent creates a DeleteSpaceNoContent with default headers values
func (*DeleteSpaceNoContent) Error ¶
func (o *DeleteSpaceNoContent) Error() string
func (*DeleteSpaceNoContent) GetPayload ¶
func (o *DeleteSpaceNoContent) GetPayload() string
type DeleteSpaceNotFound ¶
DeleteSpaceNotFound handles this case with default header values.
Not Found
func NewDeleteSpaceNotFound ¶
func NewDeleteSpaceNotFound() *DeleteSpaceNotFound
NewDeleteSpaceNotFound creates a DeleteSpaceNotFound with default headers values
func (*DeleteSpaceNotFound) Error ¶
func (o *DeleteSpaceNotFound) Error() string
func (*DeleteSpaceNotFound) GetPayload ¶
func (o *DeleteSpaceNotFound) GetPayload() *models.Error
type DeleteSpaceParams ¶
type DeleteSpaceParams struct { /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSpaceParams contains all the parameters to send to the API endpoint for the delete space operation typically these are written to a http.Request
func NewDeleteSpaceParams ¶
func NewDeleteSpaceParams() *DeleteSpaceParams
NewDeleteSpaceParams creates a new DeleteSpaceParams object with the default values initialized.
func NewDeleteSpaceParamsWithContext ¶
func NewDeleteSpaceParamsWithContext(ctx context.Context) *DeleteSpaceParams
NewDeleteSpaceParamsWithContext creates a new DeleteSpaceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSpaceParamsWithHTTPClient ¶
func NewDeleteSpaceParamsWithHTTPClient(client *http.Client) *DeleteSpaceParams
NewDeleteSpaceParamsWithHTTPClient creates a new DeleteSpaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSpaceParamsWithTimeout ¶
func NewDeleteSpaceParamsWithTimeout(timeout time.Duration) *DeleteSpaceParams
NewDeleteSpaceParamsWithTimeout creates a new DeleteSpaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSpaceParams) SetContext ¶
func (o *DeleteSpaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete space params
func (*DeleteSpaceParams) SetHTTPClient ¶
func (o *DeleteSpaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete space params
func (*DeleteSpaceParams) SetSpaceID ¶
func (o *DeleteSpaceParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the delete space params
func (*DeleteSpaceParams) SetTimeout ¶
func (o *DeleteSpaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete space params
func (*DeleteSpaceParams) WithContext ¶
func (o *DeleteSpaceParams) WithContext(ctx context.Context) *DeleteSpaceParams
WithContext adds the context to the delete space params
func (*DeleteSpaceParams) WithHTTPClient ¶
func (o *DeleteSpaceParams) WithHTTPClient(client *http.Client) *DeleteSpaceParams
WithHTTPClient adds the HTTPClient to the delete space params
func (*DeleteSpaceParams) WithSpaceID ¶
func (o *DeleteSpaceParams) WithSpaceID(spaceID string) *DeleteSpaceParams
WithSpaceID adds the spaceID to the delete space params
func (*DeleteSpaceParams) WithTimeout ¶
func (o *DeleteSpaceParams) WithTimeout(timeout time.Duration) *DeleteSpaceParams
WithTimeout adds the timeout to the delete space params
func (*DeleteSpaceParams) WriteToRequest ¶
func (o *DeleteSpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSpaceReader ¶
type DeleteSpaceReader struct {
// contains filtered or unexported fields
}
DeleteSpaceReader is a Reader for the DeleteSpace structure.
func (*DeleteSpaceReader) ReadResponse ¶
func (o *DeleteSpaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchSpacesBadRequest ¶
SearchSpacesBadRequest handles this case with default header values.
Bad Request
func NewSearchSpacesBadRequest ¶
func NewSearchSpacesBadRequest() *SearchSpacesBadRequest
NewSearchSpacesBadRequest creates a SearchSpacesBadRequest with default headers values
func (*SearchSpacesBadRequest) Error ¶
func (o *SearchSpacesBadRequest) Error() string
func (*SearchSpacesBadRequest) GetPayload ¶
func (o *SearchSpacesBadRequest) GetPayload() *models.Error
type SearchSpacesNotFound ¶
SearchSpacesNotFound handles this case with default header values.
Not Found
func NewSearchSpacesNotFound ¶
func NewSearchSpacesNotFound() *SearchSpacesNotFound
NewSearchSpacesNotFound creates a SearchSpacesNotFound with default headers values
func (*SearchSpacesNotFound) Error ¶
func (o *SearchSpacesNotFound) Error() string
func (*SearchSpacesNotFound) GetPayload ¶
func (o *SearchSpacesNotFound) GetPayload() *models.Error
type SearchSpacesOK ¶
SearchSpacesOK handles this case with default header values.
spaces
func NewSearchSpacesOK ¶
func NewSearchSpacesOK() *SearchSpacesOK
NewSearchSpacesOK creates a SearchSpacesOK with default headers values
func (*SearchSpacesOK) Error ¶
func (o *SearchSpacesOK) Error() string
func (*SearchSpacesOK) GetPayload ¶
func (o *SearchSpacesOK) GetPayload() []*models.Space
type SearchSpacesParams ¶
type SearchSpacesParams struct { /*CreatorID Filter on spaces created by a particular user. */ CreatorID *string /*Fields Requested fields. */ Fields *string /*FilterOr Combine given search criteria in a boolean OR expression */ FilterOr *bool /*ID Match Space id */ ID *int64 /*Limit Number of results to return. (used with offset and takes priority over page and per_page) */ Limit *int64 /*Name Match Space title. */ Name *string /*Offset Number of results to skip before returning any. (used with limit and takes priority over page and per_page) */ Offset *int64 /*Page Requested page. */ Page *int64 /*ParentID Filter on a children of a particular space. */ ParentID *string /*PerPage Results per page. */ PerPage *int64 /*Sorts Fields to sort by. */ Sorts *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchSpacesParams contains all the parameters to send to the API endpoint for the search spaces operation typically these are written to a http.Request
func NewSearchSpacesParams ¶
func NewSearchSpacesParams() *SearchSpacesParams
NewSearchSpacesParams creates a new SearchSpacesParams object with the default values initialized.
func NewSearchSpacesParamsWithContext ¶
func NewSearchSpacesParamsWithContext(ctx context.Context) *SearchSpacesParams
NewSearchSpacesParamsWithContext creates a new SearchSpacesParams object with the default values initialized, and the ability to set a context for a request
func NewSearchSpacesParamsWithHTTPClient ¶
func NewSearchSpacesParamsWithHTTPClient(client *http.Client) *SearchSpacesParams
NewSearchSpacesParamsWithHTTPClient creates a new SearchSpacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchSpacesParamsWithTimeout ¶
func NewSearchSpacesParamsWithTimeout(timeout time.Duration) *SearchSpacesParams
NewSearchSpacesParamsWithTimeout creates a new SearchSpacesParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchSpacesParams) SetContext ¶
func (o *SearchSpacesParams) SetContext(ctx context.Context)
SetContext adds the context to the search spaces params
func (*SearchSpacesParams) SetCreatorID ¶
func (o *SearchSpacesParams) SetCreatorID(creatorID *string)
SetCreatorID adds the creatorId to the search spaces params
func (*SearchSpacesParams) SetFields ¶
func (o *SearchSpacesParams) SetFields(fields *string)
SetFields adds the fields to the search spaces params
func (*SearchSpacesParams) SetFilterOr ¶
func (o *SearchSpacesParams) SetFilterOr(filterOr *bool)
SetFilterOr adds the filterOr to the search spaces params
func (*SearchSpacesParams) SetHTTPClient ¶
func (o *SearchSpacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search spaces params
func (*SearchSpacesParams) SetID ¶
func (o *SearchSpacesParams) SetID(id *int64)
SetID adds the id to the search spaces params
func (*SearchSpacesParams) SetLimit ¶
func (o *SearchSpacesParams) SetLimit(limit *int64)
SetLimit adds the limit to the search spaces params
func (*SearchSpacesParams) SetName ¶
func (o *SearchSpacesParams) SetName(name *string)
SetName adds the name to the search spaces params
func (*SearchSpacesParams) SetOffset ¶
func (o *SearchSpacesParams) SetOffset(offset *int64)
SetOffset adds the offset to the search spaces params
func (*SearchSpacesParams) SetPage ¶
func (o *SearchSpacesParams) SetPage(page *int64)
SetPage adds the page to the search spaces params
func (*SearchSpacesParams) SetParentID ¶
func (o *SearchSpacesParams) SetParentID(parentID *string)
SetParentID adds the parentId to the search spaces params
func (*SearchSpacesParams) SetPerPage ¶
func (o *SearchSpacesParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the search spaces params
func (*SearchSpacesParams) SetSorts ¶
func (o *SearchSpacesParams) SetSorts(sorts *string)
SetSorts adds the sorts to the search spaces params
func (*SearchSpacesParams) SetTimeout ¶
func (o *SearchSpacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search spaces params
func (*SearchSpacesParams) WithContext ¶
func (o *SearchSpacesParams) WithContext(ctx context.Context) *SearchSpacesParams
WithContext adds the context to the search spaces params
func (*SearchSpacesParams) WithCreatorID ¶
func (o *SearchSpacesParams) WithCreatorID(creatorID *string) *SearchSpacesParams
WithCreatorID adds the creatorID to the search spaces params
func (*SearchSpacesParams) WithFields ¶
func (o *SearchSpacesParams) WithFields(fields *string) *SearchSpacesParams
WithFields adds the fields to the search spaces params
func (*SearchSpacesParams) WithFilterOr ¶
func (o *SearchSpacesParams) WithFilterOr(filterOr *bool) *SearchSpacesParams
WithFilterOr adds the filterOr to the search spaces params
func (*SearchSpacesParams) WithHTTPClient ¶
func (o *SearchSpacesParams) WithHTTPClient(client *http.Client) *SearchSpacesParams
WithHTTPClient adds the HTTPClient to the search spaces params
func (*SearchSpacesParams) WithID ¶
func (o *SearchSpacesParams) WithID(id *int64) *SearchSpacesParams
WithID adds the id to the search spaces params
func (*SearchSpacesParams) WithLimit ¶
func (o *SearchSpacesParams) WithLimit(limit *int64) *SearchSpacesParams
WithLimit adds the limit to the search spaces params
func (*SearchSpacesParams) WithName ¶
func (o *SearchSpacesParams) WithName(name *string) *SearchSpacesParams
WithName adds the name to the search spaces params
func (*SearchSpacesParams) WithOffset ¶
func (o *SearchSpacesParams) WithOffset(offset *int64) *SearchSpacesParams
WithOffset adds the offset to the search spaces params
func (*SearchSpacesParams) WithPage ¶
func (o *SearchSpacesParams) WithPage(page *int64) *SearchSpacesParams
WithPage adds the page to the search spaces params
func (*SearchSpacesParams) WithParentID ¶
func (o *SearchSpacesParams) WithParentID(parentID *string) *SearchSpacesParams
WithParentID adds the parentID to the search spaces params
func (*SearchSpacesParams) WithPerPage ¶
func (o *SearchSpacesParams) WithPerPage(perPage *int64) *SearchSpacesParams
WithPerPage adds the perPage to the search spaces params
func (*SearchSpacesParams) WithSorts ¶
func (o *SearchSpacesParams) WithSorts(sorts *string) *SearchSpacesParams
WithSorts adds the sorts to the search spaces params
func (*SearchSpacesParams) WithTimeout ¶
func (o *SearchSpacesParams) WithTimeout(timeout time.Duration) *SearchSpacesParams
WithTimeout adds the timeout to the search spaces params
func (*SearchSpacesParams) WriteToRequest ¶
func (o *SearchSpacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchSpacesReader ¶
type SearchSpacesReader struct {
// contains filtered or unexported fields
}
SearchSpacesReader is a Reader for the SearchSpaces structure.
func (*SearchSpacesReader) ReadResponse ¶
func (o *SearchSpacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SpaceAncestorsBadRequest ¶
SpaceAncestorsBadRequest handles this case with default header values.
Bad Request
func NewSpaceAncestorsBadRequest ¶
func NewSpaceAncestorsBadRequest() *SpaceAncestorsBadRequest
NewSpaceAncestorsBadRequest creates a SpaceAncestorsBadRequest with default headers values
func (*SpaceAncestorsBadRequest) Error ¶
func (o *SpaceAncestorsBadRequest) Error() string
func (*SpaceAncestorsBadRequest) GetPayload ¶
func (o *SpaceAncestorsBadRequest) GetPayload() *models.Error
type SpaceAncestorsNotFound ¶
SpaceAncestorsNotFound handles this case with default header values.
Not Found
func NewSpaceAncestorsNotFound ¶
func NewSpaceAncestorsNotFound() *SpaceAncestorsNotFound
NewSpaceAncestorsNotFound creates a SpaceAncestorsNotFound with default headers values
func (*SpaceAncestorsNotFound) Error ¶
func (o *SpaceAncestorsNotFound) Error() string
func (*SpaceAncestorsNotFound) GetPayload ¶
func (o *SpaceAncestorsNotFound) GetPayload() *models.Error
type SpaceAncestorsOK ¶
SpaceAncestorsOK handles this case with default header values.
Spaces
func NewSpaceAncestorsOK ¶
func NewSpaceAncestorsOK() *SpaceAncestorsOK
NewSpaceAncestorsOK creates a SpaceAncestorsOK with default headers values
func (*SpaceAncestorsOK) Error ¶
func (o *SpaceAncestorsOK) Error() string
func (*SpaceAncestorsOK) GetPayload ¶
func (o *SpaceAncestorsOK) GetPayload() []*models.Space
type SpaceAncestorsParams ¶
type SpaceAncestorsParams struct { /*Fields Requested fields. */ Fields *string /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SpaceAncestorsParams contains all the parameters to send to the API endpoint for the space ancestors operation typically these are written to a http.Request
func NewSpaceAncestorsParams ¶
func NewSpaceAncestorsParams() *SpaceAncestorsParams
NewSpaceAncestorsParams creates a new SpaceAncestorsParams object with the default values initialized.
func NewSpaceAncestorsParamsWithContext ¶
func NewSpaceAncestorsParamsWithContext(ctx context.Context) *SpaceAncestorsParams
NewSpaceAncestorsParamsWithContext creates a new SpaceAncestorsParams object with the default values initialized, and the ability to set a context for a request
func NewSpaceAncestorsParamsWithHTTPClient ¶
func NewSpaceAncestorsParamsWithHTTPClient(client *http.Client) *SpaceAncestorsParams
NewSpaceAncestorsParamsWithHTTPClient creates a new SpaceAncestorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSpaceAncestorsParamsWithTimeout ¶
func NewSpaceAncestorsParamsWithTimeout(timeout time.Duration) *SpaceAncestorsParams
NewSpaceAncestorsParamsWithTimeout creates a new SpaceAncestorsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SpaceAncestorsParams) SetContext ¶
func (o *SpaceAncestorsParams) SetContext(ctx context.Context)
SetContext adds the context to the space ancestors params
func (*SpaceAncestorsParams) SetFields ¶
func (o *SpaceAncestorsParams) SetFields(fields *string)
SetFields adds the fields to the space ancestors params
func (*SpaceAncestorsParams) SetHTTPClient ¶
func (o *SpaceAncestorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the space ancestors params
func (*SpaceAncestorsParams) SetSpaceID ¶
func (o *SpaceAncestorsParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the space ancestors params
func (*SpaceAncestorsParams) SetTimeout ¶
func (o *SpaceAncestorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the space ancestors params
func (*SpaceAncestorsParams) WithContext ¶
func (o *SpaceAncestorsParams) WithContext(ctx context.Context) *SpaceAncestorsParams
WithContext adds the context to the space ancestors params
func (*SpaceAncestorsParams) WithFields ¶
func (o *SpaceAncestorsParams) WithFields(fields *string) *SpaceAncestorsParams
WithFields adds the fields to the space ancestors params
func (*SpaceAncestorsParams) WithHTTPClient ¶
func (o *SpaceAncestorsParams) WithHTTPClient(client *http.Client) *SpaceAncestorsParams
WithHTTPClient adds the HTTPClient to the space ancestors params
func (*SpaceAncestorsParams) WithSpaceID ¶
func (o *SpaceAncestorsParams) WithSpaceID(spaceID string) *SpaceAncestorsParams
WithSpaceID adds the spaceID to the space ancestors params
func (*SpaceAncestorsParams) WithTimeout ¶
func (o *SpaceAncestorsParams) WithTimeout(timeout time.Duration) *SpaceAncestorsParams
WithTimeout adds the timeout to the space ancestors params
func (*SpaceAncestorsParams) WriteToRequest ¶
func (o *SpaceAncestorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SpaceAncestorsReader ¶
type SpaceAncestorsReader struct {
// contains filtered or unexported fields
}
SpaceAncestorsReader is a Reader for the SpaceAncestors structure.
func (*SpaceAncestorsReader) ReadResponse ¶
func (o *SpaceAncestorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SpaceBadRequest ¶
SpaceBadRequest handles this case with default header values.
Bad Request
func NewSpaceBadRequest ¶
func NewSpaceBadRequest() *SpaceBadRequest
NewSpaceBadRequest creates a SpaceBadRequest with default headers values
func (*SpaceBadRequest) Error ¶
func (o *SpaceBadRequest) Error() string
func (*SpaceBadRequest) GetPayload ¶
func (o *SpaceBadRequest) GetPayload() *models.Error
type SpaceChildrenBadRequest ¶
SpaceChildrenBadRequest handles this case with default header values.
Bad Request
func NewSpaceChildrenBadRequest ¶
func NewSpaceChildrenBadRequest() *SpaceChildrenBadRequest
NewSpaceChildrenBadRequest creates a SpaceChildrenBadRequest with default headers values
func (*SpaceChildrenBadRequest) Error ¶
func (o *SpaceChildrenBadRequest) Error() string
func (*SpaceChildrenBadRequest) GetPayload ¶
func (o *SpaceChildrenBadRequest) GetPayload() *models.Error
type SpaceChildrenNotFound ¶
SpaceChildrenNotFound handles this case with default header values.
Not Found
func NewSpaceChildrenNotFound ¶
func NewSpaceChildrenNotFound() *SpaceChildrenNotFound
NewSpaceChildrenNotFound creates a SpaceChildrenNotFound with default headers values
func (*SpaceChildrenNotFound) Error ¶
func (o *SpaceChildrenNotFound) Error() string
func (*SpaceChildrenNotFound) GetPayload ¶
func (o *SpaceChildrenNotFound) GetPayload() *models.Error
type SpaceChildrenOK ¶
SpaceChildrenOK handles this case with default header values.
Spaces
func NewSpaceChildrenOK ¶
func NewSpaceChildrenOK() *SpaceChildrenOK
NewSpaceChildrenOK creates a SpaceChildrenOK with default headers values
func (*SpaceChildrenOK) Error ¶
func (o *SpaceChildrenOK) Error() string
func (*SpaceChildrenOK) GetPayload ¶
func (o *SpaceChildrenOK) GetPayload() []*models.Space
type SpaceChildrenParams ¶
type SpaceChildrenParams struct { /*Fields Requested fields. */ Fields *string /*Page Requested page. */ Page *int64 /*PerPage Results per page. */ PerPage *int64 /*Sorts Fields to sort by. */ Sorts *string /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SpaceChildrenParams contains all the parameters to send to the API endpoint for the space children operation typically these are written to a http.Request
func NewSpaceChildrenParams ¶
func NewSpaceChildrenParams() *SpaceChildrenParams
NewSpaceChildrenParams creates a new SpaceChildrenParams object with the default values initialized.
func NewSpaceChildrenParamsWithContext ¶
func NewSpaceChildrenParamsWithContext(ctx context.Context) *SpaceChildrenParams
NewSpaceChildrenParamsWithContext creates a new SpaceChildrenParams object with the default values initialized, and the ability to set a context for a request
func NewSpaceChildrenParamsWithHTTPClient ¶
func NewSpaceChildrenParamsWithHTTPClient(client *http.Client) *SpaceChildrenParams
NewSpaceChildrenParamsWithHTTPClient creates a new SpaceChildrenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSpaceChildrenParamsWithTimeout ¶
func NewSpaceChildrenParamsWithTimeout(timeout time.Duration) *SpaceChildrenParams
NewSpaceChildrenParamsWithTimeout creates a new SpaceChildrenParams object with the default values initialized, and the ability to set a timeout on a request
func (*SpaceChildrenParams) SetContext ¶
func (o *SpaceChildrenParams) SetContext(ctx context.Context)
SetContext adds the context to the space children params
func (*SpaceChildrenParams) SetFields ¶
func (o *SpaceChildrenParams) SetFields(fields *string)
SetFields adds the fields to the space children params
func (*SpaceChildrenParams) SetHTTPClient ¶
func (o *SpaceChildrenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the space children params
func (*SpaceChildrenParams) SetPage ¶
func (o *SpaceChildrenParams) SetPage(page *int64)
SetPage adds the page to the space children params
func (*SpaceChildrenParams) SetPerPage ¶
func (o *SpaceChildrenParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the space children params
func (*SpaceChildrenParams) SetSorts ¶
func (o *SpaceChildrenParams) SetSorts(sorts *string)
SetSorts adds the sorts to the space children params
func (*SpaceChildrenParams) SetSpaceID ¶
func (o *SpaceChildrenParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the space children params
func (*SpaceChildrenParams) SetTimeout ¶
func (o *SpaceChildrenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the space children params
func (*SpaceChildrenParams) WithContext ¶
func (o *SpaceChildrenParams) WithContext(ctx context.Context) *SpaceChildrenParams
WithContext adds the context to the space children params
func (*SpaceChildrenParams) WithFields ¶
func (o *SpaceChildrenParams) WithFields(fields *string) *SpaceChildrenParams
WithFields adds the fields to the space children params
func (*SpaceChildrenParams) WithHTTPClient ¶
func (o *SpaceChildrenParams) WithHTTPClient(client *http.Client) *SpaceChildrenParams
WithHTTPClient adds the HTTPClient to the space children params
func (*SpaceChildrenParams) WithPage ¶
func (o *SpaceChildrenParams) WithPage(page *int64) *SpaceChildrenParams
WithPage adds the page to the space children params
func (*SpaceChildrenParams) WithPerPage ¶
func (o *SpaceChildrenParams) WithPerPage(perPage *int64) *SpaceChildrenParams
WithPerPage adds the perPage to the space children params
func (*SpaceChildrenParams) WithSorts ¶
func (o *SpaceChildrenParams) WithSorts(sorts *string) *SpaceChildrenParams
WithSorts adds the sorts to the space children params
func (*SpaceChildrenParams) WithSpaceID ¶
func (o *SpaceChildrenParams) WithSpaceID(spaceID string) *SpaceChildrenParams
WithSpaceID adds the spaceID to the space children params
func (*SpaceChildrenParams) WithTimeout ¶
func (o *SpaceChildrenParams) WithTimeout(timeout time.Duration) *SpaceChildrenParams
WithTimeout adds the timeout to the space children params
func (*SpaceChildrenParams) WriteToRequest ¶
func (o *SpaceChildrenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SpaceChildrenReader ¶
type SpaceChildrenReader struct {
// contains filtered or unexported fields
}
SpaceChildrenReader is a Reader for the SpaceChildren structure.
func (*SpaceChildrenReader) ReadResponse ¶
func (o *SpaceChildrenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SpaceChildrenSearchBadRequest ¶
SpaceChildrenSearchBadRequest handles this case with default header values.
Bad Request
func NewSpaceChildrenSearchBadRequest ¶
func NewSpaceChildrenSearchBadRequest() *SpaceChildrenSearchBadRequest
NewSpaceChildrenSearchBadRequest creates a SpaceChildrenSearchBadRequest with default headers values
func (*SpaceChildrenSearchBadRequest) Error ¶
func (o *SpaceChildrenSearchBadRequest) Error() string
func (*SpaceChildrenSearchBadRequest) GetPayload ¶
func (o *SpaceChildrenSearchBadRequest) GetPayload() *models.Error
type SpaceChildrenSearchNotFound ¶
SpaceChildrenSearchNotFound handles this case with default header values.
Not Found
func NewSpaceChildrenSearchNotFound ¶
func NewSpaceChildrenSearchNotFound() *SpaceChildrenSearchNotFound
NewSpaceChildrenSearchNotFound creates a SpaceChildrenSearchNotFound with default headers values
func (*SpaceChildrenSearchNotFound) Error ¶
func (o *SpaceChildrenSearchNotFound) Error() string
func (*SpaceChildrenSearchNotFound) GetPayload ¶
func (o *SpaceChildrenSearchNotFound) GetPayload() *models.Error
type SpaceChildrenSearchOK ¶
SpaceChildrenSearchOK handles this case with default header values.
Spaces
func NewSpaceChildrenSearchOK ¶
func NewSpaceChildrenSearchOK() *SpaceChildrenSearchOK
NewSpaceChildrenSearchOK creates a SpaceChildrenSearchOK with default headers values
func (*SpaceChildrenSearchOK) Error ¶
func (o *SpaceChildrenSearchOK) Error() string
func (*SpaceChildrenSearchOK) GetPayload ¶
func (o *SpaceChildrenSearchOK) GetPayload() []*models.Space
type SpaceChildrenSearchParams ¶
type SpaceChildrenSearchParams struct { /*Fields Requested fields. */ Fields *string /*Name Match Space name. */ Name *string /*Sorts Fields to sort by. */ Sorts *string /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SpaceChildrenSearchParams contains all the parameters to send to the API endpoint for the space children search operation typically these are written to a http.Request
func NewSpaceChildrenSearchParams ¶
func NewSpaceChildrenSearchParams() *SpaceChildrenSearchParams
NewSpaceChildrenSearchParams creates a new SpaceChildrenSearchParams object with the default values initialized.
func NewSpaceChildrenSearchParamsWithContext ¶
func NewSpaceChildrenSearchParamsWithContext(ctx context.Context) *SpaceChildrenSearchParams
NewSpaceChildrenSearchParamsWithContext creates a new SpaceChildrenSearchParams object with the default values initialized, and the ability to set a context for a request
func NewSpaceChildrenSearchParamsWithHTTPClient ¶
func NewSpaceChildrenSearchParamsWithHTTPClient(client *http.Client) *SpaceChildrenSearchParams
NewSpaceChildrenSearchParamsWithHTTPClient creates a new SpaceChildrenSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSpaceChildrenSearchParamsWithTimeout ¶
func NewSpaceChildrenSearchParamsWithTimeout(timeout time.Duration) *SpaceChildrenSearchParams
NewSpaceChildrenSearchParamsWithTimeout creates a new SpaceChildrenSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*SpaceChildrenSearchParams) SetContext ¶
func (o *SpaceChildrenSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the space children search params
func (*SpaceChildrenSearchParams) SetFields ¶
func (o *SpaceChildrenSearchParams) SetFields(fields *string)
SetFields adds the fields to the space children search params
func (*SpaceChildrenSearchParams) SetHTTPClient ¶
func (o *SpaceChildrenSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the space children search params
func (*SpaceChildrenSearchParams) SetName ¶
func (o *SpaceChildrenSearchParams) SetName(name *string)
SetName adds the name to the space children search params
func (*SpaceChildrenSearchParams) SetSorts ¶
func (o *SpaceChildrenSearchParams) SetSorts(sorts *string)
SetSorts adds the sorts to the space children search params
func (*SpaceChildrenSearchParams) SetSpaceID ¶
func (o *SpaceChildrenSearchParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the space children search params
func (*SpaceChildrenSearchParams) SetTimeout ¶
func (o *SpaceChildrenSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the space children search params
func (*SpaceChildrenSearchParams) WithContext ¶
func (o *SpaceChildrenSearchParams) WithContext(ctx context.Context) *SpaceChildrenSearchParams
WithContext adds the context to the space children search params
func (*SpaceChildrenSearchParams) WithFields ¶
func (o *SpaceChildrenSearchParams) WithFields(fields *string) *SpaceChildrenSearchParams
WithFields adds the fields to the space children search params
func (*SpaceChildrenSearchParams) WithHTTPClient ¶
func (o *SpaceChildrenSearchParams) WithHTTPClient(client *http.Client) *SpaceChildrenSearchParams
WithHTTPClient adds the HTTPClient to the space children search params
func (*SpaceChildrenSearchParams) WithName ¶
func (o *SpaceChildrenSearchParams) WithName(name *string) *SpaceChildrenSearchParams
WithName adds the name to the space children search params
func (*SpaceChildrenSearchParams) WithSorts ¶
func (o *SpaceChildrenSearchParams) WithSorts(sorts *string) *SpaceChildrenSearchParams
WithSorts adds the sorts to the space children search params
func (*SpaceChildrenSearchParams) WithSpaceID ¶
func (o *SpaceChildrenSearchParams) WithSpaceID(spaceID string) *SpaceChildrenSearchParams
WithSpaceID adds the spaceID to the space children search params
func (*SpaceChildrenSearchParams) WithTimeout ¶
func (o *SpaceChildrenSearchParams) WithTimeout(timeout time.Duration) *SpaceChildrenSearchParams
WithTimeout adds the timeout to the space children search params
func (*SpaceChildrenSearchParams) WriteToRequest ¶
func (o *SpaceChildrenSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SpaceChildrenSearchReader ¶
type SpaceChildrenSearchReader struct {
// contains filtered or unexported fields
}
SpaceChildrenSearchReader is a Reader for the SpaceChildrenSearch structure.
func (*SpaceChildrenSearchReader) ReadResponse ¶
func (o *SpaceChildrenSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SpaceDashboardsBadRequest ¶
SpaceDashboardsBadRequest handles this case with default header values.
Bad Request
func NewSpaceDashboardsBadRequest ¶
func NewSpaceDashboardsBadRequest() *SpaceDashboardsBadRequest
NewSpaceDashboardsBadRequest creates a SpaceDashboardsBadRequest with default headers values
func (*SpaceDashboardsBadRequest) Error ¶
func (o *SpaceDashboardsBadRequest) Error() string
func (*SpaceDashboardsBadRequest) GetPayload ¶
func (o *SpaceDashboardsBadRequest) GetPayload() *models.Error
type SpaceDashboardsNotFound ¶
SpaceDashboardsNotFound handles this case with default header values.
Not Found
func NewSpaceDashboardsNotFound ¶
func NewSpaceDashboardsNotFound() *SpaceDashboardsNotFound
NewSpaceDashboardsNotFound creates a SpaceDashboardsNotFound with default headers values
func (*SpaceDashboardsNotFound) Error ¶
func (o *SpaceDashboardsNotFound) Error() string
func (*SpaceDashboardsNotFound) GetPayload ¶
func (o *SpaceDashboardsNotFound) GetPayload() *models.Error
type SpaceDashboardsOK ¶
SpaceDashboardsOK handles this case with default header values.
Dashboard
func NewSpaceDashboardsOK ¶
func NewSpaceDashboardsOK() *SpaceDashboardsOK
NewSpaceDashboardsOK creates a SpaceDashboardsOK with default headers values
func (*SpaceDashboardsOK) Error ¶
func (o *SpaceDashboardsOK) Error() string
func (*SpaceDashboardsOK) GetPayload ¶
func (o *SpaceDashboardsOK) GetPayload() []*models.Dashboard
type SpaceDashboardsParams ¶
type SpaceDashboardsParams struct { /*Fields Requested fields. */ Fields *string /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SpaceDashboardsParams contains all the parameters to send to the API endpoint for the space dashboards operation typically these are written to a http.Request
func NewSpaceDashboardsParams ¶
func NewSpaceDashboardsParams() *SpaceDashboardsParams
NewSpaceDashboardsParams creates a new SpaceDashboardsParams object with the default values initialized.
func NewSpaceDashboardsParamsWithContext ¶
func NewSpaceDashboardsParamsWithContext(ctx context.Context) *SpaceDashboardsParams
NewSpaceDashboardsParamsWithContext creates a new SpaceDashboardsParams object with the default values initialized, and the ability to set a context for a request
func NewSpaceDashboardsParamsWithHTTPClient ¶
func NewSpaceDashboardsParamsWithHTTPClient(client *http.Client) *SpaceDashboardsParams
NewSpaceDashboardsParamsWithHTTPClient creates a new SpaceDashboardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSpaceDashboardsParamsWithTimeout ¶
func NewSpaceDashboardsParamsWithTimeout(timeout time.Duration) *SpaceDashboardsParams
NewSpaceDashboardsParamsWithTimeout creates a new SpaceDashboardsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SpaceDashboardsParams) SetContext ¶
func (o *SpaceDashboardsParams) SetContext(ctx context.Context)
SetContext adds the context to the space dashboards params
func (*SpaceDashboardsParams) SetFields ¶
func (o *SpaceDashboardsParams) SetFields(fields *string)
SetFields adds the fields to the space dashboards params
func (*SpaceDashboardsParams) SetHTTPClient ¶
func (o *SpaceDashboardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the space dashboards params
func (*SpaceDashboardsParams) SetSpaceID ¶
func (o *SpaceDashboardsParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the space dashboards params
func (*SpaceDashboardsParams) SetTimeout ¶
func (o *SpaceDashboardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the space dashboards params
func (*SpaceDashboardsParams) WithContext ¶
func (o *SpaceDashboardsParams) WithContext(ctx context.Context) *SpaceDashboardsParams
WithContext adds the context to the space dashboards params
func (*SpaceDashboardsParams) WithFields ¶
func (o *SpaceDashboardsParams) WithFields(fields *string) *SpaceDashboardsParams
WithFields adds the fields to the space dashboards params
func (*SpaceDashboardsParams) WithHTTPClient ¶
func (o *SpaceDashboardsParams) WithHTTPClient(client *http.Client) *SpaceDashboardsParams
WithHTTPClient adds the HTTPClient to the space dashboards params
func (*SpaceDashboardsParams) WithSpaceID ¶
func (o *SpaceDashboardsParams) WithSpaceID(spaceID string) *SpaceDashboardsParams
WithSpaceID adds the spaceID to the space dashboards params
func (*SpaceDashboardsParams) WithTimeout ¶
func (o *SpaceDashboardsParams) WithTimeout(timeout time.Duration) *SpaceDashboardsParams
WithTimeout adds the timeout to the space dashboards params
func (*SpaceDashboardsParams) WriteToRequest ¶
func (o *SpaceDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SpaceDashboardsReader ¶
type SpaceDashboardsReader struct {
// contains filtered or unexported fields
}
SpaceDashboardsReader is a Reader for the SpaceDashboards structure.
func (*SpaceDashboardsReader) ReadResponse ¶
func (o *SpaceDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SpaceLooksBadRequest ¶
SpaceLooksBadRequest handles this case with default header values.
Bad Request
func NewSpaceLooksBadRequest ¶
func NewSpaceLooksBadRequest() *SpaceLooksBadRequest
NewSpaceLooksBadRequest creates a SpaceLooksBadRequest with default headers values
func (*SpaceLooksBadRequest) Error ¶
func (o *SpaceLooksBadRequest) Error() string
func (*SpaceLooksBadRequest) GetPayload ¶
func (o *SpaceLooksBadRequest) GetPayload() *models.Error
type SpaceLooksNotFound ¶
SpaceLooksNotFound handles this case with default header values.
Not Found
func NewSpaceLooksNotFound ¶
func NewSpaceLooksNotFound() *SpaceLooksNotFound
NewSpaceLooksNotFound creates a SpaceLooksNotFound with default headers values
func (*SpaceLooksNotFound) Error ¶
func (o *SpaceLooksNotFound) Error() string
func (*SpaceLooksNotFound) GetPayload ¶
func (o *SpaceLooksNotFound) GetPayload() *models.Error
type SpaceLooksOK ¶
type SpaceLooksOK struct {
Payload []*models.LookWithQuery
}
SpaceLooksOK handles this case with default header values.
Looks
func NewSpaceLooksOK ¶
func NewSpaceLooksOK() *SpaceLooksOK
NewSpaceLooksOK creates a SpaceLooksOK with default headers values
func (*SpaceLooksOK) Error ¶
func (o *SpaceLooksOK) Error() string
func (*SpaceLooksOK) GetPayload ¶
func (o *SpaceLooksOK) GetPayload() []*models.LookWithQuery
type SpaceLooksParams ¶
type SpaceLooksParams struct { /*Fields Requested fields. */ Fields *string /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SpaceLooksParams contains all the parameters to send to the API endpoint for the space looks operation typically these are written to a http.Request
func NewSpaceLooksParams ¶
func NewSpaceLooksParams() *SpaceLooksParams
NewSpaceLooksParams creates a new SpaceLooksParams object with the default values initialized.
func NewSpaceLooksParamsWithContext ¶
func NewSpaceLooksParamsWithContext(ctx context.Context) *SpaceLooksParams
NewSpaceLooksParamsWithContext creates a new SpaceLooksParams object with the default values initialized, and the ability to set a context for a request
func NewSpaceLooksParamsWithHTTPClient ¶
func NewSpaceLooksParamsWithHTTPClient(client *http.Client) *SpaceLooksParams
NewSpaceLooksParamsWithHTTPClient creates a new SpaceLooksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSpaceLooksParamsWithTimeout ¶
func NewSpaceLooksParamsWithTimeout(timeout time.Duration) *SpaceLooksParams
NewSpaceLooksParamsWithTimeout creates a new SpaceLooksParams object with the default values initialized, and the ability to set a timeout on a request
func (*SpaceLooksParams) SetContext ¶
func (o *SpaceLooksParams) SetContext(ctx context.Context)
SetContext adds the context to the space looks params
func (*SpaceLooksParams) SetFields ¶
func (o *SpaceLooksParams) SetFields(fields *string)
SetFields adds the fields to the space looks params
func (*SpaceLooksParams) SetHTTPClient ¶
func (o *SpaceLooksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the space looks params
func (*SpaceLooksParams) SetSpaceID ¶
func (o *SpaceLooksParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the space looks params
func (*SpaceLooksParams) SetTimeout ¶
func (o *SpaceLooksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the space looks params
func (*SpaceLooksParams) WithContext ¶
func (o *SpaceLooksParams) WithContext(ctx context.Context) *SpaceLooksParams
WithContext adds the context to the space looks params
func (*SpaceLooksParams) WithFields ¶
func (o *SpaceLooksParams) WithFields(fields *string) *SpaceLooksParams
WithFields adds the fields to the space looks params
func (*SpaceLooksParams) WithHTTPClient ¶
func (o *SpaceLooksParams) WithHTTPClient(client *http.Client) *SpaceLooksParams
WithHTTPClient adds the HTTPClient to the space looks params
func (*SpaceLooksParams) WithSpaceID ¶
func (o *SpaceLooksParams) WithSpaceID(spaceID string) *SpaceLooksParams
WithSpaceID adds the spaceID to the space looks params
func (*SpaceLooksParams) WithTimeout ¶
func (o *SpaceLooksParams) WithTimeout(timeout time.Duration) *SpaceLooksParams
WithTimeout adds the timeout to the space looks params
func (*SpaceLooksParams) WriteToRequest ¶
func (o *SpaceLooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SpaceLooksReader ¶
type SpaceLooksReader struct {
// contains filtered or unexported fields
}
SpaceLooksReader is a Reader for the SpaceLooks structure.
func (*SpaceLooksReader) ReadResponse ¶
func (o *SpaceLooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SpaceNotFound ¶
SpaceNotFound handles this case with default header values.
Not Found
func NewSpaceNotFound ¶
func NewSpaceNotFound() *SpaceNotFound
NewSpaceNotFound creates a SpaceNotFound with default headers values
func (*SpaceNotFound) Error ¶
func (o *SpaceNotFound) Error() string
func (*SpaceNotFound) GetPayload ¶
func (o *SpaceNotFound) GetPayload() *models.Error
type SpaceOK ¶
SpaceOK handles this case with default header values.
Space
func NewSpaceOK ¶
func NewSpaceOK() *SpaceOK
NewSpaceOK creates a SpaceOK with default headers values
func (*SpaceOK) GetPayload ¶
type SpaceParams ¶
type SpaceParams struct { /*Fields Requested fields. */ Fields *string /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SpaceParams contains all the parameters to send to the API endpoint for the space operation typically these are written to a http.Request
func NewSpaceParams ¶
func NewSpaceParams() *SpaceParams
NewSpaceParams creates a new SpaceParams object with the default values initialized.
func NewSpaceParamsWithContext ¶
func NewSpaceParamsWithContext(ctx context.Context) *SpaceParams
NewSpaceParamsWithContext creates a new SpaceParams object with the default values initialized, and the ability to set a context for a request
func NewSpaceParamsWithHTTPClient ¶
func NewSpaceParamsWithHTTPClient(client *http.Client) *SpaceParams
NewSpaceParamsWithHTTPClient creates a new SpaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSpaceParamsWithTimeout ¶
func NewSpaceParamsWithTimeout(timeout time.Duration) *SpaceParams
NewSpaceParamsWithTimeout creates a new SpaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*SpaceParams) SetContext ¶
func (o *SpaceParams) SetContext(ctx context.Context)
SetContext adds the context to the space params
func (*SpaceParams) SetFields ¶
func (o *SpaceParams) SetFields(fields *string)
SetFields adds the fields to the space params
func (*SpaceParams) SetHTTPClient ¶
func (o *SpaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the space params
func (*SpaceParams) SetSpaceID ¶
func (o *SpaceParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the space params
func (*SpaceParams) SetTimeout ¶
func (o *SpaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the space params
func (*SpaceParams) WithContext ¶
func (o *SpaceParams) WithContext(ctx context.Context) *SpaceParams
WithContext adds the context to the space params
func (*SpaceParams) WithFields ¶
func (o *SpaceParams) WithFields(fields *string) *SpaceParams
WithFields adds the fields to the space params
func (*SpaceParams) WithHTTPClient ¶
func (o *SpaceParams) WithHTTPClient(client *http.Client) *SpaceParams
WithHTTPClient adds the HTTPClient to the space params
func (*SpaceParams) WithSpaceID ¶
func (o *SpaceParams) WithSpaceID(spaceID string) *SpaceParams
WithSpaceID adds the spaceID to the space params
func (*SpaceParams) WithTimeout ¶
func (o *SpaceParams) WithTimeout(timeout time.Duration) *SpaceParams
WithTimeout adds the timeout to the space params
func (*SpaceParams) WriteToRequest ¶
func (o *SpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SpaceParentBadRequest ¶
SpaceParentBadRequest handles this case with default header values.
Bad Request
func NewSpaceParentBadRequest ¶
func NewSpaceParentBadRequest() *SpaceParentBadRequest
NewSpaceParentBadRequest creates a SpaceParentBadRequest with default headers values
func (*SpaceParentBadRequest) Error ¶
func (o *SpaceParentBadRequest) Error() string
func (*SpaceParentBadRequest) GetPayload ¶
func (o *SpaceParentBadRequest) GetPayload() *models.Error
type SpaceParentNotFound ¶
SpaceParentNotFound handles this case with default header values.
Not Found
func NewSpaceParentNotFound ¶
func NewSpaceParentNotFound() *SpaceParentNotFound
NewSpaceParentNotFound creates a SpaceParentNotFound with default headers values
func (*SpaceParentNotFound) Error ¶
func (o *SpaceParentNotFound) Error() string
func (*SpaceParentNotFound) GetPayload ¶
func (o *SpaceParentNotFound) GetPayload() *models.Error
type SpaceParentOK ¶
SpaceParentOK handles this case with default header values.
Space
func NewSpaceParentOK ¶
func NewSpaceParentOK() *SpaceParentOK
NewSpaceParentOK creates a SpaceParentOK with default headers values
func (*SpaceParentOK) Error ¶
func (o *SpaceParentOK) Error() string
func (*SpaceParentOK) GetPayload ¶
func (o *SpaceParentOK) GetPayload() *models.Space
type SpaceParentParams ¶
type SpaceParentParams struct { /*Fields Requested fields. */ Fields *string /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SpaceParentParams contains all the parameters to send to the API endpoint for the space parent operation typically these are written to a http.Request
func NewSpaceParentParams ¶
func NewSpaceParentParams() *SpaceParentParams
NewSpaceParentParams creates a new SpaceParentParams object with the default values initialized.
func NewSpaceParentParamsWithContext ¶
func NewSpaceParentParamsWithContext(ctx context.Context) *SpaceParentParams
NewSpaceParentParamsWithContext creates a new SpaceParentParams object with the default values initialized, and the ability to set a context for a request
func NewSpaceParentParamsWithHTTPClient ¶
func NewSpaceParentParamsWithHTTPClient(client *http.Client) *SpaceParentParams
NewSpaceParentParamsWithHTTPClient creates a new SpaceParentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSpaceParentParamsWithTimeout ¶
func NewSpaceParentParamsWithTimeout(timeout time.Duration) *SpaceParentParams
NewSpaceParentParamsWithTimeout creates a new SpaceParentParams object with the default values initialized, and the ability to set a timeout on a request
func (*SpaceParentParams) SetContext ¶
func (o *SpaceParentParams) SetContext(ctx context.Context)
SetContext adds the context to the space parent params
func (*SpaceParentParams) SetFields ¶
func (o *SpaceParentParams) SetFields(fields *string)
SetFields adds the fields to the space parent params
func (*SpaceParentParams) SetHTTPClient ¶
func (o *SpaceParentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the space parent params
func (*SpaceParentParams) SetSpaceID ¶
func (o *SpaceParentParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the space parent params
func (*SpaceParentParams) SetTimeout ¶
func (o *SpaceParentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the space parent params
func (*SpaceParentParams) WithContext ¶
func (o *SpaceParentParams) WithContext(ctx context.Context) *SpaceParentParams
WithContext adds the context to the space parent params
func (*SpaceParentParams) WithFields ¶
func (o *SpaceParentParams) WithFields(fields *string) *SpaceParentParams
WithFields adds the fields to the space parent params
func (*SpaceParentParams) WithHTTPClient ¶
func (o *SpaceParentParams) WithHTTPClient(client *http.Client) *SpaceParentParams
WithHTTPClient adds the HTTPClient to the space parent params
func (*SpaceParentParams) WithSpaceID ¶
func (o *SpaceParentParams) WithSpaceID(spaceID string) *SpaceParentParams
WithSpaceID adds the spaceID to the space parent params
func (*SpaceParentParams) WithTimeout ¶
func (o *SpaceParentParams) WithTimeout(timeout time.Duration) *SpaceParentParams
WithTimeout adds the timeout to the space parent params
func (*SpaceParentParams) WriteToRequest ¶
func (o *SpaceParentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SpaceParentReader ¶
type SpaceParentReader struct {
// contains filtered or unexported fields
}
SpaceParentReader is a Reader for the SpaceParent structure.
func (*SpaceParentReader) ReadResponse ¶
func (o *SpaceParentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SpaceReader ¶
type SpaceReader struct {
// contains filtered or unexported fields
}
SpaceReader is a Reader for the Space structure.
func (*SpaceReader) ReadResponse ¶
func (o *SpaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSpaceBadRequest ¶
UpdateSpaceBadRequest handles this case with default header values.
Bad Request
func NewUpdateSpaceBadRequest ¶
func NewUpdateSpaceBadRequest() *UpdateSpaceBadRequest
NewUpdateSpaceBadRequest creates a UpdateSpaceBadRequest with default headers values
func (*UpdateSpaceBadRequest) Error ¶
func (o *UpdateSpaceBadRequest) Error() string
func (*UpdateSpaceBadRequest) GetPayload ¶
func (o *UpdateSpaceBadRequest) GetPayload() *models.Error
type UpdateSpaceNotFound ¶
UpdateSpaceNotFound handles this case with default header values.
Not Found
func NewUpdateSpaceNotFound ¶
func NewUpdateSpaceNotFound() *UpdateSpaceNotFound
NewUpdateSpaceNotFound creates a UpdateSpaceNotFound with default headers values
func (*UpdateSpaceNotFound) Error ¶
func (o *UpdateSpaceNotFound) Error() string
func (*UpdateSpaceNotFound) GetPayload ¶
func (o *UpdateSpaceNotFound) GetPayload() *models.Error
type UpdateSpaceOK ¶
UpdateSpaceOK handles this case with default header values.
Space
func NewUpdateSpaceOK ¶
func NewUpdateSpaceOK() *UpdateSpaceOK
NewUpdateSpaceOK creates a UpdateSpaceOK with default headers values
func (*UpdateSpaceOK) Error ¶
func (o *UpdateSpaceOK) Error() string
func (*UpdateSpaceOK) GetPayload ¶
func (o *UpdateSpaceOK) GetPayload() *models.Space
type UpdateSpaceParams ¶
type UpdateSpaceParams struct { /*Body Space */ Body *models.Space /*SpaceID Id of space */ SpaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSpaceParams contains all the parameters to send to the API endpoint for the update space operation typically these are written to a http.Request
func NewUpdateSpaceParams ¶
func NewUpdateSpaceParams() *UpdateSpaceParams
NewUpdateSpaceParams creates a new UpdateSpaceParams object with the default values initialized.
func NewUpdateSpaceParamsWithContext ¶
func NewUpdateSpaceParamsWithContext(ctx context.Context) *UpdateSpaceParams
NewUpdateSpaceParamsWithContext creates a new UpdateSpaceParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSpaceParamsWithHTTPClient ¶
func NewUpdateSpaceParamsWithHTTPClient(client *http.Client) *UpdateSpaceParams
NewUpdateSpaceParamsWithHTTPClient creates a new UpdateSpaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSpaceParamsWithTimeout ¶
func NewUpdateSpaceParamsWithTimeout(timeout time.Duration) *UpdateSpaceParams
NewUpdateSpaceParamsWithTimeout creates a new UpdateSpaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSpaceParams) SetBody ¶
func (o *UpdateSpaceParams) SetBody(body *models.Space)
SetBody adds the body to the update space params
func (*UpdateSpaceParams) SetContext ¶
func (o *UpdateSpaceParams) SetContext(ctx context.Context)
SetContext adds the context to the update space params
func (*UpdateSpaceParams) SetHTTPClient ¶
func (o *UpdateSpaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update space params
func (*UpdateSpaceParams) SetSpaceID ¶
func (o *UpdateSpaceParams) SetSpaceID(spaceID string)
SetSpaceID adds the spaceId to the update space params
func (*UpdateSpaceParams) SetTimeout ¶
func (o *UpdateSpaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update space params
func (*UpdateSpaceParams) WithBody ¶
func (o *UpdateSpaceParams) WithBody(body *models.Space) *UpdateSpaceParams
WithBody adds the body to the update space params
func (*UpdateSpaceParams) WithContext ¶
func (o *UpdateSpaceParams) WithContext(ctx context.Context) *UpdateSpaceParams
WithContext adds the context to the update space params
func (*UpdateSpaceParams) WithHTTPClient ¶
func (o *UpdateSpaceParams) WithHTTPClient(client *http.Client) *UpdateSpaceParams
WithHTTPClient adds the HTTPClient to the update space params
func (*UpdateSpaceParams) WithSpaceID ¶
func (o *UpdateSpaceParams) WithSpaceID(spaceID string) *UpdateSpaceParams
WithSpaceID adds the spaceID to the update space params
func (*UpdateSpaceParams) WithTimeout ¶
func (o *UpdateSpaceParams) WithTimeout(timeout time.Duration) *UpdateSpaceParams
WithTimeout adds the timeout to the update space params
func (*UpdateSpaceParams) WriteToRequest ¶
func (o *UpdateSpaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSpaceReader ¶
type UpdateSpaceReader struct {
// contains filtered or unexported fields
}
UpdateSpaceReader is a Reader for the UpdateSpace structure.
func (*UpdateSpaceReader) ReadResponse ¶
func (o *UpdateSpaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSpaceUnprocessableEntity ¶
type UpdateSpaceUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateSpaceUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdateSpaceUnprocessableEntity ¶
func NewUpdateSpaceUnprocessableEntity() *UpdateSpaceUnprocessableEntity
NewUpdateSpaceUnprocessableEntity creates a UpdateSpaceUnprocessableEntity with default headers values
func (*UpdateSpaceUnprocessableEntity) Error ¶
func (o *UpdateSpaceUnprocessableEntity) Error() string
func (*UpdateSpaceUnprocessableEntity) GetPayload ¶
func (o *UpdateSpaceUnprocessableEntity) GetPayload() *models.ValidationError
Source Files ¶
- all_spaces_parameters.go
- all_spaces_responses.go
- create_space_parameters.go
- create_space_responses.go
- delete_space_parameters.go
- delete_space_responses.go
- search_spaces_parameters.go
- search_spaces_responses.go
- space_ancestors_parameters.go
- space_ancestors_responses.go
- space_children_parameters.go
- space_children_responses.go
- space_children_search_parameters.go
- space_children_search_responses.go
- space_client.go
- space_dashboards_parameters.go
- space_dashboards_responses.go
- space_looks_parameters.go
- space_looks_responses.go
- space_parameters.go
- space_parent_parameters.go
- space_parent_responses.go
- space_responses.go
- update_space_parameters.go
- update_space_responses.go