space package - github.com/Foxtel-DnA/looker-go-sdk/client/space - Go Packages

space

package
v0.0.0-...-09f9b81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllSpacesBadRequest

type AllSpacesBadRequest struct {
	Payload *models.Error
}
AllSpacesBadRequest describes a response with status code 400, 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

type AllSpacesNotFound struct {
	Payload *models.Error
}
AllSpacesNotFound describes a response with status code 404, 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

type AllSpacesOK struct {
	Payload []*models.SpaceBase
}
AllSpacesOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAllSpacesParamsWithContext

func NewAllSpacesParamsWithContext(ctx context.Context) *AllSpacesParams

NewAllSpacesParamsWithContext creates a new AllSpacesParams object with 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 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 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) SetDefaults

func (o *AllSpacesParams) SetDefaults()

SetDefaults hydrates default values in the all spaces params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *AllSpacesParams) WithDefaults() *AllSpacesParams

WithDefaults hydrates default values in the all spaces params (not the query body).

All values with no default are reset to their zero value.

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 (*Client) AllSpaces

func (a *Client) AllSpaces(params *AllSpacesParams, opts ...ClientOption) (*AllSpacesOK, error)
AllSpaces gets all spaces

### Get information about all spaces.

In API 3.x, this will not return empty personal spaces, unless they belong to the calling user. In API 4.0+, all personal spaces will be returned.

func (*Client) CreateSpace

func (a *Client) CreateSpace(params *CreateSpaceParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*SpaceOK, error)

Space gets space

### Get information about the space with a specific id.

func (*Client) SpaceAncestors

func (a *Client) SpaceAncestors(params *SpaceAncestorsParams, opts ...ClientOption) (*SpaceAncestorsOK, error)

SpaceAncestors gets space ancestors

### Get the ancestors of a space

func (*Client) SpaceChildren

func (a *Client) SpaceChildren(params *SpaceChildrenParams, opts ...ClientOption) (*SpaceChildrenOK, error)

SpaceChildren gets space children

### Get the children of a space.

func (*Client) SpaceChildrenSearch

func (a *Client) SpaceChildrenSearch(params *SpaceChildrenSearchParams, opts ...ClientOption) (*SpaceChildrenSearchOK, error)

SpaceChildrenSearch searches space children

### Search the children of a space

func (*Client) SpaceDashboards

func (a *Client) SpaceDashboards(params *SpaceDashboardsParams, opts ...ClientOption) (*SpaceDashboardsOK, error)

SpaceDashboards gets space dashboards

### Get the dashboards in a space

func (*Client) SpaceLooks

func (a *Client) SpaceLooks(params *SpaceLooksParams, opts ...ClientOption) (*SpaceLooksOK, error)
SpaceLooks gets space looks

### Get all looks in a space.

In API 3.x, this will return all looks in a space, including looks in the trash. In API 4.0+, all looks in a space will be returned, excluding looks in the trash.

func (*Client) SpaceParent

func (a *Client) SpaceParent(params *SpaceParentParams, opts ...ClientOption) (*SpaceParentOK, error)

SpaceParent gets space parent

### Get the parent of a space

func (*Client) UpdateSpace

func (a *Client) UpdateSpace(params *UpdateSpaceParams, opts ...ClientOption) (*UpdateSpaceOK, error)

UpdateSpace updates space

