folder

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 AllFoldersBadRequest

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

Bad Request

func NewAllFoldersBadRequest

func NewAllFoldersBadRequest() *AllFoldersBadRequest

NewAllFoldersBadRequest creates a AllFoldersBadRequest with default headers values

func (*AllFoldersBadRequest) Error

func (o *AllFoldersBadRequest) Error() string

func (*AllFoldersBadRequest) GetPayload

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

type AllFoldersNotFound

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

Not Found

func NewAllFoldersNotFound

func NewAllFoldersNotFound() *AllFoldersNotFound

NewAllFoldersNotFound creates a AllFoldersNotFound with default headers values

func (*AllFoldersNotFound) Error

func (o *AllFoldersNotFound) Error() string

func (*AllFoldersNotFound) GetPayload

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

type AllFoldersOK

type AllFoldersOK struct {
	Payload []*models.Folder
}
AllFoldersOK describes a response with status code 200, with default header values.

Folder

func NewAllFoldersOK

func NewAllFoldersOK() *AllFoldersOK

NewAllFoldersOK creates a AllFoldersOK with default headers values

func (*AllFoldersOK) Error

func (o *AllFoldersOK) Error() string

func (*AllFoldersOK) GetPayload

func (o *AllFoldersOK) GetPayload() []*models.Folder

type AllFoldersParams

type AllFoldersParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllFoldersParams contains all the parameters to send to the API endpoint

for the all folders operation.

Typically these are written to a http.Request.

func NewAllFoldersParams

func NewAllFoldersParams() *AllFoldersParams

NewAllFoldersParams creates a new AllFoldersParams 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 NewAllFoldersParamsWithContext

func NewAllFoldersParamsWithContext(ctx context.Context) *AllFoldersParams

NewAllFoldersParamsWithContext creates a new AllFoldersParams object with the ability to set a context for a request.

func NewAllFoldersParamsWithHTTPClient

func NewAllFoldersParamsWithHTTPClient(client *http.Client) *AllFoldersParams

NewAllFoldersParamsWithHTTPClient creates a new AllFoldersParams object with the ability to set a custom HTTPClient for a request.

func NewAllFoldersParamsWithTimeout

func NewAllFoldersParamsWithTimeout(timeout time.Duration) *AllFoldersParams

NewAllFoldersParamsWithTimeout creates a new AllFoldersParams object with the ability to set a timeout on a request.

func (*AllFoldersParams) SetContext

func (o *AllFoldersParams) SetContext(ctx context.Context)

SetContext adds the context to the all folders params

func (*AllFoldersParams) SetDefaults

func (o *AllFoldersParams) SetDefaults()

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

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

func (*AllFoldersParams) SetFields

func (o *AllFoldersParams) SetFields(fields *string)

SetFields adds the fields to the all folders params

func (*AllFoldersParams) SetHTTPClient

