Documentation
¶
Index ¶
- type AllFoldersBadRequest
- type AllFoldersNotFound
- type AllFoldersOK
- type AllFoldersParams
- func (o *AllFoldersParams) SetContext(ctx context.Context)
- func (o *AllFoldersParams) SetDefaults()
- func (o *AllFoldersParams) SetFields(fields *string)
- func (o *AllFoldersParams) SetHTTPClient(client *http.Client)
- func (o *AllFoldersParams) SetTimeout(timeout time.Duration)
- func (o *AllFoldersParams) WithContext(ctx context.Context) *AllFoldersParams
- func (o *AllFoldersParams) WithDefaults() *AllFoldersParams
- func (o *AllFoldersParams) WithFields(fields *string) *AllFoldersParams
- func (o *AllFoldersParams) WithHTTPClient(client *http.Client) *AllFoldersParams
- func (o *AllFoldersParams) WithTimeout(timeout time.Duration) *AllFoldersParams
- func (o *AllFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllFoldersReader
- type Client
- func (a *Client) AllFolders(params *AllFoldersParams, opts ...ClientOption) (*AllFoldersOK, error)
- func (a *Client) CreateFolder(params *CreateFolderParams, opts ...ClientOption) (*CreateFolderOK, error)
- func (a *Client) DeleteFolder(params *DeleteFolderParams, opts ...ClientOption) (*DeleteFolderNoContent, error)
- func (a *Client) Folder(params *FolderParams, opts ...ClientOption) (*FolderOK, error)
- func (a *Client) FolderAncestors(params *FolderAncestorsParams, opts ...ClientOption) (*FolderAncestorsOK, error)
- func (a *Client) FolderChildren(params *FolderChildrenParams, opts ...ClientOption) (*FolderChildrenOK, error)
- func (a *Client) FolderChildrenSearch(params *FolderChildrenSearchParams, opts ...ClientOption) (*FolderChildrenSearchOK, error)
- func (a *Client) FolderDashboards(params *FolderDashboardsParams, opts ...ClientOption) (*FolderDashboardsOK, error)
- func (a *Client) FolderLooks(params *FolderLooksParams, opts ...ClientOption) (*FolderLooksOK, error)
- func (a *Client) FolderParent(params *FolderParentParams, opts ...ClientOption) (*FolderParentOK, error)
- func (a *Client) SearchFolders(params *SearchFoldersParams, opts ...ClientOption) (*SearchFoldersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFolder(params *UpdateFolderParams, opts ...ClientOption) (*UpdateFolderOK, error)
- type ClientOption
- type ClientService
- type CreateFolderBadRequest
- type CreateFolderConflict
- type CreateFolderNotFound
- type CreateFolderOK
- type CreateFolderParams
- func (o *CreateFolderParams) SetBody(body *models.CreateFolder)
- func (o *CreateFolderParams) SetContext(ctx context.Context)
- func (o *CreateFolderParams) SetDefaults()
- func (o *CreateFolderParams) SetHTTPClient(client *http.Client)
- func (o *CreateFolderParams) SetTimeout(timeout time.Duration)
- func (o *CreateFolderParams) WithBody(body *models.CreateFolder) *CreateFolderParams
- func (o *CreateFolderParams) WithContext(ctx context.Context) *CreateFolderParams
- func (o *CreateFolderParams) WithDefaults() *CreateFolderParams
- func (o *CreateFolderParams) WithHTTPClient(client *http.Client) *CreateFolderParams
- func (o *CreateFolderParams) WithTimeout(timeout time.Duration) *CreateFolderParams
- func (o *CreateFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFolderReader
- type CreateFolderTooManyRequests
- type CreateFolderUnprocessableEntity
- type DeleteFolderBadRequest
- type DeleteFolderNoContent
- type DeleteFolderNotFound
- type DeleteFolderParams
- func (o *DeleteFolderParams) SetContext(ctx context.Context)
- func (o *DeleteFolderParams) SetDefaults()
- func (o *DeleteFolderParams) SetFolderID(folderID string)
- func (o *DeleteFolderParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFolderParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFolderParams) WithContext(ctx context.Context) *DeleteFolderParams
- func (o *DeleteFolderParams) WithDefaults() *DeleteFolderParams
- func (o *DeleteFolderParams) WithFolderID(folderID string) *DeleteFolderParams
- func (o *DeleteFolderParams) WithHTTPClient(client *http.Client) *DeleteFolderParams
- func (o *DeleteFolderParams) WithTimeout(timeout time.Duration) *DeleteFolderParams
- func (o *DeleteFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFolderReader
- type DeleteFolderTooManyRequests
- type FolderAncestorsBadRequest
- type FolderAncestorsNotFound
- type FolderAncestorsOK
- type FolderAncestorsParams
- func NewFolderAncestorsParams() *FolderAncestorsParams
- func NewFolderAncestorsParamsWithContext(ctx context.Context) *FolderAncestorsParams
- func NewFolderAncestorsParamsWithHTTPClient(client *http.Client) *FolderAncestorsParams
- func NewFolderAncestorsParamsWithTimeout(timeout time.Duration) *FolderAncestorsParams
- func (o *FolderAncestorsParams) SetContext(ctx context.Context)
- func (o *FolderAncestorsParams) SetDefaults()
- func (o *FolderAncestorsParams) SetFields(fields *string)
- func (o *FolderAncestorsParams) SetFolderID(folderID string)
- func (o *FolderAncestorsParams) SetHTTPClient(client *http.Client)
- func (o *FolderAncestorsParams) SetTimeout(timeout time.Duration)
- func (o *FolderAncestorsParams) WithContext(ctx context.Context) *FolderAncestorsParams
- func (o *FolderAncestorsParams) WithDefaults() *FolderAncestorsParams
- func (o *FolderAncestorsParams) WithFields(fields *string) *FolderAncestorsParams
- func (o *FolderAncestorsParams) WithFolderID(folderID string) *FolderAncestorsParams
- func (o *FolderAncestorsParams) WithHTTPClient(client *http.Client) *FolderAncestorsParams
- func (o *FolderAncestorsParams) WithTimeout(timeout time.Duration) *FolderAncestorsParams
- func (o *FolderAncestorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FolderAncestorsReader
- type FolderBadRequest
- type FolderChildrenBadRequest
- type FolderChildrenNotFound
- type FolderChildrenOK
- type FolderChildrenParams
- func NewFolderChildrenParams() *FolderChildrenParams
- func NewFolderChildrenParamsWithContext(ctx context.Context) *FolderChildrenParams
- func NewFolderChildrenParamsWithHTTPClient(client *http.Client) *FolderChildrenParams
- func NewFolderChildrenParamsWithTimeout(timeout time.Duration) *FolderChildrenParams
- func (o *FolderChildrenParams) SetContext(ctx context.Context)
- func (o *FolderChildrenParams) SetDefaults()
- func (o *FolderChildrenParams) SetFields(fields *string)
- func (o *FolderChildrenParams) SetFolderID(folderID string)
- func (o *FolderChildrenParams) SetHTTPClient(client *http.Client)
- func (o *FolderChildrenParams) SetPage(page *int64)
- func (o *FolderChildrenParams) SetPerPage(perPage *int64)
- func (o *FolderChildrenParams) SetSorts(sorts *string)
- func (o *FolderChildrenParams) SetTimeout(timeout time.Duration)
- func (o *FolderChildrenParams) WithContext(ctx context.Context) *FolderChildrenParams
- func (o *FolderChildrenParams) WithDefaults() *FolderChildrenParams
- func (o *FolderChildrenParams) WithFields(fields *string) *FolderChildrenParams
- func (o *FolderChildrenParams) WithFolderID(folderID string) *FolderChildrenParams
- func (o *FolderChildrenParams) WithHTTPClient(client *http.Client) *FolderChildrenParams
- func (o *FolderChildrenParams) WithPage(page *int64) *FolderChildrenParams
- func (o *FolderChildrenParams) WithPerPage(perPage *int64) *FolderChildrenParams
- func (o *FolderChildrenParams) WithSorts(sorts *string) *FolderChildrenParams
- func (o *FolderChildrenParams) WithTimeout(timeout time.Duration) *FolderChildrenParams
- func (o *FolderChildrenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FolderChildrenReader
- type FolderChildrenSearchBadRequest
- type FolderChildrenSearchNotFound
- type FolderChildrenSearchOK
- type FolderChildrenSearchParams
- func NewFolderChildrenSearchParams() *FolderChildrenSearchParams
- func NewFolderChildrenSearchParamsWithContext(ctx context.Context) *FolderChildrenSearchParams
- func NewFolderChildrenSearchParamsWithHTTPClient(client *http.Client) *FolderChildrenSearchParams
- func NewFolderChildrenSearchParamsWithTimeout(timeout time.Duration) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) SetContext(ctx context.Context)
- func (o *FolderChildrenSearchParams) SetDefaults()
- func (o *FolderChildrenSearchParams) SetFields(fields *string)
- func (o *FolderChildrenSearchParams) SetFolderID(folderID string)
- func (o *FolderChildrenSearchParams) SetHTTPClient(client *http.Client)
- func (o *FolderChildrenSearchParams) SetName(name *string)
- func (o *FolderChildrenSearchParams) SetSorts(sorts *string)
- func (o *FolderChildrenSearchParams) SetTimeout(timeout time.Duration)
- func (o *FolderChildrenSearchParams) WithContext(ctx context.Context) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WithDefaults() *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WithFields(fields *string) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WithFolderID(folderID string) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WithHTTPClient(client *http.Client) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WithName(name *string) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WithSorts(sorts *string) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WithTimeout(timeout time.Duration) *FolderChildrenSearchParams
- func (o *FolderChildrenSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FolderChildrenSearchReader
- type FolderDashboardsBadRequest
- type FolderDashboardsNotFound
- type FolderDashboardsOK
- type FolderDashboardsParams
- func NewFolderDashboardsParams() *FolderDashboardsParams
- func NewFolderDashboardsParamsWithContext(ctx context.Context) *FolderDashboardsParams
- func NewFolderDashboardsParamsWithHTTPClient(client *http.Client) *FolderDashboardsParams
- func NewFolderDashboardsParamsWithTimeout(timeout time.Duration) *FolderDashboardsParams
- func (o *FolderDashboardsParams) SetContext(ctx context.Context)
- func (o *FolderDashboardsParams) SetDefaults()
- func (o *FolderDashboardsParams) SetFields(fields *string)
- func (o *FolderDashboardsParams) SetFolderID(folderID string)
- func (o *FolderDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *FolderDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *FolderDashboardsParams) WithContext(ctx context.Context) *FolderDashboardsParams
- func (o *FolderDashboardsParams) WithDefaults() *FolderDashboardsParams
- func (o *FolderDashboardsParams) WithFields(fields *string) *FolderDashboardsParams
- func (o *FolderDashboardsParams) WithFolderID(folderID string) *FolderDashboardsParams
- func (o *FolderDashboardsParams) WithHTTPClient(client *http.Client) *FolderDashboardsParams
- func (o *FolderDashboardsParams) WithTimeout(timeout time.Duration) *FolderDashboardsParams
- func (o *FolderDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FolderDashboardsReader
- type FolderLooksBadRequest
- type FolderLooksNotFound
- type FolderLooksOK
- type FolderLooksParams
- func (o *FolderLooksParams) SetContext(ctx context.Context)
- func (o *FolderLooksParams) SetDefaults()
- func (o *FolderLooksParams) SetFields(fields *string)
- func (o *FolderLooksParams) SetFolderID(folderID string)
- func (o *FolderLooksParams) SetHTTPClient(client *http.Client)
- func (o *FolderLooksParams) SetTimeout(timeout time.Duration)
- func (o *FolderLooksParams) WithContext(ctx context.Context) *FolderLooksParams
- func (o *FolderLooksParams) WithDefaults() *FolderLooksParams
- func (o *FolderLooksParams) WithFields(fields *string) *FolderLooksParams
- func (o *FolderLooksParams) WithFolderID(folderID string) *FolderLooksParams
- func (o *FolderLooksParams) WithHTTPClient(client *http.Client) *FolderLooksParams
- func (o *FolderLooksParams) WithTimeout(timeout time.Duration) *FolderLooksParams
- func (o *FolderLooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FolderLooksReader
- type FolderNotFound
- type FolderOK
- type FolderParams
- func (o *FolderParams) SetContext(ctx context.Context)
- func (o *FolderParams) SetDefaults()
- func (o *FolderParams) SetFields(fields *string)
- func (o *FolderParams) SetFolderID(folderID string)
- func (o *FolderParams) SetHTTPClient(client *http.Client)
- func (o *FolderParams) SetTimeout(timeout time.Duration)
- func (o *FolderParams) WithContext(ctx context.Context) *FolderParams
- func (o *FolderParams) WithDefaults() *FolderParams
- func (o *FolderParams) WithFields(fields *string) *FolderParams
- func (o *FolderParams) WithFolderID(folderID string) *FolderParams
- func (o *FolderParams) WithHTTPClient(client *http.Client) *FolderParams
- func (o *FolderParams) WithTimeout(timeout time.Duration) *FolderParams
- func (o *FolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FolderParentBadRequest
- type FolderParentNotFound
- type FolderParentOK
- type FolderParentParams
- func (o *FolderParentParams) SetContext(ctx context.Context)
- func (o *FolderParentParams) SetDefaults()
- func (o *FolderParentParams) SetFields(fields *string)
- func (o *FolderParentParams) SetFolderID(folderID string)
- func (o *FolderParentParams) SetHTTPClient(client *http.Client)
- func (o *FolderParentParams) SetTimeout(timeout time.Duration)
- func (o *FolderParentParams) WithContext(ctx context.Context) *FolderParentParams
- func (o *FolderParentParams) WithDefaults() *FolderParentParams
- func (o *FolderParentParams) WithFields(fields *string) *FolderParentParams
- func (o *FolderParentParams) WithFolderID(folderID string) *FolderParentParams
- func (o *FolderParentParams) WithHTTPClient(client *http.Client) *FolderParentParams
- func (o *FolderParentParams) WithTimeout(timeout time.Duration) *FolderParentParams
- func (o *FolderParentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FolderParentReader
- type FolderReader
- type SearchFoldersBadRequest
- type SearchFoldersNotFound
- type SearchFoldersOK
- type SearchFoldersParams
- func (o *SearchFoldersParams) SetContext(ctx context.Context)
- func (o *SearchFoldersParams) SetCreatorID(creatorID *string)
- func (o *SearchFoldersParams) SetDefaults()
- func (o *SearchFoldersParams) SetFields(fields *string)
- func (o *SearchFoldersParams) SetFilterOr(filterOr *bool)
- func (o *SearchFoldersParams) SetHTTPClient(client *http.Client)
- func (o *SearchFoldersParams) SetID(id *int64)
- func (o *SearchFoldersParams) SetLimit(limit *int64)
- func (o *SearchFoldersParams) SetName(name *string)
- func (o *SearchFoldersParams) SetOffset(offset *int64)
- func (o *SearchFoldersParams) SetPage(page *int64)
- func (o *SearchFoldersParams) SetParentID(parentID *string)
- func (o *SearchFoldersParams) SetPerPage(perPage *int64)
- func (o *SearchFoldersParams) SetSorts(sorts *string)
- func (o *SearchFoldersParams) SetTimeout(timeout time.Duration)
- func (o *SearchFoldersParams) WithContext(ctx context.Context) *SearchFoldersParams
- func (o *SearchFoldersParams) WithCreatorID(creatorID *string) *SearchFoldersParams
- func (o *SearchFoldersParams) WithDefaults() *SearchFoldersParams
- func (o *SearchFoldersParams) WithFields(fields *string) *SearchFoldersParams
- func (o *SearchFoldersParams) WithFilterOr(filterOr *bool) *SearchFoldersParams
- func (o *SearchFoldersParams) WithHTTPClient(client *http.Client) *SearchFoldersParams
- func (o *SearchFoldersParams) WithID(id *int64) *SearchFoldersParams
- func (o *SearchFoldersParams) WithLimit(limit *int64) *SearchFoldersParams
- func (o *SearchFoldersParams) WithName(name *string) *SearchFoldersParams
- func (o *SearchFoldersParams) WithOffset(offset *int64) *SearchFoldersParams
- func (o *SearchFoldersParams) WithPage(page *int64) *SearchFoldersParams
- func (o *SearchFoldersParams) WithParentID(parentID *string) *SearchFoldersParams
- func (o *SearchFoldersParams) WithPerPage(perPage *int64) *SearchFoldersParams
- func (o *SearchFoldersParams) WithSorts(sorts *string) *SearchFoldersParams
- func (o *SearchFoldersParams) WithTimeout(timeout time.Duration) *SearchFoldersParams
- func (o *SearchFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchFoldersReader
- type UpdateFolderBadRequest
- type UpdateFolderNotFound
- type UpdateFolderOK
- type UpdateFolderParams
- func (o *UpdateFolderParams) SetBody(body *models.UpdateFolder)
- func (o *UpdateFolderParams) SetContext(ctx context.Context)
- func (o *UpdateFolderParams) SetDefaults()
- func (o *UpdateFolderParams) SetFolderID(folderID string)
- func (o *UpdateFolderParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFolderParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFolderParams) WithBody(body *models.UpdateFolder) *UpdateFolderParams
- func (o *UpdateFolderParams) WithContext(ctx context.Context) *UpdateFolderParams
- func (o *UpdateFolderParams) WithDefaults() *UpdateFolderParams
- func (o *UpdateFolderParams) WithFolderID(folderID string) *UpdateFolderParams
- func (o *UpdateFolderParams) WithHTTPClient(client *http.Client) *UpdateFolderParams
- func (o *UpdateFolderParams) WithTimeout(timeout time.Duration) *UpdateFolderParams
- func (o *UpdateFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFolderReader
- type UpdateFolderTooManyRequests
- type UpdateFolderUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllFoldersBadRequest ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *CreateFolderParams) WithBody(body *models.CreateFolder) *CreateFolderParams
WithBody adds the body to the create folder params
func (*CreateFolderParams) WithContext ¶
func (o *CreateFolderParams) WithContext(ctx context.Context) *CreateFolderParams
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 ¶
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 (o *CreateFolderTooManyRequests) Error() string
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 (o *CreateFolderUnprocessableEntity) Error() string
func (*CreateFolderUnprocessableEntity) GetPayload ¶
func (o *CreateFolderUnprocessableEntity) GetPayload() *models.ValidationError
type DeleteFolderBadRequest ¶
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 ¶
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 ¶
func (o *DeleteFolderParams) WithContext(ctx context.Context) *DeleteFolderParams
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 ¶
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 (o *DeleteFolderTooManyRequests) Error() string
func (*DeleteFolderTooManyRequests) GetPayload ¶
func (o *DeleteFolderTooManyRequests) GetPayload() *models.Error
type FolderAncestorsBadRequest ¶
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 ¶
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 ¶
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 ¶
func (o *FolderAncestorsParams) WithContext(ctx context.Context) *FolderAncestorsParams
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *FolderChildrenParams) WithContext(ctx context.Context) *FolderChildrenParams
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 ¶
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 (o *FolderChildrenSearchBadRequest) Error() string
func (*FolderChildrenSearchBadRequest) GetPayload ¶
func (o *FolderChildrenSearchBadRequest) GetPayload() *models.Error
type FolderChildrenSearchNotFound ¶
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 (o *FolderChildrenSearchNotFound) Error() string
func (*FolderChildrenSearchNotFound) GetPayload ¶
func (o *FolderChildrenSearchNotFound) GetPayload() *models.Error
type FolderChildrenSearchOK ¶
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 ¶
func (o *FolderChildrenSearchParams) WithContext(ctx context.Context) *FolderChildrenSearchParams
WithContext adds the context to the folder children search params
func (*FolderChildrenSearchParams) WithDefaults ¶
func (o *FolderChildrenSearchParams) WithDefaults() *FolderChildrenSearchParams
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 ¶
func (o *FolderChildrenSearchParams) WithFields(fields *string) *FolderChildrenSearchParams
WithFields adds the fields to the folder children search params
func (*FolderChildrenSearchParams) WithFolderID ¶
func (o *FolderChildrenSearchParams) WithFolderID(folderID string) *FolderChildrenSearchParams
WithFolderID adds the folderID to the folder children search params
func (*FolderChildrenSearchParams) WithHTTPClient ¶
func (o *FolderChildrenSearchParams) WithHTTPClient(client *http.Client) *FolderChildrenSearchParams
WithHTTPClient adds the HTTPClient to the folder children search params
func (*FolderChildrenSearchParams) WithName ¶
func (o *FolderChildrenSearchParams) WithName(name *string) *FolderChildrenSearchParams
WithName adds the name to the folder children search params
func (*FolderChildrenSearchParams) WithSorts ¶
func (o *FolderChildrenSearchParams) WithSorts(sorts *string) *FolderChildrenSearchParams
WithSorts adds the sorts to the folder children search params
func (*FolderChildrenSearchParams) WithTimeout ¶
func (o *FolderChildrenSearchParams) WithTimeout(timeout time.Duration) *FolderChildrenSearchParams
WithTimeout adds the timeout to the folder children search params
func (*FolderChildrenSearchParams) WriteToRequest ¶
func (o *FolderChildrenSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *FolderDashboardsBadRequest) Error() string
func (*FolderDashboardsBadRequest) GetPayload ¶
func (o *FolderDashboardsBadRequest) GetPayload() *models.Error
type FolderDashboardsNotFound ¶
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 ¶
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 ¶
func (o *FolderDashboardsParams) WithContext(ctx context.Context) *FolderDashboardsParams
WithContext adds the context to the folder dashboards params
func (*FolderDashboardsParams) WithDefaults ¶
func (o *FolderDashboardsParams) WithDefaults() *FolderDashboardsParams
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 ¶
func (o *FolderDashboardsParams) WithTimeout(timeout time.Duration) *FolderDashboardsParams
WithTimeout adds the timeout to the folder dashboards params
func (*FolderDashboardsParams) WriteToRequest ¶
func (o *FolderDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
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 ¶
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 ¶
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) GetPayload ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *FolderParentParams) WithContext(ctx context.Context) *FolderParentParams
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 ¶
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 ¶
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 ¶
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 ¶
func (o *SearchFoldersParams) WithContext(ctx context.Context) *SearchFoldersParams
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 ¶
func (o *SearchFoldersParams) WithID(id *int64) *SearchFoldersParams
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 ¶
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 ¶
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 ¶
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 ¶
func (o *UpdateFolderParams) WithBody(body *models.UpdateFolder) *UpdateFolderParams
WithBody adds the body to the update folder params
func (*UpdateFolderParams) WithContext ¶
func (o *UpdateFolderParams) WithContext(ctx context.Context) *UpdateFolderParams
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 ¶
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 (o *UpdateFolderTooManyRequests) Error() string
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 (o *UpdateFolderUnprocessableEntity) Error() string
func (*UpdateFolderUnprocessableEntity) GetPayload ¶
func (o *UpdateFolderUnprocessableEntity) GetPayload() *models.ValidationError
Source Files
¶
- all_folders_parameters.go
- all_folders_responses.go
- create_folder_parameters.go
- create_folder_responses.go
- delete_folder_parameters.go
- delete_folder_responses.go
- folder_ancestors_parameters.go
- folder_ancestors_responses.go
- folder_children_parameters.go
- folder_children_responses.go
- folder_children_search_parameters.go
- folder_children_search_responses.go
- folder_client.go
- folder_dashboards_parameters.go
- folder_dashboards_responses.go
- folder_looks_parameters.go
- folder_looks_responses.go
- folder_parameters.go
- folder_parent_parameters.go
- folder_parent_responses.go
- folder_responses.go
- search_folders_parameters.go
- search_folders_responses.go
- update_folder_parameters.go
- update_folder_responses.go