### Update the space with a specific id.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AllSpaces(params *AllSpacesParams, opts ...ClientOption) (*AllSpacesOK, error)

	CreateSpace(params *CreateSpaceParams, opts ...ClientOption) (*CreateSpaceOK, error)

	DeleteSpace(params *DeleteSpaceParams, opts ...ClientOption) (*DeleteSpaceNoContent, error)

	SearchSpaces(params *SearchSpacesParams, opts ...ClientOption) (*SearchSpacesOK, error)

	Space(params *SpaceParams, opts ...ClientOption) (*SpaceOK, error)

	SpaceAncestors(params *SpaceAncestorsParams, opts ...ClientOption) (*SpaceAncestorsOK, error)

	SpaceChildren(params *SpaceChildrenParams, opts ...ClientOption) (*SpaceChildrenOK, error)

	SpaceChildrenSearch(params *SpaceChildrenSearchParams, opts ...ClientOption) (*SpaceChildrenSearchOK, error)

	SpaceDashboards(params *SpaceDashboardsParams, opts ...ClientOption) (*SpaceDashboardsOK, error)

	SpaceLooks(params *SpaceLooksParams, opts ...ClientOption) (*SpaceLooksOK, error)

	SpaceParent(params *SpaceParentParams, opts ...ClientOption) (*SpaceParentOK, error)

	UpdateSpace(params *UpdateSpaceParams, opts ...ClientOption) (*UpdateSpaceOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new space API client.

type CreateSpaceBadRequest

type CreateSpaceBadRequest struct {
	Payload *models.Error
}
CreateSpaceBadRequest describes a response with status code 400, 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

type CreateSpaceConflict struct {
	Payload *models.Error
}
CreateSpaceConflict describes a response with status code 409, 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

type CreateSpaceNotFound struct {
	Payload *models.Error
}
CreateSpaceNotFound describes a response with status code 404, 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

type CreateSpaceOK struct {
	Payload *models.Space
}
CreateSpaceOK describes a response with status code 200, 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.CreateSpace

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateSpaceParamsWithContext

func NewCreateSpaceParamsWithContext(ctx context.Context) *CreateSpaceParams

NewCreateSpaceParamsWithContext creates a new CreateSpaceParams object with 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 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 ability to set a timeout on a request.

func (*CreateSpaceParams) SetBody

func (o *CreateSpaceParams) SetBody(body *models.CreateSpace)

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) SetDefaults

func (o *CreateSpaceParams) SetDefaults()

SetDefaults hydrates default values in the create space params (not the query body).

All values with no default are reset to their zero value.

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

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) WithDefaults

func (o *CreateSpaceParams) WithDefaults() *CreateSpaceParams

WithDefaults hydrates default values in the create space params (not the query body).

All values with no default are reset to their zero value.

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 CreateSpaceTooManyRequests

type CreateSpaceTooManyRequests struct {
	Payload *models.Error
}
CreateSpaceTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateSpaceTooManyRequests

func NewCreateSpaceTooManyRequests() *CreateSpaceTooManyRequests

NewCreateSpaceTooManyRequests creates a CreateSpaceTooManyRequests with default headers values

func (*CreateSpaceTooManyRequests) Error

func (*CreateSpaceTooManyRequests) GetPayload

func (o *CreateSpaceTooManyRequests) GetPayload() *models.Error

type CreateSpaceUnprocessableEntity

type CreateSpaceUnprocessableEntity struct {
	Payload *models.ValidationError
}
CreateSpaceUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewCreateSpaceUnprocessableEntity

func NewCreateSpaceUnprocessableEntity() *CreateSpaceUnprocessableEntity

NewCreateSpaceUnprocessableEntity creates a CreateSpaceUnprocessableEntity with default headers values

func (*CreateSpaceUnprocessableEntity) Error

func (*CreateSpaceUnprocessableEntity) GetPayload

type DeleteSpaceBadRequest

type DeleteSpaceBadRequest struct {
	Payload *models.Error
}
DeleteSpaceBadRequest describes a response with status code 400, 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 describes a response with status code 204, 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

type DeleteSpaceNotFound struct {
	Payload *models.Error
}
DeleteSpaceNotFound describes a response with status code 404, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteSpaceParamsWithContext

func NewDeleteSpaceParamsWithContext(ctx context.Context) *DeleteSpaceParams

NewDeleteSpaceParamsWithContext creates a new DeleteSpaceParams object with 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 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 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) SetDefaults

func (o *DeleteSpaceParams) SetDefaults()

SetDefaults hydrates default values in the delete space params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *DeleteSpaceParams) WithDefaults() *DeleteSpaceParams

WithDefaults hydrates default values in the delete space params (not the query body).

All values with no default are reset to their zero value.

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 DeleteSpaceTooManyRequests

type DeleteSpaceTooManyRequests struct {
	Payload *models.Error
}
DeleteSpaceTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteSpaceTooManyRequests

func NewDeleteSpaceTooManyRequests() *DeleteSpaceTooManyRequests