func (o *AllFoldersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all folders params

func (*AllFoldersParams) SetTimeout

func (o *AllFoldersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all folders params

func (*AllFoldersParams) WithContext

func (o *AllFoldersParams) WithContext(ctx context.Context) *AllFoldersParams

WithContext adds the context to the all folders params

func (*AllFoldersParams) WithDefaults

func (o *AllFoldersParams) WithDefaults() *AllFoldersParams

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

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

func (*AllFoldersParams) WithFields

func (o *AllFoldersParams) WithFields(fields *string) *AllFoldersParams

WithFields adds the fields to the all folders params

func (*AllFoldersParams) WithHTTPClient

func (o *AllFoldersParams) WithHTTPClient(client *http.Client) *AllFoldersParams

WithHTTPClient adds the HTTPClient to the all folders params

func (*AllFoldersParams) WithTimeout

func (o *AllFoldersParams) WithTimeout(timeout time.Duration) *AllFoldersParams

WithTimeout adds the timeout to the all folders params

func (*AllFoldersParams) WriteToRequest

func (o *AllFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AllFoldersReader

type AllFoldersReader struct {
	// contains filtered or unexported fields
}

AllFoldersReader is a Reader for the AllFolders structure.

func (*AllFoldersReader) ReadResponse

func (o *AllFoldersReader) 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 folder API

func (*Client) AllFolders

func (a *Client) AllFolders(params *AllFoldersParams, opts ...ClientOption) (*AllFoldersOK, error)
AllFolders gets all folders

### Get information about all folders.

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

func (*Client) CreateFolder

func (a *Client) CreateFolder(params *CreateFolderParams, opts ...ClientOption) (*CreateFolderOK, error)
CreateFolder creates folder

### Create a folder with specified information.

Caller must have permission to edit the parent folder and to create folders, otherwise the request returns 404 Not Found.

func (*Client) DeleteFolder

func (a *Client) DeleteFolder(params *DeleteFolderParams, opts ...ClientOption) (*DeleteFolderNoContent, error)
DeleteFolder deletes folder

### Delete the folder with a specific id including any children folders.

**DANGER** this will delete all looks and dashboards in the folder.

func (*Client) Folder

func (a *Client) Folder(params *FolderParams, opts ...ClientOption) (*FolderOK, error)

Folder gets folder

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

func (*Client) FolderAncestors

func (a *Client) FolderAncestors(params *FolderAncestorsParams, opts ...ClientOption) (*FolderAncestorsOK, error)

FolderAncestors gets folder ancestors

### Get the ancestors of a folder

func (*Client) FolderChildren

func (a *Client) FolderChildren(params *FolderChildrenParams, opts ...ClientOption) (*FolderChildrenOK, error)

FolderChildren gets folder children

### Get the children of a folder.

func (*Client) FolderChildrenSearch

func (a *Client) FolderChildrenSearch(params *FolderChildrenSearchParams, opts ...ClientOption) (*FolderChildrenSearchOK, error)

FolderChildrenSearch searches folder children

### Search the children of a folder

func (*Client) FolderDashboards

func (a *Client) FolderDashboards(params *FolderDashboardsParams, opts ...ClientOption) (*FolderDashboardsOK, error)

FolderDashboards gets folder dashboards

### Get the dashboards in a folder

func (*Client) FolderLooks

func (a *Client) FolderLooks(params *FolderLooksParams, opts ...ClientOption) (*FolderLooksOK, error)
FolderLooks gets folder looks

### Get all looks in a folder.

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

func (*Client) FolderParent

func (a *Client) FolderParent(params *FolderParentParams, opts ...ClientOption) (*FolderParentOK, error)

FolderParent gets folder parent

### Get the parent of a folder

func (*Client) SearchFolders

func (a *Client) SearchFolders(params *SearchFoldersParams, opts ...ClientOption) (*SearchFoldersOK, error)

SearchFolders searches folders

Search for folders by creator id, parent id, name, etc

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateFolder

func (a *Client) UpdateFolder(params *UpdateFolderParams, opts ...ClientOption) (*UpdateFolderOK, error)

UpdateFolder updates folder

### Update the folder with a specific id.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AllFolders(params *AllFoldersParams, opts ...ClientOption) (*AllFoldersOK, error)

	CreateFolder(params *CreateFolderParams, opts ...ClientOption) (*CreateFolderOK, error)

	DeleteFolder(params *DeleteFolderParams, opts ...ClientOption) (*DeleteFolderNoContent, error)

	Folder(params *FolderParams, opts ...ClientOption) (*FolderOK, error)

	FolderAncestors(params *FolderAncestorsParams, opts ...ClientOption) (*FolderAncestorsOK, error)

	FolderChildren(params *FolderChildrenParams, opts ...ClientOption) (*FolderChildrenOK, error)

	FolderChildrenSearch(params *FolderChildrenSearchParams, opts ...ClientOption) (*FolderChildrenSearchOK, error)

	FolderDashboards(params *FolderDashboardsParams, opts ...ClientOption) (*FolderDashboardsOK, error)

	FolderLooks(params *FolderLooksParams, opts ...ClientOption) (*FolderLooksOK, error)

	FolderParent(params *FolderParentParams, opts ...ClientOption) (*FolderParentOK, error)

	SearchFolders(params *SearchFoldersParams, opts ...ClientOption) (*SearchFoldersOK, error)

	UpdateFolder(params *UpdateFolderParams, opts ...ClientOption) (*UpdateFolderOK, 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 folder API client.

type CreateFolderBadRequest

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

Bad Request

func NewCreateFolderBadRequest

func NewCreateFolderBadRequest() *CreateFolderBadRequest

NewCreateFolderBadRequest creates a CreateFolderBadRequest with default headers values

func (*CreateFolderBadRequest) Error

func (o *CreateFolderBadRequest) Error() string

func (*CreateFolderBadRequest) GetPayload

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

type CreateFolderConflict

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

Resource Already Exists

func NewCreateFolderConflict

func NewCreateFolderConflict() *CreateFolderConflict

NewCreateFolderConflict creates a CreateFolderConflict with default headers values

func (*CreateFolderConflict) Error

func (o *CreateFolderConflict) Error() string

func (*CreateFolderConflict) GetPayload

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

type CreateFolderNotFound

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

Not Found

func NewCreateFolderNotFound

func NewCreateFolderNotFound() *CreateFolderNotFound

NewCreateFolderNotFound creates a CreateFolderNotFound with default headers values

func (*CreateFolderNotFound) Error

func (o *CreateFolderNotFound) Error() string

func (*CreateFolderNotFound) GetPayload

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

type CreateFolderOK

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

Folder

func NewCreateFolderOK

func NewCreateFolderOK() *CreateFolderOK

NewCreateFolderOK creates a CreateFolderOK with default headers values

func (*CreateFolderOK) Error

func (o *CreateFolderOK) Error() string

func (*CreateFolderOK) GetPayload

func (o *CreateFolderOK) GetPayload() *models.Folder

type CreateFolderParams

type CreateFolderParams struct {

	/* Body.

	   Folder parameters
	*/
	Body *models.CreateFolder

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateFolderParams contains all the parameters to send to the API endpoint

for the create folder operation.

Typically these are written to a http.Request.

func NewCreateFolderParams

func NewCreateFolderParams() *CreateFolderParams

NewCreateFolderParams creates a new CreateFolderParams 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 NewCreateFolderParamsWithContext

func NewCreateFolderParamsWithContext(ctx context.Context) *CreateFolderParams

NewCreateFolderParamsWithContext creates a new CreateFolderParams object with the ability to set a context for a request.

func NewCreateFolderParamsWithHTTPClient

func NewCreateFolderParamsWithHTTPClient(client *http.Client) *CreateFolderParams

NewCreateFolderParamsWithHTTPClient creates a new CreateFolderParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFolderParamsWithTimeout

func NewCreateFolderParamsWithTimeout(timeout time.Duration) *CreateFolderParams

NewCreateFolderParamsWithTimeout creates a new CreateFolderParams object with the ability to set a timeout on a request.

func (*CreateFolderParams) SetBody

func (o *CreateFolderParams) SetBody(body *models.CreateFolder)

SetBody adds the body to the create folder params

func (*CreateFolderParams) SetContext

func (o *CreateFolderParams) SetContext(ctx context.Context)

SetContext adds the context to the create folder params

func (*CreateFolderParams) SetDefaults

func (o *CreateFolderParams) SetDefaults()

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

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

func (*CreateFolderParams) SetHTTPClient

func (o *CreateFolderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create folder params

func (*CreateFolderParams) SetTimeout

func (o *CreateFolderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create folder params

func (*CreateFolderParams) WithBody

WithBody adds the body to the create folder params

func (*CreateFolderParams) WithContext

WithContext adds the context to the create folder params

func (*CreateFolderParams) WithDefaults

func (o *CreateFolderParams) WithDefaults() *CreateFolderParams

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

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

func (*CreateFolderParams) WithHTTPClient

func (o *CreateFolderParams) WithHTTPClient(client *http.Client) *CreateFolderParams

WithHTTPClient adds the HTTPClient to the create folder params

func (*CreateFolderParams) WithTimeout

func (o *CreateFolderParams) WithTimeout(timeout time.Duration) *CreateFolderParams

WithTimeout adds the timeout to the create folder params

func (*CreateFolderParams) WriteToRequest

func (o *CreateFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateFolderReader

type CreateFolderReader struct {
	// contains filtered or unexported fields
}

CreateFolderReader is a Reader for the CreateFolder structure.

func (*CreateFolderReader) ReadResponse

func (o *CreateFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateFolderTooManyRequests

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

Too Many Requests

func NewCreateFolderTooManyRequests

func NewCreateFolderTooManyRequests() *CreateFolderTooManyRequests

NewCreateFolderTooManyRequests creates a CreateFolderTooManyRequests with default headers values

func (*CreateFolderTooManyRequests) Error

func (*CreateFolderTooManyRequests) GetPayload

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

type CreateFolderUnprocessableEntity

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

Validation Error

func NewCreateFolderUnprocessableEntity

func NewCreateFolderUnprocessableEntity() *CreateFolderUnprocessableEntity

NewCreateFolderUnprocessableEntity creates a CreateFolderUnprocessableEntity with default headers values

func (*CreateFolderUnprocessableEntity) Error

func (*CreateFolderUnprocessableEntity) GetPayload

type DeleteFolderBadRequest

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

Bad Request

func NewDeleteFolderBadRequest

func NewDeleteFolderBadRequest() *DeleteFolderBadRequest

NewDeleteFolderBadRequest creates a DeleteFolderBadRequest with default headers values

func (*DeleteFolderBadRequest) Error

func (o *DeleteFolderBadRequest) Error() string

func (*DeleteFolderBadRequest) GetPayload

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

type DeleteFolderNoContent

type DeleteFolderNoContent struct {
	Payload string
}
DeleteFolderNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteFolderNoContent

func NewDeleteFolderNoContent() *DeleteFolderNoContent

NewDeleteFolderNoContent creates a DeleteFolderNoContent with default headers values

func (*DeleteFolderNoContent) Error

func (o *DeleteFolderNoContent) Error() string

func (*DeleteFolderNoContent) GetPayload

func (o *DeleteFolderNoContent) GetPayload() string

type DeleteFolderNotFound

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

Not Found

func NewDeleteFolderNotFound

func NewDeleteFolderNotFound() *DeleteFolderNotFound

NewDeleteFolderNotFound creates a DeleteFolderNotFound with default headers values

func (*DeleteFolderNotFound) Error

func (o *DeleteFolderNotFound) Error() string

func (*DeleteFolderNotFound) GetPayload

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

type DeleteFolderParams

type DeleteFolderParams struct {

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteFolderParams contains all the parameters to send to the API endpoint

for the delete folder operation.

Typically these are written to a http.Request.

func NewDeleteFolderParams

func NewDeleteFolderParams() *DeleteFolderParams

NewDeleteFolderParams creates a new DeleteFolderParams 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 NewDeleteFolderParamsWithContext

func NewDeleteFolderParamsWithContext(ctx context.Context) *DeleteFolderParams

NewDeleteFolderParamsWithContext creates a new DeleteFolderParams object with the ability to set a context for a request.

func NewDeleteFolderParamsWithHTTPClient

func NewDeleteFolderParamsWithHTTPClient(client *http.Client) *DeleteFolderParams

NewDeleteFolderParamsWithHTTPClient creates a new DeleteFolderParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFolderParamsWithTimeout

func NewDeleteFolderParamsWithTimeout(timeout time.Duration) *DeleteFolderParams

NewDeleteFolderParamsWithTimeout creates a new DeleteFolderParams object with the ability to set a timeout on a request.

func (*DeleteFolderParams) SetContext

func (o *DeleteFolderParams) SetContext(ctx context.Context)

SetContext adds the context to the delete folder params

func (*DeleteFolderParams) SetDefaults

func (o *DeleteFolderParams) SetDefaults()

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

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

func (*DeleteFolderParams) SetFolderID

func (o *DeleteFolderParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the delete folder params

func (*DeleteFolderParams) SetHTTPClient

func (o *DeleteFolderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete folder params

func (*DeleteFolderParams) SetTimeout

func (o *DeleteFolderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete folder params

func (*DeleteFolderParams) WithContext

WithContext adds the context to the delete folder params

func (*DeleteFolderParams) WithDefaults

func (o *DeleteFolderParams) WithDefaults() *DeleteFolderParams

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

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

func (*DeleteFolderParams) WithFolderID

func (o *DeleteFolderParams) WithFolderID(folderID string) *DeleteFolderParams

WithFolderID adds the folderID to the delete folder params

func (*DeleteFolderParams) WithHTTPClient

func (o *DeleteFolderParams) WithHTTPClient(client *http.Client) *DeleteFolderParams

WithHTTPClient adds the HTTPClient to the delete folder params

func (*DeleteFolderParams) WithTimeout

func (o *DeleteFolderParams) WithTimeout(timeout time.Duration) *DeleteFolderParams

WithTimeout adds the timeout to the delete folder params

func (*DeleteFolderParams) WriteToRequest

func (o *DeleteFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteFolderReader

type DeleteFolderReader struct {
	// contains filtered or unexported fields
}

DeleteFolderReader is a Reader for the DeleteFolder structure.

func (*DeleteFolderReader) ReadResponse

func (o *DeleteFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteFolderTooManyRequests

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

Too Many Requests

func NewDeleteFolderTooManyRequests

func NewDeleteFolderTooManyRequests() *DeleteFolderTooManyRequests

NewDeleteFolderTooManyRequests creates a DeleteFolderTooManyRequests with default headers values

func (*DeleteFolderTooManyRequests) Error

func (*DeleteFolderTooManyRequests) GetPayload

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

type FolderAncestorsBadRequest

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

Bad Request

func NewFolderAncestorsBadRequest

func NewFolderAncestorsBadRequest() *FolderAncestorsBadRequest

NewFolderAncestorsBadRequest creates a FolderAncestorsBadRequest with default headers values

func (*FolderAncestorsBadRequest) Error

func (o *FolderAncestorsBadRequest) Error() string

func (*FolderAncestorsBadRequest) GetPayload

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

type FolderAncestorsNotFound

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

Not Found

func NewFolderAncestorsNotFound

func NewFolderAncestorsNotFound() *FolderAncestorsNotFound

NewFolderAncestorsNotFound creates a FolderAncestorsNotFound with default headers values

func (*FolderAncestorsNotFound) Error

func (o *FolderAncestorsNotFound) Error() string

func (*FolderAncestorsNotFound) GetPayload

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

type FolderAncestorsOK

type FolderAncestorsOK struct {
	Payload []*models.Folder
}
FolderAncestorsOK describes a response with status code 200, with default header values.

Folders

func NewFolderAncestorsOK

func NewFolderAncestorsOK() *FolderAncestorsOK

NewFolderAncestorsOK creates a FolderAncestorsOK with default headers values

func (*FolderAncestorsOK) Error

func (o *FolderAncestorsOK) Error() string

func (*FolderAncestorsOK) GetPayload

func (o *FolderAncestorsOK) GetPayload() []*models.Folder

type FolderAncestorsParams

type FolderAncestorsParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FolderAncestorsParams contains all the parameters to send to the API endpoint

for the folder ancestors operation.

Typically these are written to a http.Request.

func NewFolderAncestorsParams

func NewFolderAncestorsParams() *FolderAncestorsParams

NewFolderAncestorsParams creates a new FolderAncestorsParams 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 NewFolderAncestorsParamsWithContext

func NewFolderAncestorsParamsWithContext(ctx context.Context) *FolderAncestorsParams

NewFolderAncestorsParamsWithContext creates a new FolderAncestorsParams object with the ability to set a context for a request.

func NewFolderAncestorsParamsWithHTTPClient

func NewFolderAncestorsParamsWithHTTPClient(client *http.Client) *FolderAncestorsParams

NewFolderAncestorsParamsWithHTTPClient creates a new FolderAncestorsParams object with the ability to set a custom HTTPClient for a request.

func NewFolderAncestorsParamsWithTimeout

func NewFolderAncestorsParamsWithTimeout(timeout time.Duration) *FolderAncestorsParams

NewFolderAncestorsParamsWithTimeout creates a new FolderAncestorsParams object with the ability to set a timeout on a request.

func (*FolderAncestorsParams) SetContext

func (o *FolderAncestorsParams) SetContext(ctx context.Context)

SetContext adds the context to the folder ancestors params

func (*FolderAncestorsParams) SetDefaults

func (o *FolderAncestorsParams) SetDefaults()

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

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

func (*FolderAncestorsParams) SetFields

func (o *FolderAncestorsParams) SetFields(fields *string)

SetFields adds the fields to the folder ancestors params

func (*FolderAncestorsParams) SetFolderID

func (o *FolderAncestorsParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the folder ancestors params

func (*FolderAncestorsParams) SetHTTPClient

func (o *FolderAncestorsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the folder ancestors params

func (*FolderAncestorsParams) SetTimeout

func (o *FolderAncestorsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the folder ancestors params

func (*FolderAncestorsParams) WithContext

WithContext adds the context to the folder ancestors params

func (*FolderAncestorsParams) WithDefaults

func (o *FolderAncestorsParams) WithDefaults() *FolderAncestorsParams

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

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

func (*FolderAncestorsParams) WithFields

func (o *FolderAncestorsParams) WithFields(fields *string) *FolderAncestorsParams

WithFields adds the fields to the folder ancestors params

func (*FolderAncestorsParams) WithFolderID

func (o *FolderAncestorsParams) WithFolderID(folderID string) *FolderAncestorsParams

WithFolderID adds the folderID to the folder ancestors params

func (*FolderAncestorsParams) WithHTTPClient

func (o *FolderAncestorsParams) WithHTTPClient(client *http.Client) *FolderAncestorsParams

WithHTTPClient adds the HTTPClient to the folder ancestors params

func (*FolderAncestorsParams) WithTimeout

func (o *FolderAncestorsParams) WithTimeout(timeout time.Duration) *FolderAncestorsParams

WithTimeout adds the timeout to the folder ancestors params

func (*FolderAncestorsParams) WriteToRequest

func (o *FolderAncestorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FolderAncestorsReader

type FolderAncestorsReader struct {
	// contains filtered or unexported fields
}

FolderAncestorsReader is a Reader for the FolderAncestors structure.

func (*FolderAncestorsReader) ReadResponse

func (o *FolderAncestorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FolderBadRequest

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

Bad Request

func NewFolderBadRequest

func NewFolderBadRequest() *FolderBadRequest

NewFolderBadRequest creates a FolderBadRequest with default headers values

func (*FolderBadRequest) Error

func (o *FolderBadRequest) Error() string

func (*FolderBadRequest) GetPayload

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

type FolderChildrenBadRequest

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

Bad Request

func NewFolderChildrenBadRequest

func NewFolderChildrenBadRequest() *FolderChildrenBadRequest

NewFolderChildrenBadRequest creates a FolderChildrenBadRequest with default headers values

func (*FolderChildrenBadRequest) Error

func (o *FolderChildrenBadRequest) Error() string

func (*FolderChildrenBadRequest) GetPayload

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

type FolderChildrenNotFound

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

Not Found

func NewFolderChildrenNotFound

func NewFolderChildrenNotFound() *FolderChildrenNotFound

NewFolderChildrenNotFound creates a FolderChildrenNotFound with default headers values

func (*FolderChildrenNotFound) Error

func (o *FolderChildrenNotFound) Error() string

func (*FolderChildrenNotFound) GetPayload

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

type FolderChildrenOK

type FolderChildrenOK struct {
	Payload []*models.Folder
}
FolderChildrenOK describes a response with status code 200, with default header values.

Folders

func NewFolderChildrenOK

func NewFolderChildrenOK() *FolderChildrenOK

NewFolderChildrenOK creates a FolderChildrenOK with default headers values

func (*FolderChildrenOK) Error

func (o *FolderChildrenOK) Error() string

func (*FolderChildrenOK) GetPayload

func (o *FolderChildrenOK) GetPayload() []*models.Folder

type FolderChildrenParams

type FolderChildrenParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	/* Page.

	   Requested page.

	   Format: int64
	*/
	Page *int64

	/* 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
}

FolderChildrenParams contains all the parameters to send to the API endpoint

for the folder children operation.

Typically these are written to a http.Request.

func NewFolderChildrenParams

func NewFolderChildrenParams() *FolderChildrenParams

NewFolderChildrenParams creates a new FolderChildrenParams 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 NewFolderChildrenParamsWithContext

func NewFolderChildrenParamsWithContext(ctx context.Context) *FolderChildrenParams

NewFolderChildrenParamsWithContext creates a new FolderChildrenParams object with the ability to set a context for a request.

func NewFolderChildrenParamsWithHTTPClient

func NewFolderChildrenParamsWithHTTPClient(client *http.Client) *FolderChildrenParams

NewFolderChildrenParamsWithHTTPClient creates a new FolderChildrenParams object with the ability to set a custom HTTPClient for a request.

func NewFolderChildrenParamsWithTimeout

func NewFolderChildrenParamsWithTimeout(timeout time.Duration) *FolderChildrenParams

NewFolderChildrenParamsWithTimeout creates a new FolderChildrenParams object with the ability to set a timeout on a request.

func (*FolderChildrenParams) SetContext

func (o *FolderChildrenParams) SetContext(ctx context.Context)

SetContext adds the context to the folder children params

func (*FolderChildrenParams) SetDefaults

func (o *FolderChildrenParams) SetDefaults()

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

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

func (*FolderChildrenParams) SetFields

func (o *FolderChildrenParams) SetFields(fields *string)

SetFields adds the fields to the folder children params

func (*FolderChildrenParams) SetFolderID

func (o *FolderChildrenParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the folder children params

func (*FolderChildrenParams) SetHTTPClient

func (o *FolderChildrenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the folder children params

func (*FolderChildrenParams) SetPage

func (o *FolderChildrenParams) SetPage(page *int64)

SetPage adds the page to the folder children params

func (*FolderChildrenParams) SetPerPage

func (o *FolderChildrenParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the folder children params

func (*FolderChildrenParams) SetSorts

func (o *FolderChildrenParams) SetSorts(sorts *string)

SetSorts adds the sorts to the folder children params

func (*FolderChildrenParams) SetTimeout

func (o *FolderChildrenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the folder children params

func (*FolderChildrenParams) WithContext

WithContext adds the context to the folder children params

func (*FolderChildrenParams) WithDefaults

func (o *FolderChildrenParams) WithDefaults() *FolderChildrenParams

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

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

func (*FolderChildrenParams) WithFields

func (o *FolderChildrenParams) WithFields(fields *string) *FolderChildrenParams

WithFields adds the fields to the folder children params

func (*FolderChildrenParams) WithFolderID

func (o *FolderChildrenParams) WithFolderID(folderID string) *FolderChildrenParams

WithFolderID adds the folderID to the folder children params

func (*FolderChildrenParams) WithHTTPClient

func (o *FolderChildrenParams) WithHTTPClient(client *http.Client) *FolderChildrenParams

WithHTTPClient adds the HTTPClient to the folder children params

func (*FolderChildrenParams) WithPage

func (o *FolderChildrenParams) WithPage(page *int64) *FolderChildrenParams

WithPage adds the page to the folder children params

func (*FolderChildrenParams) WithPerPage

func (o *FolderChildrenParams) WithPerPage(perPage *int64) *FolderChildrenParams

WithPerPage adds the perPage to the folder children params

func (*FolderChildrenParams) WithSorts

func (o *FolderChildrenParams) WithSorts(sorts *string) *FolderChildrenParams

WithSorts adds the sorts to the folder children params

func (*FolderChildrenParams) WithTimeout

func (o *FolderChildrenParams) WithTimeout(timeout time.Duration) *FolderChildrenParams

WithTimeout adds the timeout to the folder children params

func (*FolderChildrenParams) WriteToRequest

func (o *FolderChildrenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FolderChildrenReader

type FolderChildrenReader struct {
	// contains filtered or unexported fields
}

FolderChildrenReader is a Reader for the FolderChildren structure.

func (*FolderChildrenReader) ReadResponse

func (o *FolderChildrenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FolderChildrenSearchBadRequest

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

Bad Request

func NewFolderChildrenSearchBadRequest

func NewFolderChildrenSearchBadRequest() *FolderChildrenSearchBadRequest

NewFolderChildrenSearchBadRequest creates a FolderChildrenSearchBadRequest with default headers values

func (*FolderChildrenSearchBadRequest) Error

func (*FolderChildrenSearchBadRequest) GetPayload

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

type FolderChildrenSearchNotFound

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

Not Found

func NewFolderChildrenSearchNotFound

func NewFolderChildrenSearchNotFound() *FolderChildrenSearchNotFound

NewFolderChildrenSearchNotFound creates a FolderChildrenSearchNotFound with default headers values

func (*FolderChildrenSearchNotFound) Error

func (*FolderChildrenSearchNotFound) GetPayload

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

type FolderChildrenSearchOK

type FolderChildrenSearchOK struct {
	Payload []*models.Folder
}
FolderChildrenSearchOK describes a response with status code 200, with default header values.

Folders

func NewFolderChildrenSearchOK

func NewFolderChildrenSearchOK() *FolderChildrenSearchOK

NewFolderChildrenSearchOK creates a FolderChildrenSearchOK with default headers values

func (*FolderChildrenSearchOK) Error

func (o *FolderChildrenSearchOK) Error() string

func (*FolderChildrenSearchOK) GetPayload

func (o *FolderChildrenSearchOK) GetPayload() []*models.Folder

type FolderChildrenSearchParams

type FolderChildrenSearchParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	/* Name.

	   Match folder name.
	*/
	Name *string

	/* Sorts.

	   Fields to sort by.
	*/
	Sorts *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FolderChildrenSearchParams contains all the parameters to send to the API endpoint

for the folder children search operation.

Typically these are written to a http.Request.

func NewFolderChildrenSearchParams

func NewFolderChildrenSearchParams() *FolderChildrenSearchParams

NewFolderChildrenSearchParams creates a new FolderChildrenSearchParams 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 NewFolderChildrenSearchParamsWithContext

func NewFolderChildrenSearchParamsWithContext(ctx context.Context) *FolderChildrenSearchParams

NewFolderChildrenSearchParamsWithContext creates a new FolderChildrenSearchParams object with the ability to set a context for a request.

func NewFolderChildrenSearchParamsWithHTTPClient

func NewFolderChildrenSearchParamsWithHTTPClient(client *http.Client) *FolderChildrenSearchParams

NewFolderChildrenSearchParamsWithHTTPClient creates a new FolderChildrenSearchParams object with the ability to set a custom HTTPClient for a request.

func NewFolderChildrenSearchParamsWithTimeout

func NewFolderChildrenSearchParamsWithTimeout(timeout time.Duration) *FolderChildrenSearchParams

NewFolderChildrenSearchParamsWithTimeout creates a new FolderChildrenSearchParams object with the ability to set a timeout on a request.

func (*FolderChildrenSearchParams) SetContext

func (o *FolderChildrenSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the folder children search params

func (*FolderChildrenSearchParams) SetDefaults

func (o *FolderChildrenSearchParams) SetDefaults()

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

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

func (*FolderChildrenSearchParams) SetFields

func (o *FolderChildrenSearchParams) SetFields(fields *string)

SetFields adds the fields to the folder children search params

func (*FolderChildrenSearchParams) SetFolderID

func (o *FolderChildrenSearchParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the folder children search params

func (*FolderChildrenSearchParams) SetHTTPClient

func (o *FolderChildrenSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the folder children search params

func (*FolderChildrenSearchParams) SetName

func (o *FolderChildrenSearchParams) SetName(name *string)

SetName adds the name to the folder children search params

func (*FolderChildrenSearchParams) SetSorts

func (o *FolderChildrenSearchParams) SetSorts(sorts *string)

SetSorts adds the sorts to the folder children search params

func (*FolderChildrenSearchParams) SetTimeout

func (o *FolderChildrenSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the folder children search params

func (*FolderChildrenSearchParams) WithContext

WithContext adds the context to the folder children search params

func (*FolderChildrenSearchParams) WithDefaults

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

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

func (*FolderChildrenSearchParams) WithFields

WithFields adds the fields to the folder children search params

func (*FolderChildrenSearchParams) WithFolderID

WithFolderID adds the folderID to the folder children search params

func (*FolderChildrenSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the folder children search params

func (*FolderChildrenSearchParams) WithName

WithName adds the name to the folder children search params

func (*FolderChildrenSearchParams) WithSorts

WithSorts adds the sorts to the folder children search params

func (*FolderChildrenSearchParams) WithTimeout

WithTimeout adds the timeout to the folder children search params

func (*FolderChildrenSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FolderChildrenSearchReader

type FolderChildrenSearchReader struct {
	// contains filtered or unexported fields
}

FolderChildrenSearchReader is a Reader for the FolderChildrenSearch structure.

func (*FolderChildrenSearchReader) ReadResponse

func (o *FolderChildrenSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FolderDashboardsBadRequest

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

Bad Request

func NewFolderDashboardsBadRequest

func NewFolderDashboardsBadRequest() *FolderDashboardsBadRequest

NewFolderDashboardsBadRequest creates a FolderDashboardsBadRequest with default headers values

func (*FolderDashboardsBadRequest) Error

func (*FolderDashboardsBadRequest) GetPayload

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

type FolderDashboardsNotFound

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

Not Found

func NewFolderDashboardsNotFound

func NewFolderDashboardsNotFound() *FolderDashboardsNotFound

NewFolderDashboardsNotFound creates a FolderDashboardsNotFound with default headers values

func (*FolderDashboardsNotFound) Error

func (o *FolderDashboardsNotFound) Error() string

func (*FolderDashboardsNotFound) GetPayload

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

type FolderDashboardsOK

type FolderDashboardsOK struct {
	Payload []*models.Dashboard
}
FolderDashboardsOK describes a response with status code 200, with default header values.

Dashboard

func NewFolderDashboardsOK

func NewFolderDashboardsOK() *FolderDashboardsOK

NewFolderDashboardsOK creates a FolderDashboardsOK with default headers values

func (*FolderDashboardsOK) Error

func (o *FolderDashboardsOK) Error() string

func (*FolderDashboardsOK) GetPayload

func (o *FolderDashboardsOK) GetPayload() []*models.Dashboard

type FolderDashboardsParams

type FolderDashboardsParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FolderDashboardsParams contains all the parameters to send to the API endpoint

for the folder dashboards operation.

Typically these are written to a http.Request.

func NewFolderDashboardsParams

func NewFolderDashboardsParams() *FolderDashboardsParams

NewFolderDashboardsParams creates a new FolderDashboardsParams 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 NewFolderDashboardsParamsWithContext

func NewFolderDashboardsParamsWithContext(ctx context.Context) *FolderDashboardsParams

NewFolderDashboardsParamsWithContext creates a new FolderDashboardsParams object with the ability to set a context for a request.

func NewFolderDashboardsParamsWithHTTPClient

func NewFolderDashboardsParamsWithHTTPClient(client *http.Client) *FolderDashboardsParams

NewFolderDashboardsParamsWithHTTPClient creates a new FolderDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewFolderDashboardsParamsWithTimeout

func NewFolderDashboardsParamsWithTimeout(timeout time.Duration) *FolderDashboardsParams

NewFolderDashboardsParamsWithTimeout creates a new FolderDashboardsParams object with the ability to set a timeout on a request.

func (*FolderDashboardsParams) SetContext

func (o *FolderDashboardsParams) SetContext(ctx context.Context)

SetContext adds the context to the folder dashboards params

func (*FolderDashboardsParams) SetDefaults

func (o *FolderDashboardsParams) SetDefaults()

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

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

func (*FolderDashboardsParams) SetFields

func (o *FolderDashboardsParams) SetFields(fields *string)

SetFields adds the fields to the folder dashboards params

func (*FolderDashboardsParams) SetFolderID

func (o *FolderDashboardsParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the folder dashboards params

func (*FolderDashboardsParams) SetHTTPClient

func (o *FolderDashboardsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the folder dashboards params

func (*FolderDashboardsParams) SetTimeout

func (o *FolderDashboardsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the folder dashboards params

func (*FolderDashboardsParams) WithContext

WithContext adds the context to the folder dashboards params

func (*FolderDashboardsParams) WithDefaults

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

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

func (*FolderDashboardsParams) WithFields

func (o *FolderDashboardsParams) WithFields(fields *string) *FolderDashboardsParams

WithFields adds the fields to the folder dashboards params

func (*FolderDashboardsParams) WithFolderID

func (o *FolderDashboardsParams) WithFolderID(folderID string) *FolderDashboardsParams

WithFolderID adds the folderID to the folder dashboards params

func (*FolderDashboardsParams) WithHTTPClient

func (o *FolderDashboardsParams) WithHTTPClient(client *http.Client) *FolderDashboardsParams

WithHTTPClient adds the HTTPClient to the folder dashboards params

func (*FolderDashboardsParams) WithTimeout

WithTimeout adds the timeout to the folder dashboards params

func (*FolderDashboardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FolderDashboardsReader

type FolderDashboardsReader struct {
	// contains filtered or unexported fields
}

FolderDashboardsReader is a Reader for the FolderDashboards structure.

func (*FolderDashboardsReader) ReadResponse

func (o *FolderDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FolderLooksBadRequest

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

Bad Request

func NewFolderLooksBadRequest

func NewFolderLooksBadRequest() *FolderLooksBadRequest

NewFolderLooksBadRequest creates a FolderLooksBadRequest with default headers values

func (*FolderLooksBadRequest) Error

func (o *FolderLooksBadRequest) Error() string

func (*FolderLooksBadRequest) GetPayload

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

type FolderLooksNotFound

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

Not Found

func NewFolderLooksNotFound

func NewFolderLooksNotFound() *FolderLooksNotFound

NewFolderLooksNotFound creates a FolderLooksNotFound with default headers values

func (*FolderLooksNotFound) Error

func (o *FolderLooksNotFound) Error() string

func (*FolderLooksNotFound) GetPayload

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

type FolderLooksOK

type FolderLooksOK struct {
	Payload []*models.LookWithQuery
}
FolderLooksOK describes a response with status code 200, with default header values.

Looks

func NewFolderLooksOK

func NewFolderLooksOK() *FolderLooksOK

NewFolderLooksOK creates a FolderLooksOK with default headers values

func (*FolderLooksOK) Error

func (o *FolderLooksOK) Error() string

func (*FolderLooksOK) GetPayload

func (o *FolderLooksOK) GetPayload() []*models.LookWithQuery

type FolderLooksParams

type FolderLooksParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FolderLooksParams contains all the parameters to send to the API endpoint

for the folder looks operation.

Typically these are written to a http.Request.

func NewFolderLooksParams

func NewFolderLooksParams() *FolderLooksParams

NewFolderLooksParams creates a new FolderLooksParams 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 NewFolderLooksParamsWithContext

func NewFolderLooksParamsWithContext(ctx context.Context) *FolderLooksParams

NewFolderLooksParamsWithContext creates a new FolderLooksParams object with the ability to set a context for a request.

func NewFolderLooksParamsWithHTTPClient

func NewFolderLooksParamsWithHTTPClient(client *http.Client) *FolderLooksParams

NewFolderLooksParamsWithHTTPClient creates a new FolderLooksParams object with the ability to set a custom HTTPClient for a request.

func NewFolderLooksParamsWithTimeout

func NewFolderLooksParamsWithTimeout(timeout time.Duration) *FolderLooksParams

NewFolderLooksParamsWithTimeout creates a new FolderLooksParams object with the ability to set a timeout on a request.

func (*FolderLooksParams) SetContext

func (o *FolderLooksParams) SetContext(ctx context.Context)

SetContext adds the context to the folder looks params

func (*FolderLooksParams) SetDefaults

func (o *FolderLooksParams) SetDefaults()

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

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

func (*FolderLooksParams) SetFields

func (o *FolderLooksParams) SetFields(fields *string)

SetFields adds the fields to the folder looks params

func (*FolderLooksParams) SetFolderID

func (o *FolderLooksParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the folder looks params

func (*FolderLooksParams) SetHTTPClient

func (o *FolderLooksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the folder looks params

func (*FolderLooksParams) SetTimeout

func (o *FolderLooksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the folder looks params

func (*FolderLooksParams) WithContext

func (o *FolderLooksParams) WithContext(ctx context.Context) *FolderLooksParams

WithContext adds the context to the folder looks params

func (*FolderLooksParams) WithDefaults

func (o *FolderLooksParams) WithDefaults() *FolderLooksParams

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

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

func (*FolderLooksParams) WithFields

func (o *FolderLooksParams) WithFields(fields *string) *FolderLooksParams

WithFields adds the fields to the folder looks params

func (*FolderLooksParams) WithFolderID

func (o *FolderLooksParams) WithFolderID(folderID string) *FolderLooksParams

WithFolderID adds the folderID to the folder looks params

func (*FolderLooksParams) WithHTTPClient

func (o *FolderLooksParams) WithHTTPClient(client *http.Client) *FolderLooksParams

WithHTTPClient adds the HTTPClient to the folder looks params

func (*FolderLooksParams) WithTimeout

func (o *FolderLooksParams) WithTimeout(timeout time.Duration) *FolderLooksParams

WithTimeout adds the timeout to the folder looks params

func (*FolderLooksParams) WriteToRequest

func (o *FolderLooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FolderLooksReader

type FolderLooksReader struct {
	// contains filtered or unexported fields
}

FolderLooksReader is a Reader for the FolderLooks structure.

func (*FolderLooksReader) ReadResponse

func (o *FolderLooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FolderNotFound

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

Not Found

func NewFolderNotFound

func NewFolderNotFound() *FolderNotFound

NewFolderNotFound creates a FolderNotFound with default headers values

func (*FolderNotFound) Error

func (o *FolderNotFound) Error() string

func (*FolderNotFound) GetPayload

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

type FolderOK

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

Folder

func NewFolderOK

func NewFolderOK() *FolderOK

NewFolderOK creates a FolderOK with default headers values

func (*FolderOK) Error

func (o *FolderOK) Error() string

func (*FolderOK) GetPayload

func (o *FolderOK) GetPayload() *models.Folder

type FolderParams

type FolderParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FolderParams contains all the parameters to send to the API endpoint

for the folder operation.

Typically these are written to a http.Request.

func NewFolderParams

func NewFolderParams() *FolderParams

NewFolderParams creates a new FolderParams 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 NewFolderParamsWithContext

func NewFolderParamsWithContext(ctx context.Context) *FolderParams

NewFolderParamsWithContext creates a new FolderParams object with the ability to set a context for a request.

func NewFolderParamsWithHTTPClient

func NewFolderParamsWithHTTPClient(client *http.Client) *FolderParams

NewFolderParamsWithHTTPClient creates a new FolderParams object with the ability to set a custom HTTPClient for a request.

func NewFolderParamsWithTimeout

func NewFolderParamsWithTimeout(timeout time.Duration) *FolderParams

NewFolderParamsWithTimeout creates a new FolderParams object with the ability to set a timeout on a request.

func (*FolderParams) SetContext

func (o *FolderParams) SetContext(ctx context.Context)

SetContext adds the context to the folder params

func (*FolderParams) SetDefaults

func (o *FolderParams) SetDefaults()

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

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

func (*FolderParams) SetFields

func (o *FolderParams) SetFields(fields *string)

SetFields adds the fields to the folder params

func (*FolderParams) SetFolderID

func (o *FolderParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the folder params

func (*FolderParams) SetHTTPClient

func (o *FolderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the folder params

func (*FolderParams) SetTimeout

func (o *FolderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the folder params

func (*FolderParams) WithContext

func (o *FolderParams) WithContext(ctx context.Context) *FolderParams

WithContext adds the context to the folder params

func (*FolderParams) WithDefaults

func (o *FolderParams) WithDefaults() *FolderParams

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

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

func (*FolderParams) WithFields

func (o *FolderParams) WithFields(fields *string) *FolderParams

WithFields adds the fields to the folder params

func (*FolderParams) WithFolderID

func (o *FolderParams) WithFolderID(folderID string) *FolderParams

WithFolderID adds the folderID to the folder params

func (*FolderParams) WithHTTPClient

func (o *FolderParams) WithHTTPClient(client *http.Client) *FolderParams

WithHTTPClient adds the HTTPClient to the folder params

func (*FolderParams) WithTimeout

func (o *FolderParams) WithTimeout(timeout time.Duration) *FolderParams

WithTimeout adds the timeout to the folder params

func (*FolderParams) WriteToRequest

func (o *FolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FolderParentBadRequest

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

Bad Request

func NewFolderParentBadRequest

func NewFolderParentBadRequest() *FolderParentBadRequest

NewFolderParentBadRequest creates a FolderParentBadRequest with default headers values

func (*FolderParentBadRequest) Error

func (o *FolderParentBadRequest) Error() string

func (*FolderParentBadRequest) GetPayload

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

type FolderParentNotFound

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

Not Found

func NewFolderParentNotFound

func NewFolderParentNotFound() *FolderParentNotFound

NewFolderParentNotFound creates a FolderParentNotFound with default headers values

func (*FolderParentNotFound) Error

func (o *FolderParentNotFound) Error() string

func (*FolderParentNotFound) GetPayload

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

type FolderParentOK

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

Folder

func NewFolderParentOK

func NewFolderParentOK() *FolderParentOK

NewFolderParentOK creates a FolderParentOK with default headers values

func (*FolderParentOK) Error

func (o *FolderParentOK) Error() string

func (*FolderParentOK) GetPayload

func (o *FolderParentOK) GetPayload() *models.Folder

type FolderParentParams

type FolderParentParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FolderParentParams contains all the parameters to send to the API endpoint

for the folder parent operation.

Typically these are written to a http.Request.

func NewFolderParentParams

func NewFolderParentParams() *FolderParentParams

NewFolderParentParams creates a new FolderParentParams 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 NewFolderParentParamsWithContext

func NewFolderParentParamsWithContext(ctx context.Context) *FolderParentParams

NewFolderParentParamsWithContext creates a new FolderParentParams object with the ability to set a context for a request.

func NewFolderParentParamsWithHTTPClient

func NewFolderParentParamsWithHTTPClient(client *http.Client) *FolderParentParams

NewFolderParentParamsWithHTTPClient creates a new FolderParentParams object with the ability to set a custom HTTPClient for a request.

func NewFolderParentParamsWithTimeout

func NewFolderParentParamsWithTimeout(timeout time.Duration) *FolderParentParams

NewFolderParentParamsWithTimeout creates a new FolderParentParams object with the ability to set a timeout on a request.

func (*FolderParentParams) SetContext

func (o *FolderParentParams) SetContext(ctx context.Context)

SetContext adds the context to the folder parent params

func (*FolderParentParams) SetDefaults

func (o *FolderParentParams) SetDefaults()

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

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

func (*FolderParentParams) SetFields

func (o *FolderParentParams) SetFields(fields *string)

SetFields adds the fields to the folder parent params

func (*FolderParentParams) SetFolderID

func (o *FolderParentParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the folder parent params

func (*FolderParentParams) SetHTTPClient

func (o *FolderParentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the folder parent params

func (*FolderParentParams) SetTimeout

func (o *FolderParentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the folder parent params

func (*FolderParentParams) WithContext

WithContext adds the context to the folder parent params

func (*FolderParentParams) WithDefaults

func (o *FolderParentParams) WithDefaults() *FolderParentParams

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

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

func (*FolderParentParams) WithFields

func (o *FolderParentParams) WithFields(fields *string) *FolderParentParams

WithFields adds the fields to the folder parent params

func (*FolderParentParams) WithFolderID

func (o *FolderParentParams) WithFolderID(folderID string) *FolderParentParams

WithFolderID adds the folderID to the folder parent params

func (*FolderParentParams) WithHTTPClient

func (o *FolderParentParams) WithHTTPClient(client *http.Client) *FolderParentParams

WithHTTPClient adds the HTTPClient to the folder parent params

func (*FolderParentParams) WithTimeout

func (o *FolderParentParams) WithTimeout(timeout time.Duration) *FolderParentParams

WithTimeout adds the timeout to the folder parent params

func (*FolderParentParams) WriteToRequest

func (o *FolderParentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FolderParentReader

type FolderParentReader struct {
	// contains filtered or unexported fields
}

FolderParentReader is a Reader for the FolderParent structure.

func (*FolderParentReader) ReadResponse

func (o *FolderParentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FolderReader

type FolderReader struct {
	// contains filtered or unexported fields
}

FolderReader is a Reader for the Folder structure.

func (*FolderReader) ReadResponse

func (o *FolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchFoldersBadRequest

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

Bad Request

func NewSearchFoldersBadRequest

func NewSearchFoldersBadRequest() *SearchFoldersBadRequest

NewSearchFoldersBadRequest creates a SearchFoldersBadRequest with default headers values

func (*SearchFoldersBadRequest) Error

func (o *SearchFoldersBadRequest) Error() string

func (*SearchFoldersBadRequest) GetPayload

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

type SearchFoldersNotFound

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

Not Found

func NewSearchFoldersNotFound

func NewSearchFoldersNotFound() *SearchFoldersNotFound

NewSearchFoldersNotFound creates a SearchFoldersNotFound with default headers values

func (*SearchFoldersNotFound) Error

func (o *SearchFoldersNotFound) Error() string

func (*SearchFoldersNotFound) GetPayload

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

type SearchFoldersOK

type SearchFoldersOK struct {
	Payload []*models.Folder
}
SearchFoldersOK describes a response with status code 200, with default header values.

folders

func NewSearchFoldersOK

func NewSearchFoldersOK() *SearchFoldersOK

NewSearchFoldersOK creates a SearchFoldersOK with default headers values

func (*SearchFoldersOK) Error

func (o *SearchFoldersOK) Error() string

func (*SearchFoldersOK) GetPayload

func (o *SearchFoldersOK) GetPayload() []*models.Folder

type SearchFoldersParams

type SearchFoldersParams struct {

	/* CreatorID.

	   Filter on folder 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 folder.
	*/
	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
}

SearchFoldersParams contains all the parameters to send to the API endpoint

for the search folders operation.

Typically these are written to a http.Request.

func NewSearchFoldersParams

func NewSearchFoldersParams() *SearchFoldersParams

NewSearchFoldersParams creates a new SearchFoldersParams 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 NewSearchFoldersParamsWithContext

func NewSearchFoldersParamsWithContext(ctx context.Context) *SearchFoldersParams

NewSearchFoldersParamsWithContext creates a new SearchFoldersParams object with the ability to set a context for a request.

func NewSearchFoldersParamsWithHTTPClient

func NewSearchFoldersParamsWithHTTPClient(client *http.Client) *SearchFoldersParams

NewSearchFoldersParamsWithHTTPClient creates a new SearchFoldersParams object with the ability to set a custom HTTPClient for a request.

func NewSearchFoldersParamsWithTimeout

func NewSearchFoldersParamsWithTimeout(timeout time.Duration) *SearchFoldersParams

NewSearchFoldersParamsWithTimeout creates a new SearchFoldersParams object with the ability to set a timeout on a request.

func (*SearchFoldersParams) SetContext

func (o *SearchFoldersParams) SetContext(ctx context.Context)

SetContext adds the context to the search folders params

func (*SearchFoldersParams) SetCreatorID

func (o *SearchFoldersParams) SetCreatorID(creatorID *string)

SetCreatorID adds the creatorId to the search folders params

func (*SearchFoldersParams) SetDefaults

func (o *SearchFoldersParams) SetDefaults()

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

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

func (*SearchFoldersParams) SetFields

func (o *SearchFoldersParams) SetFields(fields *string)

SetFields adds the fields to the search folders params

func (*SearchFoldersParams) SetFilterOr

func (o *SearchFoldersParams) SetFilterOr(filterOr *bool)

SetFilterOr adds the filterOr to the search folders params

func (*SearchFoldersParams) SetHTTPClient

func (o *SearchFoldersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search folders params

func (*SearchFoldersParams) SetID

func (o *SearchFoldersParams) SetID(id *int64)

SetID adds the id to the search folders params

func (*SearchFoldersParams) SetLimit

func (o *SearchFoldersParams) SetLimit(limit *int64)

SetLimit adds the limit to the search folders params

func (*SearchFoldersParams) SetName

func (o *SearchFoldersParams) SetName(name *string)

SetName adds the name to the search folders params

func (*SearchFoldersParams) SetOffset

func (o *SearchFoldersParams) SetOffset(offset *int64)

SetOffset adds the offset to the search folders params

func (*SearchFoldersParams) SetPage

func (o *SearchFoldersParams) SetPage(page *int64)

SetPage adds the page to the search folders params

func (*SearchFoldersParams) SetParentID

func (o *SearchFoldersParams) SetParentID(parentID *string)

SetParentID adds the parentId to the search folders params

func (*SearchFoldersParams) SetPerPage

func (o *SearchFoldersParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the search folders params

func (*SearchFoldersParams) SetSorts

func (o *SearchFoldersParams) SetSorts(sorts *string)

SetSorts adds the sorts to the search folders params

func (*SearchFoldersParams) SetTimeout

func (o *SearchFoldersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search folders params

func (*SearchFoldersParams) WithContext

WithContext adds the context to the search folders params

func (*SearchFoldersParams) WithCreatorID

func (o *SearchFoldersParams) WithCreatorID(creatorID *string) *SearchFoldersParams

WithCreatorID adds the creatorID to the search folders params

func (*SearchFoldersParams) WithDefaults

func (o *SearchFoldersParams) WithDefaults() *SearchFoldersParams

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

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

func (*SearchFoldersParams) WithFields

func (o *SearchFoldersParams) WithFields(fields *string) *SearchFoldersParams

WithFields adds the fields to the search folders params

func (*SearchFoldersParams) WithFilterOr

func (o *SearchFoldersParams) WithFilterOr(filterOr *bool) *SearchFoldersParams

WithFilterOr adds the filterOr to the search folders params

func (*SearchFoldersParams) WithHTTPClient

func (o *SearchFoldersParams) WithHTTPClient(client *http.Client) *SearchFoldersParams

WithHTTPClient adds the HTTPClient to the search folders params

func (*SearchFoldersParams) WithID

WithID adds the id to the search folders params

func (*SearchFoldersParams) WithLimit

func (o *SearchFoldersParams) WithLimit(limit *int64) *SearchFoldersParams

WithLimit adds the limit to the search folders params

func (*SearchFoldersParams) WithName

func (o *SearchFoldersParams) WithName(name *string) *SearchFoldersParams

WithName adds the name to the search folders params

func (*SearchFoldersParams) WithOffset

func (o *SearchFoldersParams) WithOffset(offset *int64) *SearchFoldersParams

WithOffset adds the offset to the search folders params

func (*SearchFoldersParams) WithPage

func (o *SearchFoldersParams) WithPage(page *int64) *SearchFoldersParams

WithPage adds the page to the search folders params

func (*SearchFoldersParams) WithParentID

func (o *SearchFoldersParams) WithParentID(parentID *string) *SearchFoldersParams

WithParentID adds the parentID to the search folders params

func (*SearchFoldersParams) WithPerPage

func (o *SearchFoldersParams) WithPerPage(perPage *int64) *SearchFoldersParams

WithPerPage adds the perPage to the search folders params

func (*SearchFoldersParams) WithSorts

func (o *SearchFoldersParams) WithSorts(sorts *string) *SearchFoldersParams

WithSorts adds the sorts to the search folders params

func (*SearchFoldersParams) WithTimeout

func (o *SearchFoldersParams) WithTimeout(timeout time.Duration) *SearchFoldersParams

WithTimeout adds the timeout to the search folders params

func (*SearchFoldersParams) WriteToRequest

func (o *SearchFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchFoldersReader

type SearchFoldersReader struct {
	// contains filtered or unexported fields
}

SearchFoldersReader is a Reader for the SearchFolders structure.

func (*SearchFoldersReader) ReadResponse

func (o *SearchFoldersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateFolderBadRequest

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

Bad Request

func NewUpdateFolderBadRequest

func NewUpdateFolderBadRequest() *UpdateFolderBadRequest

NewUpdateFolderBadRequest creates a UpdateFolderBadRequest with default headers values

func (*UpdateFolderBadRequest) Error

func (o *UpdateFolderBadRequest) Error() string

func (*UpdateFolderBadRequest) GetPayload

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

type UpdateFolderNotFound

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

Not Found

func NewUpdateFolderNotFound

func NewUpdateFolderNotFound() *UpdateFolderNotFound

NewUpdateFolderNotFound creates a UpdateFolderNotFound with default headers values

func (*UpdateFolderNotFound) Error

func (o *UpdateFolderNotFound) Error() string

func (*UpdateFolderNotFound) GetPayload

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

type UpdateFolderOK

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

Folder

func NewUpdateFolderOK

func NewUpdateFolderOK() *UpdateFolderOK

NewUpdateFolderOK creates a UpdateFolderOK with default headers values

func (*UpdateFolderOK) Error

func (o *UpdateFolderOK) Error() string

func (*UpdateFolderOK) GetPayload

func (o *UpdateFolderOK) GetPayload() *models.Folder

type UpdateFolderParams

type UpdateFolderParams struct {

	/* Body.

	   Folder parameters
	*/
	Body *models.UpdateFolder

	/* FolderID.

	   Id of folder
	*/
	FolderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateFolderParams contains all the parameters to send to the API endpoint

for the update folder operation.

Typically these are written to a http.Request.

func NewUpdateFolderParams

func NewUpdateFolderParams() *UpdateFolderParams

NewUpdateFolderParams creates a new UpdateFolderParams 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 NewUpdateFolderParamsWithContext

func NewUpdateFolderParamsWithContext(ctx context.Context) *UpdateFolderParams

NewUpdateFolderParamsWithContext creates a new UpdateFolderParams object with the ability to set a context for a request.

func NewUpdateFolderParamsWithHTTPClient

func NewUpdateFolderParamsWithHTTPClient(client *http.Client) *UpdateFolderParams

NewUpdateFolderParamsWithHTTPClient creates a new UpdateFolderParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFolderParamsWithTimeout

func NewUpdateFolderParamsWithTimeout(timeout time.Duration) *UpdateFolderParams

NewUpdateFolderParamsWithTimeout creates a new UpdateFolderParams object with the ability to set a timeout on a request.

func (*UpdateFolderParams) SetBody

func (o *UpdateFolderParams) SetBody(body *models.UpdateFolder)

SetBody adds the body to the update folder params

func (*UpdateFolderParams) SetContext

func (o *UpdateFolderParams) SetContext(ctx context.Context)

SetContext adds the context to the update folder params

func (*UpdateFolderParams) SetDefaults

func (o *UpdateFolderParams) SetDefaults()

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

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

func (*UpdateFolderParams) SetFolderID

func (o *UpdateFolderParams) SetFolderID(folderID string)

SetFolderID adds the folderId to the update folder params

func (*UpdateFolderParams) SetHTTPClient

func (o *UpdateFolderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update folder params

func (*UpdateFolderParams) SetTimeout

func (o *UpdateFolderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update folder params

func (*UpdateFolderParams) WithBody

WithBody adds the body to the update folder params

func (*UpdateFolderParams) WithContext

WithContext adds the context to the update folder params

func (*UpdateFolderParams) WithDefaults

func (o *UpdateFolderParams) WithDefaults() *UpdateFolderParams

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

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

func (*UpdateFolderParams) WithFolderID

func (o *UpdateFolderParams) WithFolderID(folderID string) *UpdateFolderParams

WithFolderID adds the folderID to the update folder params

func (*UpdateFolderParams) WithHTTPClient

func (o *UpdateFolderParams) WithHTTPClient(client *http.Client) *UpdateFolderParams

WithHTTPClient adds the HTTPClient to the update folder params

func (*UpdateFolderParams) WithTimeout

func (o *UpdateFolderParams) WithTimeout(timeout time.Duration) *UpdateFolderParams

WithTimeout adds the timeout to the update folder params

func (*UpdateFolderParams) WriteToRequest

func (o *UpdateFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateFolderReader

type UpdateFolderReader struct {
	// contains filtered or unexported fields
}

UpdateFolderReader is a Reader for the UpdateFolder structure.

func (*UpdateFolderReader) ReadResponse

func (o *UpdateFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateFolderTooManyRequests

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

Too Many Requests

func NewUpdateFolderTooManyRequests

func NewUpdateFolderTooManyRequests() *UpdateFolderTooManyRequests

NewUpdateFolderTooManyRequests creates a UpdateFolderTooManyRequests with default headers values

func (*UpdateFolderTooManyRequests) Error

func (*UpdateFolderTooManyRequests) GetPayload

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

type UpdateFolderUnprocessableEntity

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

Validation Error

func NewUpdateFolderUnprocessableEntity

func NewUpdateFolderUnprocessableEntity() *UpdateFolderUnprocessableEntity

NewUpdateFolderUnprocessableEntity creates a UpdateFolderUnprocessableEntity with default headers values

func (*UpdateFolderUnprocessableEntity) Error

func (*UpdateFolderUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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