NewDeleteSpaceTooManyRequests creates a DeleteSpaceTooManyRequests with default headers values

func (*DeleteSpaceTooManyRequests) Error

func (*DeleteSpaceTooManyRequests) GetPayload

func (o *DeleteSpaceTooManyRequests) GetPayload() *models.Error

type SearchSpacesBadRequest

type SearchSpacesBadRequest struct {
	Payload *models.Error
}
SearchSpacesBadRequest describes a response with status code 400, 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

type SearchSpacesNotFound struct {
	Payload *models.Error
}
SearchSpacesNotFound describes a response with status code 404, 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

type SearchSpacesOK struct {
	Payload []*models.Space
}
SearchSpacesOK describes a response with status code 200, 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

	   Format: int64
	*/
	ID *int64

	/* Limit.

	   Number of results to return. (used with offset and takes priority over page and per_page)

	   Format: int64
	*/
	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)

	   Format: int64
	*/
	Offset *int64

	/* Page.

	   Requested page.

	   Format: int64
	*/
	Page *int64

	/* ParentID.

	   Filter on a children of a particular space.
	*/
	ParentID *string

	/* PerPage.

	   Results per page.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchSpacesParamsWithContext

func NewSearchSpacesParamsWithContext(ctx context.Context) *SearchSpacesParams

NewSearchSpacesParamsWithContext creates a new SearchSpacesParams object with 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 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 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) SetDefaults

func (o *SearchSpacesParams) SetDefaults()

SetDefaults hydrates default values in the search spaces params (not the query body).

All values with no default are reset to their zero value.

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

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) WithDefaults

func (o *SearchSpacesParams) WithDefaults() *SearchSpacesParams

WithDefaults hydrates default values in the search spaces params (not the query body).

All values with no default are reset to their zero value.

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

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

type SpaceAncestorsBadRequest struct {
	Payload *models.Error
}
SpaceAncestorsBadRequest describes a response with status code 400, 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

type SpaceAncestorsNotFound struct {
	Payload *models.Error
}
SpaceAncestorsNotFound describes a response with status code 404, 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

type SpaceAncestorsOK struct {
	Payload []*models.Space
}
SpaceAncestorsOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSpaceAncestorsParamsWithContext

func NewSpaceAncestorsParamsWithContext(ctx context.Context) *SpaceAncestorsParams

NewSpaceAncestorsParamsWithContext creates a new SpaceAncestorsParams object with 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 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 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) SetDefaults

func (o *SpaceAncestorsParams) SetDefaults()

SetDefaults hydrates default values in the space ancestors params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the space ancestors params

func (*SpaceAncestorsParams) WithDefaults

func (o *SpaceAncestorsParams) WithDefaults() *SpaceAncestorsParams

WithDefaults hydrates default values in the space ancestors params (not the query body).

All values with no default are reset to their zero value.

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

type SpaceBadRequest struct {
	Payload *models.Error
}
SpaceBadRequest describes a response with status code 400, 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

type SpaceChildrenBadRequest struct {
	Payload *models.Error
}
SpaceChildrenBadRequest describes a response with status code 400, 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

type SpaceChildrenNotFound struct {
	Payload *models.Error
}
SpaceChildrenNotFound describes a response with status code 404, 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

type SpaceChildrenOK struct {
	Payload []*models.Space
}
SpaceChildrenOK describes a response with status code 200, 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.

	   Format: int64
	*/
	Page *int64

	/* PerPage.

	   Results per page.

	   Format: int64
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSpaceChildrenParamsWithContext

func NewSpaceChildrenParamsWithContext(ctx context.Context) *SpaceChildrenParams

NewSpaceChildrenParamsWithContext creates a new SpaceChildrenParams object with 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 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 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) SetDefaults

func (o *SpaceChildrenParams) SetDefaults()

SetDefaults hydrates default values in the space children params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the space children params

func (*SpaceChildrenParams) WithDefaults

func (o *SpaceChildrenParams) WithDefaults() *SpaceChildrenParams

WithDefaults hydrates default values in the space children params (not the query body).

All values with no default are reset to their zero value.

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

type SpaceChildrenSearchBadRequest struct {
	Payload *models.Error
}
SpaceChildrenSearchBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSpaceChildrenSearchBadRequest

func NewSpaceChildrenSearchBadRequest() *SpaceChildrenSearchBadRequest

NewSpaceChildrenSearchBadRequest creates a SpaceChildrenSearchBadRequest with default headers values

func (*SpaceChildrenSearchBadRequest) Error

func (*SpaceChildrenSearchBadRequest) GetPayload

func (o *SpaceChildrenSearchBadRequest) GetPayload() *models.Error

type SpaceChildrenSearchNotFound

type SpaceChildrenSearchNotFound struct {
	Payload *models.Error
}
SpaceChildrenSearchNotFound describes a response with status code 404, with default header values.

Not Found

func NewSpaceChildrenSearchNotFound

func NewSpaceChildrenSearchNotFound() *SpaceChildrenSearchNotFound

NewSpaceChildrenSearchNotFound creates a SpaceChildrenSearchNotFound with default headers values

func (*SpaceChildrenSearchNotFound) Error

func (*SpaceChildrenSearchNotFound) GetPayload

func (o *SpaceChildrenSearchNotFound) GetPayload() *models.Error

type SpaceChildrenSearchOK

type SpaceChildrenSearchOK struct {
	Payload []*models.Space
}
SpaceChildrenSearchOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSpaceChildrenSearchParamsWithContext

func NewSpaceChildrenSearchParamsWithContext(ctx context.Context) *SpaceChildrenSearchParams

NewSpaceChildrenSearchParamsWithContext creates a new SpaceChildrenSearchParams object with 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 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 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) SetDefaults

func (o *SpaceChildrenSearchParams) SetDefaults()

SetDefaults hydrates default values in the space children search params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the space children search params

func (*SpaceChildrenSearchParams) WithDefaults

WithDefaults hydrates default values in the space children search params (not the query body).

All values with no default are reset to their zero value.

func (*SpaceChildrenSearchParams) WithFields

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

WithName adds the name to the space children search params

func (*SpaceChildrenSearchParams) WithSorts

WithSorts adds the sorts to the space children search params

func (*SpaceChildrenSearchParams) WithSpaceID

WithSpaceID adds the spaceID to the space children search params

func (*SpaceChildrenSearchParams) WithTimeout

WithTimeout adds the timeout to the space children search params

func (*SpaceChildrenSearchParams) WriteToRequest

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

type SpaceDashboardsBadRequest struct {
	Payload *models.Error
}
SpaceDashboardsBadRequest describes a response with status code 400, 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

type SpaceDashboardsNotFound struct {
	Payload *models.Error
}
SpaceDashboardsNotFound describes a response with status code 404, 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

type SpaceDashboardsOK struct {
	Payload []*models.Dashboard
}
SpaceDashboardsOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSpaceDashboardsParamsWithContext

func NewSpaceDashboardsParamsWithContext(ctx context.Context) *SpaceDashboardsParams

NewSpaceDashboardsParamsWithContext creates a new SpaceDashboardsParams object with 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 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 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) SetDefaults

func (o *SpaceDashboardsParams) SetDefaults()

SetDefaults hydrates default values in the space dashboards params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the space dashboards params

func (*SpaceDashboardsParams) WithDefaults

func (o *SpaceDashboardsParams) WithDefaults() *SpaceDashboardsParams

WithDefaults hydrates default values in the space dashboards params (not the query body).

All values with no default are reset to their zero value.

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

type SpaceLooksBadRequest struct {
	Payload *models.Error
}
SpaceLooksBadRequest describes a response with status code 400, 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

type SpaceLooksNotFound struct {
	Payload *models.Error
}
SpaceLooksNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSpaceLooksParamsWithContext

func NewSpaceLooksParamsWithContext(ctx context.Context) *SpaceLooksParams

NewSpaceLooksParamsWithContext creates a new SpaceLooksParams object with 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 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 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) SetDefaults

func (o *SpaceLooksParams) SetDefaults()

SetDefaults hydrates default values in the space looks params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SpaceLooksParams) WithDefaults() *SpaceLooksParams

WithDefaults hydrates default values in the space looks params (not the query body).

All values with no default are reset to their zero value.

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

type SpaceNotFound struct {
	Payload *models.Error
}
SpaceNotFound describes a response with status code 404, 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

type SpaceOK struct {
	Payload *models.Space
}
SpaceOK describes a response with status code 200, with default header values.

Space

func NewSpaceOK

func NewSpaceOK() *SpaceOK

NewSpaceOK creates a SpaceOK with default headers values

func (*SpaceOK) Error

func (o *SpaceOK) Error() string

func (*SpaceOK) GetPayload

func (o *SpaceOK) GetPayload() *models.Space

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSpaceParamsWithContext

func NewSpaceParamsWithContext(ctx context.Context) *SpaceParams

NewSpaceParamsWithContext creates a new SpaceParams object with 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 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 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) SetDefaults

func (o *SpaceParams) SetDefaults()

SetDefaults hydrates default values in the space params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SpaceParams) WithDefaults() *SpaceParams

WithDefaults hydrates default values in the space params (not the query body).

All values with no default are reset to their zero value.

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

type SpaceParentBadRequest struct {
	Payload *models.Error
}
SpaceParentBadRequest describes a response with status code 400, 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

type SpaceParentNotFound struct {
	Payload *models.Error
}
SpaceParentNotFound describes a response with status code 404, 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

type SpaceParentOK struct {
	Payload *models.Space
}
SpaceParentOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSpaceParentParamsWithContext

func NewSpaceParentParamsWithContext(ctx context.Context) *SpaceParentParams

NewSpaceParentParamsWithContext creates a new SpaceParentParams object with 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 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 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) SetDefaults

func (o *SpaceParentParams) SetDefaults()

SetDefaults hydrates default values in the space parent params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SpaceParentParams) WithDefaults() *SpaceParentParams

WithDefaults hydrates default values in the space parent params (not the query body).

All values with no default are reset to their zero value.

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

type UpdateSpaceBadRequest struct {
	Payload *models.Error
}
UpdateSpaceBadRequest describes a response with status code 400, 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

type UpdateSpaceNotFound struct {
	Payload *models.Error
}
UpdateSpaceNotFound describes a response with status code 404, 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

type UpdateSpaceOK struct {
	Payload *models.Space
}
UpdateSpaceOK describes a response with status code 200, 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 parameters
	*/
	Body *models.UpdateSpace

	/* 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateSpaceParamsWithContext

func NewUpdateSpaceParamsWithContext(ctx context.Context) *UpdateSpaceParams

NewUpdateSpaceParamsWithContext creates a new UpdateSpaceParams object with 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 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 ability to set a timeout on a request.

func (*UpdateSpaceParams) SetBody

func (o *UpdateSpaceParams) SetBody(body *models.UpdateSpace)

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) SetDefaults

func (o *UpdateSpaceParams) SetDefaults()

SetDefaults hydrates default values in the update space params (not the query body).

All values with no default are reset to their zero value.

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

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) WithDefaults

func (o *UpdateSpaceParams) WithDefaults() *UpdateSpaceParams

WithDefaults hydrates default values in the update space params (not the query body).

All values with no default are reset to their zero value.

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 UpdateSpaceTooManyRequests

type UpdateSpaceTooManyRequests struct {
	Payload *models.Error
}
UpdateSpaceTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateSpaceTooManyRequests

func NewUpdateSpaceTooManyRequests() *UpdateSpaceTooManyRequests

NewUpdateSpaceTooManyRequests creates a UpdateSpaceTooManyRequests with default headers values

func (*UpdateSpaceTooManyRequests) Error

func (*UpdateSpaceTooManyRequests) GetPayload

func (o *UpdateSpaceTooManyRequests) GetPayload() *models.Error

type UpdateSpaceUnprocessableEntity

type UpdateSpaceUnprocessableEntity struct {
	Payload *models.ValidationError
}
UpdateSpaceUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewUpdateSpaceUnprocessableEntity

func NewUpdateSpaceUnprocessableEntity() *UpdateSpaceUnprocessableEntity

NewUpdateSpaceUnprocessableEntity creates a UpdateSpaceUnprocessableEntity with default headers values

func (*UpdateSpaceUnprocessableEntity) Error

func (*UpdateSpaceUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL