Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFolder(body *models.CreateFolderCommand, opts ...ClientOption) (*CreateFolderOK, error)
- func (a *Client) CreateFolderWithParams(params *CreateFolderParams, opts ...ClientOption) (*CreateFolderOK, error)
- func (a *Client) DeleteFolder(params *DeleteFolderParams, opts ...ClientOption) (*DeleteFolderOK, error)
- func (a *Client) GetFolderByID(folderID int64, opts ...ClientOption) (*GetFolderByIDOK, error)
- func (a *Client) GetFolderByIDWithParams(params *GetFolderByIDParams, opts ...ClientOption) (*GetFolderByIDOK, error)
- func (a *Client) GetFolderByUID(folderUID string, opts ...ClientOption) (*GetFolderByUIDOK, error)
- func (a *Client) GetFolderByUIDWithParams(params *GetFolderByUIDParams, opts ...ClientOption) (*GetFolderByUIDOK, error)
- func (a *Client) GetFolderDescendantCounts(folderUID string, opts ...ClientOption) (*GetFolderDescendantCountsOK, error)
- func (a *Client) GetFolderDescendantCountsWithParams(params *GetFolderDescendantCountsParams, opts ...ClientOption) (*GetFolderDescendantCountsOK, error)
- func (a *Client) GetFolders(params *GetFoldersParams, opts ...ClientOption) (*GetFoldersOK, error)
- func (a *Client) MoveFolder(folderUID string, body *models.MoveFolderCommand, opts ...ClientOption) (*MoveFolderOK, error)
- func (a *Client) MoveFolderWithParams(params *MoveFolderParams, opts ...ClientOption) (*MoveFolderOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFolder(folderUID string, body *models.UpdateFolderCommand, opts ...ClientOption) (*UpdateFolderOK, error)
- func (a *Client) UpdateFolderWithParams(params *UpdateFolderParams, opts ...ClientOption) (*UpdateFolderOK, error)
- type ClientOption
- type ClientService
- type CreateFolderBadRequest
- func (o *CreateFolderBadRequest) Code() int
- func (o *CreateFolderBadRequest) Error() string
- func (o *CreateFolderBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *CreateFolderBadRequest) IsClientError() bool
- func (o *CreateFolderBadRequest) IsCode(code int) bool
- func (o *CreateFolderBadRequest) IsRedirect() bool
- func (o *CreateFolderBadRequest) IsServerError() bool
- func (o *CreateFolderBadRequest) IsSuccess() bool
- func (o *CreateFolderBadRequest) String() string
- type CreateFolderConflict
- func (o *CreateFolderConflict) Code() int
- func (o *CreateFolderConflict) Error() string
- func (o *CreateFolderConflict) GetPayload() *models.ErrorResponseBody
- func (o *CreateFolderConflict) IsClientError() bool
- func (o *CreateFolderConflict) IsCode(code int) bool
- func (o *CreateFolderConflict) IsRedirect() bool
- func (o *CreateFolderConflict) IsServerError() bool
- func (o *CreateFolderConflict) IsSuccess() bool
- func (o *CreateFolderConflict) String() string
- type CreateFolderForbidden
- func (o *CreateFolderForbidden) Code() int
- func (o *CreateFolderForbidden) Error() string
- func (o *CreateFolderForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateFolderForbidden) IsClientError() bool
- func (o *CreateFolderForbidden) IsCode(code int) bool
- func (o *CreateFolderForbidden) IsRedirect() bool
- func (o *CreateFolderForbidden) IsServerError() bool
- func (o *CreateFolderForbidden) IsSuccess() bool
- func (o *CreateFolderForbidden) String() string
- type CreateFolderInternalServerError
- func (o *CreateFolderInternalServerError) Code() int
- func (o *CreateFolderInternalServerError) Error() string
- func (o *CreateFolderInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateFolderInternalServerError) IsClientError() bool
- func (o *CreateFolderInternalServerError) IsCode(code int) bool
- func (o *CreateFolderInternalServerError) IsRedirect() bool
- func (o *CreateFolderInternalServerError) IsServerError() bool
- func (o *CreateFolderInternalServerError) IsSuccess() bool
- func (o *CreateFolderInternalServerError) String() string
- type CreateFolderOK
- func (o *CreateFolderOK) Code() int
- func (o *CreateFolderOK) Error() string
- func (o *CreateFolderOK) GetPayload() *models.Folder
- func (o *CreateFolderOK) IsClientError() bool
- func (o *CreateFolderOK) IsCode(code int) bool
- func (o *CreateFolderOK) IsRedirect() bool
- func (o *CreateFolderOK) IsServerError() bool
- func (o *CreateFolderOK) IsSuccess() bool
- func (o *CreateFolderOK) String() string
- type CreateFolderParams
- func (o *CreateFolderParams) SetBody(body *models.CreateFolderCommand)
- 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.CreateFolderCommand) *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 CreateFolderUnauthorized
- func (o *CreateFolderUnauthorized) Code() int
- func (o *CreateFolderUnauthorized) Error() string
- func (o *CreateFolderUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateFolderUnauthorized) IsClientError() bool
- func (o *CreateFolderUnauthorized) IsCode(code int) bool
- func (o *CreateFolderUnauthorized) IsRedirect() bool
- func (o *CreateFolderUnauthorized) IsServerError() bool
- func (o *CreateFolderUnauthorized) IsSuccess() bool
- func (o *CreateFolderUnauthorized) String() string
- type DeleteFolderBadRequest
- func (o *DeleteFolderBadRequest) Code() int
- func (o *DeleteFolderBadRequest) Error() string
- func (o *DeleteFolderBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *DeleteFolderBadRequest) IsClientError() bool
- func (o *DeleteFolderBadRequest) IsCode(code int) bool
- func (o *DeleteFolderBadRequest) IsRedirect() bool
- func (o *DeleteFolderBadRequest) IsServerError() bool
- func (o *DeleteFolderBadRequest) IsSuccess() bool
- func (o *DeleteFolderBadRequest) String() string
- type DeleteFolderForbidden
- func (o *DeleteFolderForbidden) Code() int
- func (o *DeleteFolderForbidden) Error() string
- func (o *DeleteFolderForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteFolderForbidden) IsClientError() bool
- func (o *DeleteFolderForbidden) IsCode(code int) bool
- func (o *DeleteFolderForbidden) IsRedirect() bool
- func (o *DeleteFolderForbidden) IsServerError() bool
- func (o *DeleteFolderForbidden) IsSuccess() bool
- func (o *DeleteFolderForbidden) String() string
- type DeleteFolderInternalServerError
- func (o *DeleteFolderInternalServerError) Code() int
- func (o *DeleteFolderInternalServerError) Error() string
- func (o *DeleteFolderInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteFolderInternalServerError) IsClientError() bool
- func (o *DeleteFolderInternalServerError) IsCode(code int) bool
- func (o *DeleteFolderInternalServerError) IsRedirect() bool
- func (o *DeleteFolderInternalServerError) IsServerError() bool
- func (o *DeleteFolderInternalServerError) IsSuccess() bool
- func (o *DeleteFolderInternalServerError) String() string
- type DeleteFolderNotFound
- func (o *DeleteFolderNotFound) Code() int
- func (o *DeleteFolderNotFound) Error() string
- func (o *DeleteFolderNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteFolderNotFound) IsClientError() bool
- func (o *DeleteFolderNotFound) IsCode(code int) bool
- func (o *DeleteFolderNotFound) IsRedirect() bool
- func (o *DeleteFolderNotFound) IsServerError() bool
- func (o *DeleteFolderNotFound) IsSuccess() bool
- func (o *DeleteFolderNotFound) String() string
- type DeleteFolderOK
- func (o *DeleteFolderOK) Code() int
- func (o *DeleteFolderOK) Error() string
- func (o *DeleteFolderOK) GetPayload() *models.DeleteFolderOKBody
- func (o *DeleteFolderOK) IsClientError() bool
- func (o *DeleteFolderOK) IsCode(code int) bool
- func (o *DeleteFolderOK) IsRedirect() bool
- func (o *DeleteFolderOK) IsServerError() bool
- func (o *DeleteFolderOK) IsSuccess() bool
- func (o *DeleteFolderOK) String() string
- type DeleteFolderParams
- func (o *DeleteFolderParams) SetContext(ctx context.Context)
- func (o *DeleteFolderParams) SetDefaults()
- func (o *DeleteFolderParams) SetFolderUID(folderUID string)
- func (o *DeleteFolderParams) SetForceDeleteRules(forceDeleteRules *bool)
- 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) WithFolderUID(folderUID string) *DeleteFolderParams
- func (o *DeleteFolderParams) WithForceDeleteRules(forceDeleteRules *bool) *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 DeleteFolderUnauthorized
- func (o *DeleteFolderUnauthorized) Code() int
- func (o *DeleteFolderUnauthorized) Error() string
- func (o *DeleteFolderUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteFolderUnauthorized) IsClientError() bool
- func (o *DeleteFolderUnauthorized) IsCode(code int) bool
- func (o *DeleteFolderUnauthorized) IsRedirect() bool
- func (o *DeleteFolderUnauthorized) IsServerError() bool
- func (o *DeleteFolderUnauthorized) IsSuccess() bool
- func (o *DeleteFolderUnauthorized) String() string
- type GetFolderByIDForbidden
- func (o *GetFolderByIDForbidden) Code() int
- func (o *GetFolderByIDForbidden) Error() string
- func (o *GetFolderByIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByIDForbidden) IsClientError() bool
- func (o *GetFolderByIDForbidden) IsCode(code int) bool
- func (o *GetFolderByIDForbidden) IsRedirect() bool
- func (o *GetFolderByIDForbidden) IsServerError() bool
- func (o *GetFolderByIDForbidden) IsSuccess() bool
- func (o *GetFolderByIDForbidden) String() string
- type GetFolderByIDInternalServerError
- func (o *GetFolderByIDInternalServerError) Code() int
- func (o *GetFolderByIDInternalServerError) Error() string
- func (o *GetFolderByIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByIDInternalServerError) IsClientError() bool
- func (o *GetFolderByIDInternalServerError) IsCode(code int) bool
- func (o *GetFolderByIDInternalServerError) IsRedirect() bool
- func (o *GetFolderByIDInternalServerError) IsServerError() bool
- func (o *GetFolderByIDInternalServerError) IsSuccess() bool
- func (o *GetFolderByIDInternalServerError) String() string
- type GetFolderByIDNotFound
- func (o *GetFolderByIDNotFound) Code() int
- func (o *GetFolderByIDNotFound) Error() string
- func (o *GetFolderByIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByIDNotFound) IsClientError() bool
- func (o *GetFolderByIDNotFound) IsCode(code int) bool
- func (o *GetFolderByIDNotFound) IsRedirect() bool
- func (o *GetFolderByIDNotFound) IsServerError() bool
- func (o *GetFolderByIDNotFound) IsSuccess() bool
- func (o *GetFolderByIDNotFound) String() string
- type GetFolderByIDOK
- func (o *GetFolderByIDOK) Code() int
- func (o *GetFolderByIDOK) Error() string
- func (o *GetFolderByIDOK) GetPayload() *models.Folder
- func (o *GetFolderByIDOK) IsClientError() bool
- func (o *GetFolderByIDOK) IsCode(code int) bool
- func (o *GetFolderByIDOK) IsRedirect() bool
- func (o *GetFolderByIDOK) IsServerError() bool
- func (o *GetFolderByIDOK) IsSuccess() bool
- func (o *GetFolderByIDOK) String() string
- type GetFolderByIDParams
- func (o *GetFolderByIDParams) SetContext(ctx context.Context)
- func (o *GetFolderByIDParams) SetDefaults()
- func (o *GetFolderByIDParams) SetFolderID(folderID int64)
- func (o *GetFolderByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetFolderByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetFolderByIDParams) WithContext(ctx context.Context) *GetFolderByIDParams
- func (o *GetFolderByIDParams) WithDefaults() *GetFolderByIDParams
- func (o *GetFolderByIDParams) WithFolderID(folderID int64) *GetFolderByIDParams
- func (o *GetFolderByIDParams) WithHTTPClient(client *http.Client) *GetFolderByIDParams
- func (o *GetFolderByIDParams) WithTimeout(timeout time.Duration) *GetFolderByIDParams
- func (o *GetFolderByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFolderByIDReader
- type GetFolderByIDUnauthorized
- func (o *GetFolderByIDUnauthorized) Code() int
- func (o *GetFolderByIDUnauthorized) Error() string
- func (o *GetFolderByIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByIDUnauthorized) IsClientError() bool
- func (o *GetFolderByIDUnauthorized) IsCode(code int) bool
- func (o *GetFolderByIDUnauthorized) IsRedirect() bool
- func (o *GetFolderByIDUnauthorized) IsServerError() bool
- func (o *GetFolderByIDUnauthorized) IsSuccess() bool
- func (o *GetFolderByIDUnauthorized) String() string
- type GetFolderByUIDForbidden
- func (o *GetFolderByUIDForbidden) Code() int
- func (o *GetFolderByUIDForbidden) Error() string
- func (o *GetFolderByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByUIDForbidden) IsClientError() bool
- func (o *GetFolderByUIDForbidden) IsCode(code int) bool
- func (o *GetFolderByUIDForbidden) IsRedirect() bool
- func (o *GetFolderByUIDForbidden) IsServerError() bool
- func (o *GetFolderByUIDForbidden) IsSuccess() bool
- func (o *GetFolderByUIDForbidden) String() string
- type GetFolderByUIDInternalServerError
- func (o *GetFolderByUIDInternalServerError) Code() int
- func (o *GetFolderByUIDInternalServerError) Error() string
- func (o *GetFolderByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByUIDInternalServerError) IsClientError() bool
- func (o *GetFolderByUIDInternalServerError) IsCode(code int) bool
- func (o *GetFolderByUIDInternalServerError) IsRedirect() bool
- func (o *GetFolderByUIDInternalServerError) IsServerError() bool
- func (o *GetFolderByUIDInternalServerError) IsSuccess() bool
- func (o *GetFolderByUIDInternalServerError) String() string
- type GetFolderByUIDNotFound
- func (o *GetFolderByUIDNotFound) Code() int
- func (o *GetFolderByUIDNotFound) Error() string
- func (o *GetFolderByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByUIDNotFound) IsClientError() bool
- func (o *GetFolderByUIDNotFound) IsCode(code int) bool
- func (o *GetFolderByUIDNotFound) IsRedirect() bool
- func (o *GetFolderByUIDNotFound) IsServerError() bool
- func (o *GetFolderByUIDNotFound) IsSuccess() bool
- func (o *GetFolderByUIDNotFound) String() string
- type GetFolderByUIDOK
- func (o *GetFolderByUIDOK) Code() int
- func (o *GetFolderByUIDOK) Error() string
- func (o *GetFolderByUIDOK) GetPayload() *models.Folder
- func (o *GetFolderByUIDOK) IsClientError() bool
- func (o *GetFolderByUIDOK) IsCode(code int) bool
- func (o *GetFolderByUIDOK) IsRedirect() bool
- func (o *GetFolderByUIDOK) IsServerError() bool
- func (o *GetFolderByUIDOK) IsSuccess() bool
- func (o *GetFolderByUIDOK) String() string
- type GetFolderByUIDParams
- func NewGetFolderByUIDParams() *GetFolderByUIDParams
- func NewGetFolderByUIDParamsWithContext(ctx context.Context) *GetFolderByUIDParams
- func NewGetFolderByUIDParamsWithHTTPClient(client *http.Client) *GetFolderByUIDParams
- func NewGetFolderByUIDParamsWithTimeout(timeout time.Duration) *GetFolderByUIDParams
- func (o *GetFolderByUIDParams) SetContext(ctx context.Context)
- func (o *GetFolderByUIDParams) SetDefaults()
- func (o *GetFolderByUIDParams) SetFolderUID(folderUID string)
- func (o *GetFolderByUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetFolderByUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetFolderByUIDParams) WithContext(ctx context.Context) *GetFolderByUIDParams
- func (o *GetFolderByUIDParams) WithDefaults() *GetFolderByUIDParams
- func (o *GetFolderByUIDParams) WithFolderUID(folderUID string) *GetFolderByUIDParams
- func (o *GetFolderByUIDParams) WithHTTPClient(client *http.Client) *GetFolderByUIDParams
- func (o *GetFolderByUIDParams) WithTimeout(timeout time.Duration) *GetFolderByUIDParams
- func (o *GetFolderByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFolderByUIDReader
- type GetFolderByUIDUnauthorized
- func (o *GetFolderByUIDUnauthorized) Code() int
- func (o *GetFolderByUIDUnauthorized) Error() string
- func (o *GetFolderByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderByUIDUnauthorized) IsClientError() bool
- func (o *GetFolderByUIDUnauthorized) IsCode(code int) bool
- func (o *GetFolderByUIDUnauthorized) IsRedirect() bool
- func (o *GetFolderByUIDUnauthorized) IsServerError() bool
- func (o *GetFolderByUIDUnauthorized) IsSuccess() bool
- func (o *GetFolderByUIDUnauthorized) String() string
- type GetFolderDescendantCountsForbidden
- func (o *GetFolderDescendantCountsForbidden) Code() int
- func (o *GetFolderDescendantCountsForbidden) Error() string
- func (o *GetFolderDescendantCountsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderDescendantCountsForbidden) IsClientError() bool
- func (o *GetFolderDescendantCountsForbidden) IsCode(code int) bool
- func (o *GetFolderDescendantCountsForbidden) IsRedirect() bool
- func (o *GetFolderDescendantCountsForbidden) IsServerError() bool
- func (o *GetFolderDescendantCountsForbidden) IsSuccess() bool
- func (o *GetFolderDescendantCountsForbidden) String() string
- type GetFolderDescendantCountsInternalServerError
- func (o *GetFolderDescendantCountsInternalServerError) Code() int
- func (o *GetFolderDescendantCountsInternalServerError) Error() string
- func (o *GetFolderDescendantCountsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderDescendantCountsInternalServerError) IsClientError() bool
- func (o *GetFolderDescendantCountsInternalServerError) IsCode(code int) bool
- func (o *GetFolderDescendantCountsInternalServerError) IsRedirect() bool
- func (o *GetFolderDescendantCountsInternalServerError) IsServerError() bool
- func (o *GetFolderDescendantCountsInternalServerError) IsSuccess() bool
- func (o *GetFolderDescendantCountsInternalServerError) String() string
- type GetFolderDescendantCountsNotFound
- func (o *GetFolderDescendantCountsNotFound) Code() int
- func (o *GetFolderDescendantCountsNotFound) Error() string
- func (o *GetFolderDescendantCountsNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderDescendantCountsNotFound) IsClientError() bool
- func (o *GetFolderDescendantCountsNotFound) IsCode(code int) bool
- func (o *GetFolderDescendantCountsNotFound) IsRedirect() bool
- func (o *GetFolderDescendantCountsNotFound) IsServerError() bool
- func (o *GetFolderDescendantCountsNotFound) IsSuccess() bool
- func (o *GetFolderDescendantCountsNotFound) String() string
- type GetFolderDescendantCountsOK
- func (o *GetFolderDescendantCountsOK) Code() int
- func (o *GetFolderDescendantCountsOK) Error() string
- func (o *GetFolderDescendantCountsOK) GetPayload() models.DescendantCounts
- func (o *GetFolderDescendantCountsOK) IsClientError() bool
- func (o *GetFolderDescendantCountsOK) IsCode(code int) bool
- func (o *GetFolderDescendantCountsOK) IsRedirect() bool
- func (o *GetFolderDescendantCountsOK) IsServerError() bool
- func (o *GetFolderDescendantCountsOK) IsSuccess() bool
- func (o *GetFolderDescendantCountsOK) String() string
- type GetFolderDescendantCountsParams
- func NewGetFolderDescendantCountsParams() *GetFolderDescendantCountsParams
- func NewGetFolderDescendantCountsParamsWithContext(ctx context.Context) *GetFolderDescendantCountsParams
- func NewGetFolderDescendantCountsParamsWithHTTPClient(client *http.Client) *GetFolderDescendantCountsParams
- func NewGetFolderDescendantCountsParamsWithTimeout(timeout time.Duration) *GetFolderDescendantCountsParams
- func (o *GetFolderDescendantCountsParams) SetContext(ctx context.Context)
- func (o *GetFolderDescendantCountsParams) SetDefaults()
- func (o *GetFolderDescendantCountsParams) SetFolderUID(folderUID string)
- func (o *GetFolderDescendantCountsParams) SetHTTPClient(client *http.Client)
- func (o *GetFolderDescendantCountsParams) SetTimeout(timeout time.Duration)
- func (o *GetFolderDescendantCountsParams) WithContext(ctx context.Context) *GetFolderDescendantCountsParams
- func (o *GetFolderDescendantCountsParams) WithDefaults() *GetFolderDescendantCountsParams
- func (o *GetFolderDescendantCountsParams) WithFolderUID(folderUID string) *GetFolderDescendantCountsParams
- func (o *GetFolderDescendantCountsParams) WithHTTPClient(client *http.Client) *GetFolderDescendantCountsParams
- func (o *GetFolderDescendantCountsParams) WithTimeout(timeout time.Duration) *GetFolderDescendantCountsParams
- func (o *GetFolderDescendantCountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFolderDescendantCountsReader
- type GetFolderDescendantCountsUnauthorized
- func (o *GetFolderDescendantCountsUnauthorized) Code() int
- func (o *GetFolderDescendantCountsUnauthorized) Error() string
- func (o *GetFolderDescendantCountsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetFolderDescendantCountsUnauthorized) IsClientError() bool
- func (o *GetFolderDescendantCountsUnauthorized) IsCode(code int) bool
- func (o *GetFolderDescendantCountsUnauthorized) IsRedirect() bool
- func (o *GetFolderDescendantCountsUnauthorized) IsServerError() bool
- func (o *GetFolderDescendantCountsUnauthorized) IsSuccess() bool
- func (o *GetFolderDescendantCountsUnauthorized) String() string
- type GetFoldersForbidden
- func (o *GetFoldersForbidden) Code() int
- func (o *GetFoldersForbidden) Error() string
- func (o *GetFoldersForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetFoldersForbidden) IsClientError() bool
- func (o *GetFoldersForbidden) IsCode(code int) bool
- func (o *GetFoldersForbidden) IsRedirect() bool
- func (o *GetFoldersForbidden) IsServerError() bool
- func (o *GetFoldersForbidden) IsSuccess() bool
- func (o *GetFoldersForbidden) String() string
- type GetFoldersInternalServerError
- func (o *GetFoldersInternalServerError) Code() int
- func (o *GetFoldersInternalServerError) Error() string
- func (o *GetFoldersInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetFoldersInternalServerError) IsClientError() bool
- func (o *GetFoldersInternalServerError) IsCode(code int) bool
- func (o *GetFoldersInternalServerError) IsRedirect() bool
- func (o *GetFoldersInternalServerError) IsServerError() bool
- func (o *GetFoldersInternalServerError) IsSuccess() bool
- func (o *GetFoldersInternalServerError) String() string
- type GetFoldersOK
- func (o *GetFoldersOK) Code() int
- func (o *GetFoldersOK) Error() string
- func (o *GetFoldersOK) GetPayload() []*models.FolderSearchHit
- func (o *GetFoldersOK) IsClientError() bool
- func (o *GetFoldersOK) IsCode(code int) bool
- func (o *GetFoldersOK) IsRedirect() bool
- func (o *GetFoldersOK) IsServerError() bool
- func (o *GetFoldersOK) IsSuccess() bool
- func (o *GetFoldersOK) String() string
- type GetFoldersParams
- func (o *GetFoldersParams) SetContext(ctx context.Context)
- func (o *GetFoldersParams) SetDefaults()
- func (o *GetFoldersParams) SetHTTPClient(client *http.Client)
- func (o *GetFoldersParams) SetLimit(limit *int64)
- func (o *GetFoldersParams) SetPage(page *int64)
- func (o *GetFoldersParams) SetParentUID(parentUID *string)
- func (o *GetFoldersParams) SetPermission(permission *string)
- func (o *GetFoldersParams) SetTimeout(timeout time.Duration)
- func (o *GetFoldersParams) WithContext(ctx context.Context) *GetFoldersParams
- func (o *GetFoldersParams) WithDefaults() *GetFoldersParams
- func (o *GetFoldersParams) WithHTTPClient(client *http.Client) *GetFoldersParams
- func (o *GetFoldersParams) WithLimit(limit *int64) *GetFoldersParams
- func (o *GetFoldersParams) WithPage(page *int64) *GetFoldersParams
- func (o *GetFoldersParams) WithParentUID(parentUID *string) *GetFoldersParams
- func (o *GetFoldersParams) WithPermission(permission *string) *GetFoldersParams
- func (o *GetFoldersParams) WithTimeout(timeout time.Duration) *GetFoldersParams
- func (o *GetFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFoldersReader
- type GetFoldersUnauthorized
- func (o *GetFoldersUnauthorized) Code() int
- func (o *GetFoldersUnauthorized) Error() string
- func (o *GetFoldersUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetFoldersUnauthorized) IsClientError() bool
- func (o *GetFoldersUnauthorized) IsCode(code int) bool
- func (o *GetFoldersUnauthorized) IsRedirect() bool
- func (o *GetFoldersUnauthorized) IsServerError() bool
- func (o *GetFoldersUnauthorized) IsSuccess() bool
- func (o *GetFoldersUnauthorized) String() string
- type MoveFolderForbidden
- func (o *MoveFolderForbidden) Code() int
- func (o *MoveFolderForbidden) Error() string
- func (o *MoveFolderForbidden) GetPayload() *models.ErrorResponseBody
- func (o *MoveFolderForbidden) IsClientError() bool
- func (o *MoveFolderForbidden) IsCode(code int) bool
- func (o *MoveFolderForbidden) IsRedirect() bool
- func (o *MoveFolderForbidden) IsServerError() bool
- func (o *MoveFolderForbidden) IsSuccess() bool
- func (o *MoveFolderForbidden) String() string
- type MoveFolderInternalServerError
- func (o *MoveFolderInternalServerError) Code() int
- func (o *MoveFolderInternalServerError) Error() string
- func (o *MoveFolderInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *MoveFolderInternalServerError) IsClientError() bool
- func (o *MoveFolderInternalServerError) IsCode(code int) bool
- func (o *MoveFolderInternalServerError) IsRedirect() bool
- func (o *MoveFolderInternalServerError) IsServerError() bool
- func (o *MoveFolderInternalServerError) IsSuccess() bool
- func (o *MoveFolderInternalServerError) String() string
- type MoveFolderNotFound
- func (o *MoveFolderNotFound) Code() int
- func (o *MoveFolderNotFound) Error() string
- func (o *MoveFolderNotFound) GetPayload() *models.ErrorResponseBody
- func (o *MoveFolderNotFound) IsClientError() bool
- func (o *MoveFolderNotFound) IsCode(code int) bool
- func (o *MoveFolderNotFound) IsRedirect() bool
- func (o *MoveFolderNotFound) IsServerError() bool
- func (o *MoveFolderNotFound) IsSuccess() bool
- func (o *MoveFolderNotFound) String() string
- type MoveFolderOK
- func (o *MoveFolderOK) Code() int
- func (o *MoveFolderOK) Error() string
- func (o *MoveFolderOK) GetPayload() *models.Folder
- func (o *MoveFolderOK) IsClientError() bool
- func (o *MoveFolderOK) IsCode(code int) bool
- func (o *MoveFolderOK) IsRedirect() bool
- func (o *MoveFolderOK) IsServerError() bool
- func (o *MoveFolderOK) IsSuccess() bool
- func (o *MoveFolderOK) String() string
- type MoveFolderParams
- func (o *MoveFolderParams) SetBody(body *models.MoveFolderCommand)
- func (o *MoveFolderParams) SetContext(ctx context.Context)
- func (o *MoveFolderParams) SetDefaults()
- func (o *MoveFolderParams) SetFolderUID(folderUID string)
- func (o *MoveFolderParams) SetHTTPClient(client *http.Client)
- func (o *MoveFolderParams) SetTimeout(timeout time.Duration)
- func (o *MoveFolderParams) WithBody(body *models.MoveFolderCommand) *MoveFolderParams
- func (o *MoveFolderParams) WithContext(ctx context.Context) *MoveFolderParams
- func (o *MoveFolderParams) WithDefaults() *MoveFolderParams
- func (o *MoveFolderParams) WithFolderUID(folderUID string) *MoveFolderParams
- func (o *MoveFolderParams) WithHTTPClient(client *http.Client) *MoveFolderParams
- func (o *MoveFolderParams) WithTimeout(timeout time.Duration) *MoveFolderParams
- func (o *MoveFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveFolderReader
- type MoveFolderUnauthorized
- func (o *MoveFolderUnauthorized) Code() int
- func (o *MoveFolderUnauthorized) Error() string
- func (o *MoveFolderUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *MoveFolderUnauthorized) IsClientError() bool
- func (o *MoveFolderUnauthorized) IsCode(code int) bool
- func (o *MoveFolderUnauthorized) IsRedirect() bool
- func (o *MoveFolderUnauthorized) IsServerError() bool
- func (o *MoveFolderUnauthorized) IsSuccess() bool
- func (o *MoveFolderUnauthorized) String() string
- type UpdateFolderBadRequest
- func (o *UpdateFolderBadRequest) Code() int
- func (o *UpdateFolderBadRequest) Error() string
- func (o *UpdateFolderBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateFolderBadRequest) IsClientError() bool
- func (o *UpdateFolderBadRequest) IsCode(code int) bool
- func (o *UpdateFolderBadRequest) IsRedirect() bool
- func (o *UpdateFolderBadRequest) IsServerError() bool
- func (o *UpdateFolderBadRequest) IsSuccess() bool
- func (o *UpdateFolderBadRequest) String() string
- type UpdateFolderConflict
- func (o *UpdateFolderConflict) Code() int
- func (o *UpdateFolderConflict) Error() string
- func (o *UpdateFolderConflict) GetPayload() *models.ErrorResponseBody
- func (o *UpdateFolderConflict) IsClientError() bool
- func (o *UpdateFolderConflict) IsCode(code int) bool
- func (o *UpdateFolderConflict) IsRedirect() bool
- func (o *UpdateFolderConflict) IsServerError() bool
- func (o *UpdateFolderConflict) IsSuccess() bool
- func (o *UpdateFolderConflict) String() string
- type UpdateFolderForbidden
- func (o *UpdateFolderForbidden) Code() int
- func (o *UpdateFolderForbidden) Error() string
- func (o *UpdateFolderForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateFolderForbidden) IsClientError() bool
- func (o *UpdateFolderForbidden) IsCode(code int) bool
- func (o *UpdateFolderForbidden) IsRedirect() bool
- func (o *UpdateFolderForbidden) IsServerError() bool
- func (o *UpdateFolderForbidden) IsSuccess() bool
- func (o *UpdateFolderForbidden) String() string
- type UpdateFolderInternalServerError
- func (o *UpdateFolderInternalServerError) Code() int
- func (o *UpdateFolderInternalServerError) Error() string
- func (o *UpdateFolderInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateFolderInternalServerError) IsClientError() bool
- func (o *UpdateFolderInternalServerError) IsCode(code int) bool
- func (o *UpdateFolderInternalServerError) IsRedirect() bool
- func (o *UpdateFolderInternalServerError) IsServerError() bool
- func (o *UpdateFolderInternalServerError) IsSuccess() bool
- func (o *UpdateFolderInternalServerError) String() string
- type UpdateFolderNotFound
- func (o *UpdateFolderNotFound) Code() int
- func (o *UpdateFolderNotFound) Error() string
- func (o *UpdateFolderNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateFolderNotFound) IsClientError() bool
- func (o *UpdateFolderNotFound) IsCode(code int) bool
- func (o *UpdateFolderNotFound) IsRedirect() bool
- func (o *UpdateFolderNotFound) IsServerError() bool
- func (o *UpdateFolderNotFound) IsSuccess() bool
- func (o *UpdateFolderNotFound) String() string
- type UpdateFolderOK
- func (o *UpdateFolderOK) Code() int
- func (o *UpdateFolderOK) Error() string
- func (o *UpdateFolderOK) GetPayload() *models.Folder
- func (o *UpdateFolderOK) IsClientError() bool
- func (o *UpdateFolderOK) IsCode(code int) bool
- func (o *UpdateFolderOK) IsRedirect() bool
- func (o *UpdateFolderOK) IsServerError() bool
- func (o *UpdateFolderOK) IsSuccess() bool
- func (o *UpdateFolderOK) String() string
- type UpdateFolderParams
- func (o *UpdateFolderParams) SetBody(body *models.UpdateFolderCommand)
- func (o *UpdateFolderParams) SetContext(ctx context.Context)
- func (o *UpdateFolderParams) SetDefaults()
- func (o *UpdateFolderParams) SetFolderUID(folderUID string)
- func (o *UpdateFolderParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFolderParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFolderParams) WithBody(body *models.UpdateFolderCommand) *UpdateFolderParams
- func (o *UpdateFolderParams) WithContext(ctx context.Context) *UpdateFolderParams
- func (o *UpdateFolderParams) WithDefaults() *UpdateFolderParams
- func (o *UpdateFolderParams) WithFolderUID(folderUID 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 UpdateFolderUnauthorized
- func (o *UpdateFolderUnauthorized) Code() int
- func (o *UpdateFolderUnauthorized) Error() string
- func (o *UpdateFolderUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateFolderUnauthorized) IsClientError() bool
- func (o *UpdateFolderUnauthorized) IsCode(code int) bool
- func (o *UpdateFolderUnauthorized) IsRedirect() bool
- func (o *UpdateFolderUnauthorized) IsServerError() bool
- func (o *UpdateFolderUnauthorized) IsSuccess() bool
- func (o *UpdateFolderUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for folders API
func (*Client) CreateFolder ¶
func (a *Client) CreateFolder(body *models.CreateFolderCommand, opts ...ClientOption) (*CreateFolderOK, error)
CreateFolder creates folder
If nested folders are enabled then it additionally expects the parent folder UID.
func (*Client) CreateFolderWithParams ¶
func (a *Client) CreateFolderWithParams(params *CreateFolderParams, opts ...ClientOption) (*CreateFolderOK, error)
func (*Client) DeleteFolder ¶
func (a *Client) DeleteFolder(params *DeleteFolderParams, opts ...ClientOption) (*DeleteFolderOK, error)
func (*Client) GetFolderByID ¶
func (a *Client) GetFolderByID(folderID int64, opts ...ClientOption) (*GetFolderByIDOK, error)
GetFolderByID gets folder by id
Returns the folder identified by id. This is deprecated. Please refer to [updated API](#/folders/getFolderByUID) instead
func (*Client) GetFolderByIDWithParams ¶
func (a *Client) GetFolderByIDWithParams(params *GetFolderByIDParams, opts ...ClientOption) (*GetFolderByIDOK, error)
func (*Client) GetFolderByUID ¶
func (a *Client) GetFolderByUID(folderUID string, opts ...ClientOption) (*GetFolderByUIDOK, error)
GetFolderByUID gets folder by uid
func (*Client) GetFolderByUIDWithParams ¶
func (a *Client) GetFolderByUIDWithParams(params *GetFolderByUIDParams, opts ...ClientOption) (*GetFolderByUIDOK, error)
func (*Client) GetFolderDescendantCounts ¶
func (a *Client) GetFolderDescendantCounts(folderUID string, opts ...ClientOption) (*GetFolderDescendantCountsOK, error)
GetFolderDescendantCounts gets the count of each descendant of a folder by kind the folder is identified by UID
func (*Client) GetFolderDescendantCountsWithParams ¶
func (a *Client) GetFolderDescendantCountsWithParams(params *GetFolderDescendantCountsParams, opts ...ClientOption) (*GetFolderDescendantCountsOK, error)
func (*Client) GetFolders ¶
func (a *Client) GetFolders(params *GetFoldersParams, opts ...ClientOption) (*GetFoldersOK, error)
func (*Client) MoveFolder ¶
func (a *Client) MoveFolder(folderUID string, body *models.MoveFolderCommand, opts ...ClientOption) (*MoveFolderOK, error)
MoveFolder moves folder
func (*Client) MoveFolderWithParams ¶
func (a *Client) MoveFolderWithParams(params *MoveFolderParams, opts ...ClientOption) (*MoveFolderOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFolder ¶
func (a *Client) UpdateFolder(folderUID string, body *models.UpdateFolderCommand, opts ...ClientOption) (*UpdateFolderOK, error)
UpdateFolder updates folder
func (*Client) UpdateFolderWithParams ¶
func (a *Client) UpdateFolderWithParams(params *UpdateFolderParams, opts ...ClientOption) (*UpdateFolderOK, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { CreateFolder(body *models.CreateFolderCommand, opts ...ClientOption) (*CreateFolderOK, error) CreateFolderWithParams(params *CreateFolderParams, opts ...ClientOption) (*CreateFolderOK, error) DeleteFolder(params *DeleteFolderParams, opts ...ClientOption) (*DeleteFolderOK, error) GetFolderByID(folderID int64, opts ...ClientOption) (*GetFolderByIDOK, error) GetFolderByIDWithParams(params *GetFolderByIDParams, opts ...ClientOption) (*GetFolderByIDOK, error) GetFolderByUID(folderUID string, opts ...ClientOption) (*GetFolderByUIDOK, error) GetFolderByUIDWithParams(params *GetFolderByUIDParams, opts ...ClientOption) (*GetFolderByUIDOK, error) GetFolderDescendantCounts(folderUID string, opts ...ClientOption) (*GetFolderDescendantCountsOK, error) GetFolderDescendantCountsWithParams(params *GetFolderDescendantCountsParams, opts ...ClientOption) (*GetFolderDescendantCountsOK, error) GetFolders(params *GetFoldersParams, opts ...ClientOption) (*GetFoldersOK, error) MoveFolder(folderUID string, body *models.MoveFolderCommand, opts ...ClientOption) (*MoveFolderOK, error) MoveFolderWithParams(params *MoveFolderParams, opts ...ClientOption) (*MoveFolderOK, error) UpdateFolder(folderUID string, body *models.UpdateFolderCommand, opts ...ClientOption) (*UpdateFolderOK, error) UpdateFolderWithParams(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 folders API client.
type CreateFolderBadRequest ¶
type CreateFolderBadRequest struct {
Payload *models.ErrorResponseBody
}
CreateFolderBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewCreateFolderBadRequest ¶
func NewCreateFolderBadRequest() *CreateFolderBadRequest
NewCreateFolderBadRequest creates a CreateFolderBadRequest with default headers values
func (*CreateFolderBadRequest) Code ¶
func (o *CreateFolderBadRequest) Code() int
Code gets the status code for the create folder bad request response
func (*CreateFolderBadRequest) Error ¶
func (o *CreateFolderBadRequest) Error() string
func (*CreateFolderBadRequest) GetPayload ¶
func (o *CreateFolderBadRequest) GetPayload() *models.ErrorResponseBody
func (*CreateFolderBadRequest) IsClientError ¶
func (o *CreateFolderBadRequest) IsClientError() bool
IsClientError returns true when this create folder bad request response has a 4xx status code
func (*CreateFolderBadRequest) IsCode ¶
func (o *CreateFolderBadRequest) IsCode(code int) bool
IsCode returns true when this create folder bad request response a status code equal to that given
func (*CreateFolderBadRequest) IsRedirect ¶
func (o *CreateFolderBadRequest) IsRedirect() bool
IsRedirect returns true when this create folder bad request response has a 3xx status code
func (*CreateFolderBadRequest) IsServerError ¶
func (o *CreateFolderBadRequest) IsServerError() bool
IsServerError returns true when this create folder bad request response has a 5xx status code
func (*CreateFolderBadRequest) IsSuccess ¶
func (o *CreateFolderBadRequest) IsSuccess() bool
IsSuccess returns true when this create folder bad request response has a 2xx status code
func (*CreateFolderBadRequest) String ¶
func (o *CreateFolderBadRequest) String() string
type CreateFolderConflict ¶
type CreateFolderConflict struct {
Payload *models.ErrorResponseBody
}
CreateFolderConflict describes a response with status code 409, with default header values.
ConflictError
func NewCreateFolderConflict ¶
func NewCreateFolderConflict() *CreateFolderConflict
NewCreateFolderConflict creates a CreateFolderConflict with default headers values
func (*CreateFolderConflict) Code ¶
func (o *CreateFolderConflict) Code() int
Code gets the status code for the create folder conflict response
func (*CreateFolderConflict) Error ¶
func (o *CreateFolderConflict) Error() string
func (*CreateFolderConflict) GetPayload ¶
func (o *CreateFolderConflict) GetPayload() *models.ErrorResponseBody
func (*CreateFolderConflict) IsClientError ¶
func (o *CreateFolderConflict) IsClientError() bool
IsClientError returns true when this create folder conflict response has a 4xx status code
func (*CreateFolderConflict) IsCode ¶
func (o *CreateFolderConflict) IsCode(code int) bool
IsCode returns true when this create folder conflict response a status code equal to that given
func (*CreateFolderConflict) IsRedirect ¶
func (o *CreateFolderConflict) IsRedirect() bool
IsRedirect returns true when this create folder conflict response has a 3xx status code
func (*CreateFolderConflict) IsServerError ¶
func (o *CreateFolderConflict) IsServerError() bool
IsServerError returns true when this create folder conflict response has a 5xx status code
func (*CreateFolderConflict) IsSuccess ¶
func (o *CreateFolderConflict) IsSuccess() bool
IsSuccess returns true when this create folder conflict response has a 2xx status code
func (*CreateFolderConflict) String ¶
func (o *CreateFolderConflict) String() string
type CreateFolderForbidden ¶
type CreateFolderForbidden struct {
Payload *models.ErrorResponseBody
}
CreateFolderForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateFolderForbidden ¶
func NewCreateFolderForbidden() *CreateFolderForbidden
NewCreateFolderForbidden creates a CreateFolderForbidden with default headers values
func (*CreateFolderForbidden) Code ¶
func (o *CreateFolderForbidden) Code() int
Code gets the status code for the create folder forbidden response
func (*CreateFolderForbidden) Error ¶
func (o *CreateFolderForbidden) Error() string
func (*CreateFolderForbidden) GetPayload ¶
func (o *CreateFolderForbidden) GetPayload() *models.ErrorResponseBody
func (*CreateFolderForbidden) IsClientError ¶
func (o *CreateFolderForbidden) IsClientError() bool
IsClientError returns true when this create folder forbidden response has a 4xx status code
func (*CreateFolderForbidden) IsCode ¶
func (o *CreateFolderForbidden) IsCode(code int) bool
IsCode returns true when this create folder forbidden response a status code equal to that given
func (*CreateFolderForbidden) IsRedirect ¶
func (o *CreateFolderForbidden) IsRedirect() bool
IsRedirect returns true when this create folder forbidden response has a 3xx status code
func (*CreateFolderForbidden) IsServerError ¶
func (o *CreateFolderForbidden) IsServerError() bool
IsServerError returns true when this create folder forbidden response has a 5xx status code
func (*CreateFolderForbidden) IsSuccess ¶
func (o *CreateFolderForbidden) IsSuccess() bool
IsSuccess returns true when this create folder forbidden response has a 2xx status code
func (*CreateFolderForbidden) String ¶
func (o *CreateFolderForbidden) String() string
type CreateFolderInternalServerError ¶
type CreateFolderInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateFolderInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateFolderInternalServerError ¶
func NewCreateFolderInternalServerError() *CreateFolderInternalServerError
NewCreateFolderInternalServerError creates a CreateFolderInternalServerError with default headers values
func (*CreateFolderInternalServerError) Code ¶
func (o *CreateFolderInternalServerError) Code() int
Code gets the status code for the create folder internal server error response
func (*CreateFolderInternalServerError) Error ¶
func (o *CreateFolderInternalServerError) Error() string
func (*CreateFolderInternalServerError) GetPayload ¶
func (o *CreateFolderInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CreateFolderInternalServerError) IsClientError ¶
func (o *CreateFolderInternalServerError) IsClientError() bool
IsClientError returns true when this create folder internal server error response has a 4xx status code
func (*CreateFolderInternalServerError) IsCode ¶
func (o *CreateFolderInternalServerError) IsCode(code int) bool
IsCode returns true when this create folder internal server error response a status code equal to that given
func (*CreateFolderInternalServerError) IsRedirect ¶
func (o *CreateFolderInternalServerError) IsRedirect() bool
IsRedirect returns true when this create folder internal server error response has a 3xx status code
func (*CreateFolderInternalServerError) IsServerError ¶
func (o *CreateFolderInternalServerError) IsServerError() bool
IsServerError returns true when this create folder internal server error response has a 5xx status code
func (*CreateFolderInternalServerError) IsSuccess ¶
func (o *CreateFolderInternalServerError) IsSuccess() bool
IsSuccess returns true when this create folder internal server error response has a 2xx status code
func (*CreateFolderInternalServerError) String ¶
func (o *CreateFolderInternalServerError) String() string
type CreateFolderOK ¶
CreateFolderOK describes a response with status code 200, with default header values.
(empty)
func NewCreateFolderOK ¶
func NewCreateFolderOK() *CreateFolderOK
NewCreateFolderOK creates a CreateFolderOK with default headers values
func (*CreateFolderOK) Code ¶
func (o *CreateFolderOK) Code() int
Code gets the status code for the create folder Ok response
func (*CreateFolderOK) Error ¶
func (o *CreateFolderOK) Error() string
func (*CreateFolderOK) GetPayload ¶
func (o *CreateFolderOK) GetPayload() *models.Folder
func (*CreateFolderOK) IsClientError ¶
func (o *CreateFolderOK) IsClientError() bool
IsClientError returns true when this create folder Ok response has a 4xx status code
func (*CreateFolderOK) IsCode ¶
func (o *CreateFolderOK) IsCode(code int) bool
IsCode returns true when this create folder Ok response a status code equal to that given
func (*CreateFolderOK) IsRedirect ¶
func (o *CreateFolderOK) IsRedirect() bool
IsRedirect returns true when this create folder Ok response has a 3xx status code
func (*CreateFolderOK) IsServerError ¶
func (o *CreateFolderOK) IsServerError() bool
IsServerError returns true when this create folder Ok response has a 5xx status code
func (*CreateFolderOK) IsSuccess ¶
func (o *CreateFolderOK) IsSuccess() bool
IsSuccess returns true when this create folder Ok response has a 2xx status code
func (*CreateFolderOK) String ¶
func (o *CreateFolderOK) String() string
type CreateFolderParams ¶
type CreateFolderParams struct { // Body. Body *models.CreateFolderCommand 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.CreateFolderCommand)
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.CreateFolderCommand) *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 CreateFolderUnauthorized ¶
type CreateFolderUnauthorized struct {
}CreateFolderUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateFolderUnauthorized ¶
func NewCreateFolderUnauthorized() *CreateFolderUnauthorized
NewCreateFolderUnauthorized creates a CreateFolderUnauthorized with default headers values
func (*CreateFolderUnauthorized) Code ¶
func (o *CreateFolderUnauthorized) Code() int
Code gets the status code for the create folder unauthorized response
func (*CreateFolderUnauthorized) Error ¶
func (o *CreateFolderUnauthorized) Error() string
func (*CreateFolderUnauthorized) GetPayload ¶
func (o *CreateFolderUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CreateFolderUnauthorized) IsClientError ¶
func (o *CreateFolderUnauthorized) IsClientError() bool
IsClientError returns true when this create folder unauthorized response has a 4xx status code
func (*CreateFolderUnauthorized) IsCode ¶
func (o *CreateFolderUnauthorized) IsCode(code int) bool
IsCode returns true when this create folder unauthorized response a status code equal to that given
func (*CreateFolderUnauthorized) IsRedirect ¶
func (o *CreateFolderUnauthorized) IsRedirect() bool
IsRedirect returns true when this create folder unauthorized response has a 3xx status code
func (*CreateFolderUnauthorized) IsServerError ¶
func (o *CreateFolderUnauthorized) IsServerError() bool
IsServerError returns true when this create folder unauthorized response has a 5xx status code
func (*CreateFolderUnauthorized) IsSuccess ¶
func (o *CreateFolderUnauthorized) IsSuccess() bool
IsSuccess returns true when this create folder unauthorized response has a 2xx status code
func (*CreateFolderUnauthorized) String ¶
func (o *CreateFolderUnauthorized) String() string
type DeleteFolderBadRequest ¶
type DeleteFolderBadRequest struct {
Payload *models.ErrorResponseBody
}
DeleteFolderBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewDeleteFolderBadRequest ¶
func NewDeleteFolderBadRequest() *DeleteFolderBadRequest
NewDeleteFolderBadRequest creates a DeleteFolderBadRequest with default headers values
func (*DeleteFolderBadRequest) Code ¶
func (o *DeleteFolderBadRequest) Code() int
Code gets the status code for the delete folder bad request response
func (*DeleteFolderBadRequest) Error ¶
func (o *DeleteFolderBadRequest) Error() string
func (*DeleteFolderBadRequest) GetPayload ¶
func (o *DeleteFolderBadRequest) GetPayload() *models.ErrorResponseBody
func (*DeleteFolderBadRequest) IsClientError ¶
func (o *DeleteFolderBadRequest) IsClientError() bool
IsClientError returns true when this delete folder bad request response has a 4xx status code
func (*DeleteFolderBadRequest) IsCode ¶
func (o *DeleteFolderBadRequest) IsCode(code int) bool
IsCode returns true when this delete folder bad request response a status code equal to that given
func (*DeleteFolderBadRequest) IsRedirect ¶
func (o *DeleteFolderBadRequest) IsRedirect() bool
IsRedirect returns true when this delete folder bad request response has a 3xx status code
func (*DeleteFolderBadRequest) IsServerError ¶
func (o *DeleteFolderBadRequest) IsServerError() bool
IsServerError returns true when this delete folder bad request response has a 5xx status code
func (*DeleteFolderBadRequest) IsSuccess ¶
func (o *DeleteFolderBadRequest) IsSuccess() bool
IsSuccess returns true when this delete folder bad request response has a 2xx status code
func (*DeleteFolderBadRequest) String ¶
func (o *DeleteFolderBadRequest) String() string
type DeleteFolderForbidden ¶
type DeleteFolderForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteFolderForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteFolderForbidden ¶
func NewDeleteFolderForbidden() *DeleteFolderForbidden
NewDeleteFolderForbidden creates a DeleteFolderForbidden with default headers values
func (*DeleteFolderForbidden) Code ¶
func (o *DeleteFolderForbidden) Code() int
Code gets the status code for the delete folder forbidden response
func (*DeleteFolderForbidden) Error ¶
func (o *DeleteFolderForbidden) Error() string
func (*DeleteFolderForbidden) GetPayload ¶
func (o *DeleteFolderForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteFolderForbidden) IsClientError ¶
func (o *DeleteFolderForbidden) IsClientError() bool
IsClientError returns true when this delete folder forbidden response has a 4xx status code
func (*DeleteFolderForbidden) IsCode ¶
func (o *DeleteFolderForbidden) IsCode(code int) bool
IsCode returns true when this delete folder forbidden response a status code equal to that given
func (*DeleteFolderForbidden) IsRedirect ¶
func (o *DeleteFolderForbidden) IsRedirect() bool
IsRedirect returns true when this delete folder forbidden response has a 3xx status code
func (*DeleteFolderForbidden) IsServerError ¶
func (o *DeleteFolderForbidden) IsServerError() bool
IsServerError returns true when this delete folder forbidden response has a 5xx status code
func (*DeleteFolderForbidden) IsSuccess ¶
func (o *DeleteFolderForbidden) IsSuccess() bool
IsSuccess returns true when this delete folder forbidden response has a 2xx status code
func (*DeleteFolderForbidden) String ¶
func (o *DeleteFolderForbidden) String() string
type DeleteFolderInternalServerError ¶
type DeleteFolderInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteFolderInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteFolderInternalServerError ¶
func NewDeleteFolderInternalServerError() *DeleteFolderInternalServerError
NewDeleteFolderInternalServerError creates a DeleteFolderInternalServerError with default headers values
func (*DeleteFolderInternalServerError) Code ¶
func (o *DeleteFolderInternalServerError) Code() int
Code gets the status code for the delete folder internal server error response
func (*DeleteFolderInternalServerError) Error ¶
func (o *DeleteFolderInternalServerError) Error() string
func (*DeleteFolderInternalServerError) GetPayload ¶
func (o *DeleteFolderInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteFolderInternalServerError) IsClientError ¶
func (o *DeleteFolderInternalServerError) IsClientError() bool
IsClientError returns true when this delete folder internal server error response has a 4xx status code
func (*DeleteFolderInternalServerError) IsCode ¶
func (o *DeleteFolderInternalServerError) IsCode(code int) bool
IsCode returns true when this delete folder internal server error response a status code equal to that given
func (*DeleteFolderInternalServerError) IsRedirect ¶
func (o *DeleteFolderInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete folder internal server error response has a 3xx status code
func (*DeleteFolderInternalServerError) IsServerError ¶
func (o *DeleteFolderInternalServerError) IsServerError() bool
IsServerError returns true when this delete folder internal server error response has a 5xx status code
func (*DeleteFolderInternalServerError) IsSuccess ¶
func (o *DeleteFolderInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete folder internal server error response has a 2xx status code
func (*DeleteFolderInternalServerError) String ¶
func (o *DeleteFolderInternalServerError) String() string
type DeleteFolderNotFound ¶
type DeleteFolderNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteFolderNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteFolderNotFound ¶
func NewDeleteFolderNotFound() *DeleteFolderNotFound
NewDeleteFolderNotFound creates a DeleteFolderNotFound with default headers values
func (*DeleteFolderNotFound) Code ¶
func (o *DeleteFolderNotFound) Code() int
Code gets the status code for the delete folder not found response
func (*DeleteFolderNotFound) Error ¶
func (o *DeleteFolderNotFound) Error() string
func (*DeleteFolderNotFound) GetPayload ¶
func (o *DeleteFolderNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteFolderNotFound) IsClientError ¶
func (o *DeleteFolderNotFound) IsClientError() bool
IsClientError returns true when this delete folder not found response has a 4xx status code
func (*DeleteFolderNotFound) IsCode ¶
func (o *DeleteFolderNotFound) IsCode(code int) bool
IsCode returns true when this delete folder not found response a status code equal to that given
func (*DeleteFolderNotFound) IsRedirect ¶
func (o *DeleteFolderNotFound) IsRedirect() bool
IsRedirect returns true when this delete folder not found response has a 3xx status code
func (*DeleteFolderNotFound) IsServerError ¶
func (o *DeleteFolderNotFound) IsServerError() bool
IsServerError returns true when this delete folder not found response has a 5xx status code
func (*DeleteFolderNotFound) IsSuccess ¶
func (o *DeleteFolderNotFound) IsSuccess() bool
IsSuccess returns true when this delete folder not found response has a 2xx status code
func (*DeleteFolderNotFound) String ¶
func (o *DeleteFolderNotFound) String() string
type DeleteFolderOK ¶
type DeleteFolderOK struct {
Payload *models.DeleteFolderOKBody
}
DeleteFolderOK describes a response with status code 200, with default header values.
(empty)
func NewDeleteFolderOK ¶
func NewDeleteFolderOK() *DeleteFolderOK
NewDeleteFolderOK creates a DeleteFolderOK with default headers values
func (*DeleteFolderOK) Code ¶
func (o *DeleteFolderOK) Code() int
Code gets the status code for the delete folder Ok response
func (*DeleteFolderOK) Error ¶
func (o *DeleteFolderOK) Error() string
func (*DeleteFolderOK) GetPayload ¶
func (o *DeleteFolderOK) GetPayload() *models.DeleteFolderOKBody
func (*DeleteFolderOK) IsClientError ¶
func (o *DeleteFolderOK) IsClientError() bool
IsClientError returns true when this delete folder Ok response has a 4xx status code
func (*DeleteFolderOK) IsCode ¶
func (o *DeleteFolderOK) IsCode(code int) bool
IsCode returns true when this delete folder Ok response a status code equal to that given
func (*DeleteFolderOK) IsRedirect ¶
func (o *DeleteFolderOK) IsRedirect() bool
IsRedirect returns true when this delete folder Ok response has a 3xx status code
func (*DeleteFolderOK) IsServerError ¶
func (o *DeleteFolderOK) IsServerError() bool
IsServerError returns true when this delete folder Ok response has a 5xx status code
func (*DeleteFolderOK) IsSuccess ¶
func (o *DeleteFolderOK) IsSuccess() bool
IsSuccess returns true when this delete folder Ok response has a 2xx status code
func (*DeleteFolderOK) String ¶
func (o *DeleteFolderOK) String() string
type DeleteFolderParams ¶
type DeleteFolderParams struct { // FolderUID. FolderUID string /* ForceDeleteRules. If `true` any Grafana 8 Alerts under this folder will be deleted. Set to `false` so that the request will fail if the folder contains any Grafana 8 Alerts. */ ForceDeleteRules *bool 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) SetFolderUID ¶
func (o *DeleteFolderParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the delete folder params
func (*DeleteFolderParams) SetForceDeleteRules ¶
func (o *DeleteFolderParams) SetForceDeleteRules(forceDeleteRules *bool)
SetForceDeleteRules adds the forceDeleteRules 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) WithFolderUID ¶
func (o *DeleteFolderParams) WithFolderUID(folderUID string) *DeleteFolderParams
WithFolderUID adds the folderUID to the delete folder params
func (*DeleteFolderParams) WithForceDeleteRules ¶
func (o *DeleteFolderParams) WithForceDeleteRules(forceDeleteRules *bool) *DeleteFolderParams
WithForceDeleteRules adds the forceDeleteRules 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 DeleteFolderUnauthorized ¶
type DeleteFolderUnauthorized struct {
}DeleteFolderUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteFolderUnauthorized ¶
func NewDeleteFolderUnauthorized() *DeleteFolderUnauthorized
NewDeleteFolderUnauthorized creates a DeleteFolderUnauthorized with default headers values
func (*DeleteFolderUnauthorized) Code ¶
func (o *DeleteFolderUnauthorized) Code() int
Code gets the status code for the delete folder unauthorized response
func (*DeleteFolderUnauthorized) Error ¶
func (o *DeleteFolderUnauthorized) Error() string
func (*DeleteFolderUnauthorized) GetPayload ¶
func (o *DeleteFolderUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteFolderUnauthorized) IsClientError ¶
func (o *DeleteFolderUnauthorized) IsClientError() bool
IsClientError returns true when this delete folder unauthorized response has a 4xx status code
func (*DeleteFolderUnauthorized) IsCode ¶
func (o *DeleteFolderUnauthorized) IsCode(code int) bool
IsCode returns true when this delete folder unauthorized response a status code equal to that given
func (*DeleteFolderUnauthorized) IsRedirect ¶
func (o *DeleteFolderUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete folder unauthorized response has a 3xx status code
func (*DeleteFolderUnauthorized) IsServerError ¶
func (o *DeleteFolderUnauthorized) IsServerError() bool
IsServerError returns true when this delete folder unauthorized response has a 5xx status code
func (*DeleteFolderUnauthorized) IsSuccess ¶
func (o *DeleteFolderUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete folder unauthorized response has a 2xx status code
func (*DeleteFolderUnauthorized) String ¶
func (o *DeleteFolderUnauthorized) String() string
type GetFolderByIDForbidden ¶
type GetFolderByIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetFolderByIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetFolderByIDForbidden ¶
func NewGetFolderByIDForbidden() *GetFolderByIDForbidden
NewGetFolderByIDForbidden creates a GetFolderByIDForbidden with default headers values
func (*GetFolderByIDForbidden) Code ¶
func (o *GetFolderByIDForbidden) Code() int
Code gets the status code for the get folder by Id forbidden response
func (*GetFolderByIDForbidden) Error ¶
func (o *GetFolderByIDForbidden) Error() string
func (*GetFolderByIDForbidden) GetPayload ¶
func (o *GetFolderByIDForbidden) GetPayload() *models.ErrorResponseBody
func (*GetFolderByIDForbidden) IsClientError ¶
func (o *GetFolderByIDForbidden) IsClientError() bool
IsClientError returns true when this get folder by Id forbidden response has a 4xx status code
func (*GetFolderByIDForbidden) IsCode ¶
func (o *GetFolderByIDForbidden) IsCode(code int) bool
IsCode returns true when this get folder by Id forbidden response a status code equal to that given
func (*GetFolderByIDForbidden) IsRedirect ¶
func (o *GetFolderByIDForbidden) IsRedirect() bool
IsRedirect returns true when this get folder by Id forbidden response has a 3xx status code
func (*GetFolderByIDForbidden) IsServerError ¶
func (o *GetFolderByIDForbidden) IsServerError() bool
IsServerError returns true when this get folder by Id forbidden response has a 5xx status code
func (*GetFolderByIDForbidden) IsSuccess ¶
func (o *GetFolderByIDForbidden) IsSuccess() bool
IsSuccess returns true when this get folder by Id forbidden response has a 2xx status code
func (*GetFolderByIDForbidden) String ¶
func (o *GetFolderByIDForbidden) String() string
type GetFolderByIDInternalServerError ¶
type GetFolderByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetFolderByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetFolderByIDInternalServerError ¶
func NewGetFolderByIDInternalServerError() *GetFolderByIDInternalServerError
NewGetFolderByIDInternalServerError creates a GetFolderByIDInternalServerError with default headers values
func (*GetFolderByIDInternalServerError) Code ¶
func (o *GetFolderByIDInternalServerError) Code() int
Code gets the status code for the get folder by Id internal server error response
func (*GetFolderByIDInternalServerError) Error ¶
func (o *GetFolderByIDInternalServerError) Error() string
func (*GetFolderByIDInternalServerError) GetPayload ¶
func (o *GetFolderByIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetFolderByIDInternalServerError) IsClientError ¶
func (o *GetFolderByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get folder by Id internal server error response has a 4xx status code
func (*GetFolderByIDInternalServerError) IsCode ¶
func (o *GetFolderByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get folder by Id internal server error response a status code equal to that given
func (*GetFolderByIDInternalServerError) IsRedirect ¶
func (o *GetFolderByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get folder by Id internal server error response has a 3xx status code
func (*GetFolderByIDInternalServerError) IsServerError ¶
func (o *GetFolderByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get folder by Id internal server error response has a 5xx status code
func (*GetFolderByIDInternalServerError) IsSuccess ¶
func (o *GetFolderByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get folder by Id internal server error response has a 2xx status code
func (*GetFolderByIDInternalServerError) String ¶
func (o *GetFolderByIDInternalServerError) String() string
type GetFolderByIDNotFound ¶
type GetFolderByIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetFolderByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetFolderByIDNotFound ¶
func NewGetFolderByIDNotFound() *GetFolderByIDNotFound
NewGetFolderByIDNotFound creates a GetFolderByIDNotFound with default headers values
func (*GetFolderByIDNotFound) Code ¶
func (o *GetFolderByIDNotFound) Code() int
Code gets the status code for the get folder by Id not found response
func (*GetFolderByIDNotFound) Error ¶
func (o *GetFolderByIDNotFound) Error() string
func (*GetFolderByIDNotFound) GetPayload ¶
func (o *GetFolderByIDNotFound) GetPayload() *models.ErrorResponseBody
func (*GetFolderByIDNotFound) IsClientError ¶
func (o *GetFolderByIDNotFound) IsClientError() bool
IsClientError returns true when this get folder by Id not found response has a 4xx status code
func (*GetFolderByIDNotFound) IsCode ¶
func (o *GetFolderByIDNotFound) IsCode(code int) bool
IsCode returns true when this get folder by Id not found response a status code equal to that given
func (*GetFolderByIDNotFound) IsRedirect ¶
func (o *GetFolderByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get folder by Id not found response has a 3xx status code
func (*GetFolderByIDNotFound) IsServerError ¶
func (o *GetFolderByIDNotFound) IsServerError() bool
IsServerError returns true when this get folder by Id not found response has a 5xx status code
func (*GetFolderByIDNotFound) IsSuccess ¶
func (o *GetFolderByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get folder by Id not found response has a 2xx status code
func (*GetFolderByIDNotFound) String ¶
func (o *GetFolderByIDNotFound) String() string
type GetFolderByIDOK ¶
GetFolderByIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetFolderByIDOK ¶
func NewGetFolderByIDOK() *GetFolderByIDOK
NewGetFolderByIDOK creates a GetFolderByIDOK with default headers values
func (*GetFolderByIDOK) Code ¶
func (o *GetFolderByIDOK) Code() int
Code gets the status code for the get folder by Id Ok response
func (*GetFolderByIDOK) Error ¶
func (o *GetFolderByIDOK) Error() string
func (*GetFolderByIDOK) GetPayload ¶
func (o *GetFolderByIDOK) GetPayload() *models.Folder
func (*GetFolderByIDOK) IsClientError ¶
func (o *GetFolderByIDOK) IsClientError() bool
IsClientError returns true when this get folder by Id Ok response has a 4xx status code
func (*GetFolderByIDOK) IsCode ¶
func (o *GetFolderByIDOK) IsCode(code int) bool
IsCode returns true when this get folder by Id Ok response a status code equal to that given
func (*GetFolderByIDOK) IsRedirect ¶
func (o *GetFolderByIDOK) IsRedirect() bool
IsRedirect returns true when this get folder by Id Ok response has a 3xx status code
func (*GetFolderByIDOK) IsServerError ¶
func (o *GetFolderByIDOK) IsServerError() bool
IsServerError returns true when this get folder by Id Ok response has a 5xx status code
func (*GetFolderByIDOK) IsSuccess ¶
func (o *GetFolderByIDOK) IsSuccess() bool
IsSuccess returns true when this get folder by Id Ok response has a 2xx status code
func (*GetFolderByIDOK) String ¶
func (o *GetFolderByIDOK) String() string
type GetFolderByIDParams ¶
type GetFolderByIDParams struct { // FolderID. // // Format: int64 FolderID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFolderByIDParams contains all the parameters to send to the API endpoint
for the get folder by ID operation. Typically these are written to a http.Request.
func NewGetFolderByIDParams ¶
func NewGetFolderByIDParams() *GetFolderByIDParams
NewGetFolderByIDParams creates a new GetFolderByIDParams 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 NewGetFolderByIDParamsWithContext ¶
func NewGetFolderByIDParamsWithContext(ctx context.Context) *GetFolderByIDParams
NewGetFolderByIDParamsWithContext creates a new GetFolderByIDParams object with the ability to set a context for a request.
func NewGetFolderByIDParamsWithHTTPClient ¶
func NewGetFolderByIDParamsWithHTTPClient(client *http.Client) *GetFolderByIDParams
NewGetFolderByIDParamsWithHTTPClient creates a new GetFolderByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetFolderByIDParamsWithTimeout ¶
func NewGetFolderByIDParamsWithTimeout(timeout time.Duration) *GetFolderByIDParams
NewGetFolderByIDParamsWithTimeout creates a new GetFolderByIDParams object with the ability to set a timeout on a request.
func (*GetFolderByIDParams) SetContext ¶
func (o *GetFolderByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get folder by ID params
func (*GetFolderByIDParams) SetDefaults ¶
func (o *GetFolderByIDParams) SetDefaults()
SetDefaults hydrates default values in the get folder by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetFolderByIDParams) SetFolderID ¶
func (o *GetFolderByIDParams) SetFolderID(folderID int64)
SetFolderID adds the folderId to the get folder by ID params
func (*GetFolderByIDParams) SetHTTPClient ¶
func (o *GetFolderByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get folder by ID params
func (*GetFolderByIDParams) SetTimeout ¶
func (o *GetFolderByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get folder by ID params
func (*GetFolderByIDParams) WithContext ¶
func (o *GetFolderByIDParams) WithContext(ctx context.Context) *GetFolderByIDParams
WithContext adds the context to the get folder by ID params
func (*GetFolderByIDParams) WithDefaults ¶
func (o *GetFolderByIDParams) WithDefaults() *GetFolderByIDParams
WithDefaults hydrates default values in the get folder by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetFolderByIDParams) WithFolderID ¶
func (o *GetFolderByIDParams) WithFolderID(folderID int64) *GetFolderByIDParams
WithFolderID adds the folderID to the get folder by ID params
func (*GetFolderByIDParams) WithHTTPClient ¶
func (o *GetFolderByIDParams) WithHTTPClient(client *http.Client) *GetFolderByIDParams
WithHTTPClient adds the HTTPClient to the get folder by ID params
func (*GetFolderByIDParams) WithTimeout ¶
func (o *GetFolderByIDParams) WithTimeout(timeout time.Duration) *GetFolderByIDParams
WithTimeout adds the timeout to the get folder by ID params
func (*GetFolderByIDParams) WriteToRequest ¶
func (o *GetFolderByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFolderByIDReader ¶
type GetFolderByIDReader struct {
// contains filtered or unexported fields
}
GetFolderByIDReader is a Reader for the GetFolderByID structure.
func (*GetFolderByIDReader) ReadResponse ¶
func (o *GetFolderByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFolderByIDUnauthorized ¶
type GetFolderByIDUnauthorized struct {
}GetFolderByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetFolderByIDUnauthorized ¶
func NewGetFolderByIDUnauthorized() *GetFolderByIDUnauthorized
NewGetFolderByIDUnauthorized creates a GetFolderByIDUnauthorized with default headers values
func (*GetFolderByIDUnauthorized) Code ¶
func (o *GetFolderByIDUnauthorized) Code() int
Code gets the status code for the get folder by Id unauthorized response
func (*GetFolderByIDUnauthorized) Error ¶
func (o *GetFolderByIDUnauthorized) Error() string
func (*GetFolderByIDUnauthorized) GetPayload ¶
func (o *GetFolderByIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetFolderByIDUnauthorized) IsClientError ¶
func (o *GetFolderByIDUnauthorized) IsClientError() bool
IsClientError returns true when this get folder by Id unauthorized response has a 4xx status code
func (*GetFolderByIDUnauthorized) IsCode ¶
func (o *GetFolderByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get folder by Id unauthorized response a status code equal to that given
func (*GetFolderByIDUnauthorized) IsRedirect ¶
func (o *GetFolderByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get folder by Id unauthorized response has a 3xx status code
func (*GetFolderByIDUnauthorized) IsServerError ¶
func (o *GetFolderByIDUnauthorized) IsServerError() bool
IsServerError returns true when this get folder by Id unauthorized response has a 5xx status code
func (*GetFolderByIDUnauthorized) IsSuccess ¶
func (o *GetFolderByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get folder by Id unauthorized response has a 2xx status code
func (*GetFolderByIDUnauthorized) String ¶
func (o *GetFolderByIDUnauthorized) String() string
type GetFolderByUIDForbidden ¶
type GetFolderByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetFolderByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetFolderByUIDForbidden ¶
func NewGetFolderByUIDForbidden() *GetFolderByUIDForbidden
NewGetFolderByUIDForbidden creates a GetFolderByUIDForbidden with default headers values
func (*GetFolderByUIDForbidden) Code ¶
func (o *GetFolderByUIDForbidden) Code() int
Code gets the status code for the get folder by Uid forbidden response
func (*GetFolderByUIDForbidden) Error ¶
func (o *GetFolderByUIDForbidden) Error() string
func (*GetFolderByUIDForbidden) GetPayload ¶
func (o *GetFolderByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*GetFolderByUIDForbidden) IsClientError ¶
func (o *GetFolderByUIDForbidden) IsClientError() bool
IsClientError returns true when this get folder by Uid forbidden response has a 4xx status code
func (*GetFolderByUIDForbidden) IsCode ¶
func (o *GetFolderByUIDForbidden) IsCode(code int) bool
IsCode returns true when this get folder by Uid forbidden response a status code equal to that given
func (*GetFolderByUIDForbidden) IsRedirect ¶
func (o *GetFolderByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this get folder by Uid forbidden response has a 3xx status code
func (*GetFolderByUIDForbidden) IsServerError ¶
func (o *GetFolderByUIDForbidden) IsServerError() bool
IsServerError returns true when this get folder by Uid forbidden response has a 5xx status code
func (*GetFolderByUIDForbidden) IsSuccess ¶
func (o *GetFolderByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this get folder by Uid forbidden response has a 2xx status code
func (*GetFolderByUIDForbidden) String ¶
func (o *GetFolderByUIDForbidden) String() string
type GetFolderByUIDInternalServerError ¶
type GetFolderByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetFolderByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetFolderByUIDInternalServerError ¶
func NewGetFolderByUIDInternalServerError() *GetFolderByUIDInternalServerError
NewGetFolderByUIDInternalServerError creates a GetFolderByUIDInternalServerError with default headers values
func (*GetFolderByUIDInternalServerError) Code ¶
func (o *GetFolderByUIDInternalServerError) Code() int
Code gets the status code for the get folder by Uid internal server error response
func (*GetFolderByUIDInternalServerError) Error ¶
func (o *GetFolderByUIDInternalServerError) Error() string
func (*GetFolderByUIDInternalServerError) GetPayload ¶
func (o *GetFolderByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetFolderByUIDInternalServerError) IsClientError ¶
func (o *GetFolderByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this get folder by Uid internal server error response has a 4xx status code
func (*GetFolderByUIDInternalServerError) IsCode ¶
func (o *GetFolderByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get folder by Uid internal server error response a status code equal to that given
func (*GetFolderByUIDInternalServerError) IsRedirect ¶
func (o *GetFolderByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get folder by Uid internal server error response has a 3xx status code
func (*GetFolderByUIDInternalServerError) IsServerError ¶
func (o *GetFolderByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this get folder by Uid internal server error response has a 5xx status code
func (*GetFolderByUIDInternalServerError) IsSuccess ¶
func (o *GetFolderByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get folder by Uid internal server error response has a 2xx status code
func (*GetFolderByUIDInternalServerError) String ¶
func (o *GetFolderByUIDInternalServerError) String() string
type GetFolderByUIDNotFound ¶
type GetFolderByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetFolderByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetFolderByUIDNotFound ¶
func NewGetFolderByUIDNotFound() *GetFolderByUIDNotFound
NewGetFolderByUIDNotFound creates a GetFolderByUIDNotFound with default headers values
func (*GetFolderByUIDNotFound) Code ¶
func (o *GetFolderByUIDNotFound) Code() int
Code gets the status code for the get folder by Uid not found response
func (*GetFolderByUIDNotFound) Error ¶
func (o *GetFolderByUIDNotFound) Error() string
func (*GetFolderByUIDNotFound) GetPayload ¶
func (o *GetFolderByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*GetFolderByUIDNotFound) IsClientError ¶
func (o *GetFolderByUIDNotFound) IsClientError() bool
IsClientError returns true when this get folder by Uid not found response has a 4xx status code
func (*GetFolderByUIDNotFound) IsCode ¶
func (o *GetFolderByUIDNotFound) IsCode(code int) bool
IsCode returns true when this get folder by Uid not found response a status code equal to that given
func (*GetFolderByUIDNotFound) IsRedirect ¶
func (o *GetFolderByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this get folder by Uid not found response has a 3xx status code
func (*GetFolderByUIDNotFound) IsServerError ¶
func (o *GetFolderByUIDNotFound) IsServerError() bool
IsServerError returns true when this get folder by Uid not found response has a 5xx status code
func (*GetFolderByUIDNotFound) IsSuccess ¶
func (o *GetFolderByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this get folder by Uid not found response has a 2xx status code
func (*GetFolderByUIDNotFound) String ¶
func (o *GetFolderByUIDNotFound) String() string
type GetFolderByUIDOK ¶
GetFolderByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetFolderByUIDOK ¶
func NewGetFolderByUIDOK() *GetFolderByUIDOK
NewGetFolderByUIDOK creates a GetFolderByUIDOK with default headers values
func (*GetFolderByUIDOK) Code ¶
func (o *GetFolderByUIDOK) Code() int
Code gets the status code for the get folder by Uid Ok response
func (*GetFolderByUIDOK) Error ¶
func (o *GetFolderByUIDOK) Error() string
func (*GetFolderByUIDOK) GetPayload ¶
func (o *GetFolderByUIDOK) GetPayload() *models.Folder
func (*GetFolderByUIDOK) IsClientError ¶
func (o *GetFolderByUIDOK) IsClientError() bool
IsClientError returns true when this get folder by Uid Ok response has a 4xx status code
func (*GetFolderByUIDOK) IsCode ¶
func (o *GetFolderByUIDOK) IsCode(code int) bool
IsCode returns true when this get folder by Uid Ok response a status code equal to that given
func (*GetFolderByUIDOK) IsRedirect ¶
func (o *GetFolderByUIDOK) IsRedirect() bool
IsRedirect returns true when this get folder by Uid Ok response has a 3xx status code
func (*GetFolderByUIDOK) IsServerError ¶
func (o *GetFolderByUIDOK) IsServerError() bool
IsServerError returns true when this get folder by Uid Ok response has a 5xx status code
func (*GetFolderByUIDOK) IsSuccess ¶
func (o *GetFolderByUIDOK) IsSuccess() bool
IsSuccess returns true when this get folder by Uid Ok response has a 2xx status code
func (*GetFolderByUIDOK) String ¶
func (o *GetFolderByUIDOK) String() string
type GetFolderByUIDParams ¶
type GetFolderByUIDParams struct { // FolderUID. FolderUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFolderByUIDParams contains all the parameters to send to the API endpoint
for the get folder by UID operation. Typically these are written to a http.Request.
func NewGetFolderByUIDParams ¶
func NewGetFolderByUIDParams() *GetFolderByUIDParams
NewGetFolderByUIDParams creates a new GetFolderByUIDParams 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 NewGetFolderByUIDParamsWithContext ¶
func NewGetFolderByUIDParamsWithContext(ctx context.Context) *GetFolderByUIDParams
NewGetFolderByUIDParamsWithContext creates a new GetFolderByUIDParams object with the ability to set a context for a request.
func NewGetFolderByUIDParamsWithHTTPClient ¶
func NewGetFolderByUIDParamsWithHTTPClient(client *http.Client) *GetFolderByUIDParams
NewGetFolderByUIDParamsWithHTTPClient creates a new GetFolderByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetFolderByUIDParamsWithTimeout ¶
func NewGetFolderByUIDParamsWithTimeout(timeout time.Duration) *GetFolderByUIDParams
NewGetFolderByUIDParamsWithTimeout creates a new GetFolderByUIDParams object with the ability to set a timeout on a request.
func (*GetFolderByUIDParams) SetContext ¶
func (o *GetFolderByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get folder by UID params
func (*GetFolderByUIDParams) SetDefaults ¶
func (o *GetFolderByUIDParams) SetDefaults()
SetDefaults hydrates default values in the get folder by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetFolderByUIDParams) SetFolderUID ¶
func (o *GetFolderByUIDParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the get folder by UID params
func (*GetFolderByUIDParams) SetHTTPClient ¶
func (o *GetFolderByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get folder by UID params
func (*GetFolderByUIDParams) SetTimeout ¶
func (o *GetFolderByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get folder by UID params
func (*GetFolderByUIDParams) WithContext ¶
func (o *GetFolderByUIDParams) WithContext(ctx context.Context) *GetFolderByUIDParams
WithContext adds the context to the get folder by UID params
func (*GetFolderByUIDParams) WithDefaults ¶
func (o *GetFolderByUIDParams) WithDefaults() *GetFolderByUIDParams
WithDefaults hydrates default values in the get folder by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetFolderByUIDParams) WithFolderUID ¶
func (o *GetFolderByUIDParams) WithFolderUID(folderUID string) *GetFolderByUIDParams
WithFolderUID adds the folderUID to the get folder by UID params
func (*GetFolderByUIDParams) WithHTTPClient ¶
func (o *GetFolderByUIDParams) WithHTTPClient(client *http.Client) *GetFolderByUIDParams
WithHTTPClient adds the HTTPClient to the get folder by UID params
func (*GetFolderByUIDParams) WithTimeout ¶
func (o *GetFolderByUIDParams) WithTimeout(timeout time.Duration) *GetFolderByUIDParams
WithTimeout adds the timeout to the get folder by UID params
func (*GetFolderByUIDParams) WriteToRequest ¶
func (o *GetFolderByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFolderByUIDReader ¶
type GetFolderByUIDReader struct {
// contains filtered or unexported fields
}
GetFolderByUIDReader is a Reader for the GetFolderByUID structure.
func (*GetFolderByUIDReader) ReadResponse ¶
func (o *GetFolderByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFolderByUIDUnauthorized ¶
type GetFolderByUIDUnauthorized struct {
}GetFolderByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetFolderByUIDUnauthorized ¶
func NewGetFolderByUIDUnauthorized() *GetFolderByUIDUnauthorized
NewGetFolderByUIDUnauthorized creates a GetFolderByUIDUnauthorized with default headers values
func (*GetFolderByUIDUnauthorized) Code ¶
func (o *GetFolderByUIDUnauthorized) Code() int
Code gets the status code for the get folder by Uid unauthorized response
func (*GetFolderByUIDUnauthorized) Error ¶
func (o *GetFolderByUIDUnauthorized) Error() string
func (*GetFolderByUIDUnauthorized) GetPayload ¶
func (o *GetFolderByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetFolderByUIDUnauthorized) IsClientError ¶
func (o *GetFolderByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this get folder by Uid unauthorized response has a 4xx status code
func (*GetFolderByUIDUnauthorized) IsCode ¶
func (o *GetFolderByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get folder by Uid unauthorized response a status code equal to that given
func (*GetFolderByUIDUnauthorized) IsRedirect ¶
func (o *GetFolderByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get folder by Uid unauthorized response has a 3xx status code
func (*GetFolderByUIDUnauthorized) IsServerError ¶
func (o *GetFolderByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this get folder by Uid unauthorized response has a 5xx status code
func (*GetFolderByUIDUnauthorized) IsSuccess ¶
func (o *GetFolderByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get folder by Uid unauthorized response has a 2xx status code
func (*GetFolderByUIDUnauthorized) String ¶
func (o *GetFolderByUIDUnauthorized) String() string
type GetFolderDescendantCountsForbidden ¶
type GetFolderDescendantCountsForbidden struct {
Payload *models.ErrorResponseBody
}
GetFolderDescendantCountsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetFolderDescendantCountsForbidden ¶
func NewGetFolderDescendantCountsForbidden() *GetFolderDescendantCountsForbidden
NewGetFolderDescendantCountsForbidden creates a GetFolderDescendantCountsForbidden with default headers values
func (*GetFolderDescendantCountsForbidden) Code ¶
func (o *GetFolderDescendantCountsForbidden) Code() int
Code gets the status code for the get folder descendant counts forbidden response
func (*GetFolderDescendantCountsForbidden) Error ¶
func (o *GetFolderDescendantCountsForbidden) Error() string
func (*GetFolderDescendantCountsForbidden) GetPayload ¶
func (o *GetFolderDescendantCountsForbidden) GetPayload() *models.ErrorResponseBody
func (*GetFolderDescendantCountsForbidden) IsClientError ¶
func (o *GetFolderDescendantCountsForbidden) IsClientError() bool
IsClientError returns true when this get folder descendant counts forbidden response has a 4xx status code
func (*GetFolderDescendantCountsForbidden) IsCode ¶
func (o *GetFolderDescendantCountsForbidden) IsCode(code int) bool
IsCode returns true when this get folder descendant counts forbidden response a status code equal to that given
func (*GetFolderDescendantCountsForbidden) IsRedirect ¶
func (o *GetFolderDescendantCountsForbidden) IsRedirect() bool
IsRedirect returns true when this get folder descendant counts forbidden response has a 3xx status code
func (*GetFolderDescendantCountsForbidden) IsServerError ¶
func (o *GetFolderDescendantCountsForbidden) IsServerError() bool
IsServerError returns true when this get folder descendant counts forbidden response has a 5xx status code
func (*GetFolderDescendantCountsForbidden) IsSuccess ¶
func (o *GetFolderDescendantCountsForbidden) IsSuccess() bool
IsSuccess returns true when this get folder descendant counts forbidden response has a 2xx status code
func (*GetFolderDescendantCountsForbidden) String ¶
func (o *GetFolderDescendantCountsForbidden) String() string
type GetFolderDescendantCountsInternalServerError ¶
type GetFolderDescendantCountsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetFolderDescendantCountsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetFolderDescendantCountsInternalServerError ¶
func NewGetFolderDescendantCountsInternalServerError() *GetFolderDescendantCountsInternalServerError
NewGetFolderDescendantCountsInternalServerError creates a GetFolderDescendantCountsInternalServerError with default headers values
func (*GetFolderDescendantCountsInternalServerError) Code ¶
func (o *GetFolderDescendantCountsInternalServerError) Code() int
Code gets the status code for the get folder descendant counts internal server error response
func (*GetFolderDescendantCountsInternalServerError) Error ¶
func (o *GetFolderDescendantCountsInternalServerError) Error() string
func (*GetFolderDescendantCountsInternalServerError) GetPayload ¶
func (o *GetFolderDescendantCountsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetFolderDescendantCountsInternalServerError) IsClientError ¶
func (o *GetFolderDescendantCountsInternalServerError) IsClientError() bool
IsClientError returns true when this get folder descendant counts internal server error response has a 4xx status code
func (*GetFolderDescendantCountsInternalServerError) IsCode ¶
func (o *GetFolderDescendantCountsInternalServerError) IsCode(code int) bool
IsCode returns true when this get folder descendant counts internal server error response a status code equal to that given
func (*GetFolderDescendantCountsInternalServerError) IsRedirect ¶
func (o *GetFolderDescendantCountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get folder descendant counts internal server error response has a 3xx status code
func (*GetFolderDescendantCountsInternalServerError) IsServerError ¶
func (o *GetFolderDescendantCountsInternalServerError) IsServerError() bool
IsServerError returns true when this get folder descendant counts internal server error response has a 5xx status code
func (*GetFolderDescendantCountsInternalServerError) IsSuccess ¶
func (o *GetFolderDescendantCountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get folder descendant counts internal server error response has a 2xx status code
func (*GetFolderDescendantCountsInternalServerError) String ¶
func (o *GetFolderDescendantCountsInternalServerError) String() string
type GetFolderDescendantCountsNotFound ¶
type GetFolderDescendantCountsNotFound struct {
Payload *models.ErrorResponseBody
}
GetFolderDescendantCountsNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetFolderDescendantCountsNotFound ¶
func NewGetFolderDescendantCountsNotFound() *GetFolderDescendantCountsNotFound
NewGetFolderDescendantCountsNotFound creates a GetFolderDescendantCountsNotFound with default headers values
func (*GetFolderDescendantCountsNotFound) Code ¶
func (o *GetFolderDescendantCountsNotFound) Code() int
Code gets the status code for the get folder descendant counts not found response
func (*GetFolderDescendantCountsNotFound) Error ¶
func (o *GetFolderDescendantCountsNotFound) Error() string
func (*GetFolderDescendantCountsNotFound) GetPayload ¶
func (o *GetFolderDescendantCountsNotFound) GetPayload() *models.ErrorResponseBody
func (*GetFolderDescendantCountsNotFound) IsClientError ¶
func (o *GetFolderDescendantCountsNotFound) IsClientError() bool
IsClientError returns true when this get folder descendant counts not found response has a 4xx status code
func (*GetFolderDescendantCountsNotFound) IsCode ¶
func (o *GetFolderDescendantCountsNotFound) IsCode(code int) bool
IsCode returns true when this get folder descendant counts not found response a status code equal to that given
func (*GetFolderDescendantCountsNotFound) IsRedirect ¶
func (o *GetFolderDescendantCountsNotFound) IsRedirect() bool
IsRedirect returns true when this get folder descendant counts not found response has a 3xx status code
func (*GetFolderDescendantCountsNotFound) IsServerError ¶
func (o *GetFolderDescendantCountsNotFound) IsServerError() bool
IsServerError returns true when this get folder descendant counts not found response has a 5xx status code
func (*GetFolderDescendantCountsNotFound) IsSuccess ¶
func (o *GetFolderDescendantCountsNotFound) IsSuccess() bool
IsSuccess returns true when this get folder descendant counts not found response has a 2xx status code
func (*GetFolderDescendantCountsNotFound) String ¶
func (o *GetFolderDescendantCountsNotFound) String() string
type GetFolderDescendantCountsOK ¶
type GetFolderDescendantCountsOK struct {
Payload models.DescendantCounts
}
GetFolderDescendantCountsOK describes a response with status code 200, with default header values.
(empty)
func NewGetFolderDescendantCountsOK ¶
func NewGetFolderDescendantCountsOK() *GetFolderDescendantCountsOK
NewGetFolderDescendantCountsOK creates a GetFolderDescendantCountsOK with default headers values
func (*GetFolderDescendantCountsOK) Code ¶
func (o *GetFolderDescendantCountsOK) Code() int
Code gets the status code for the get folder descendant counts Ok response
func (*GetFolderDescendantCountsOK) Error ¶
func (o *GetFolderDescendantCountsOK) Error() string
func (*GetFolderDescendantCountsOK) GetPayload ¶
func (o *GetFolderDescendantCountsOK) GetPayload() models.DescendantCounts
func (*GetFolderDescendantCountsOK) IsClientError ¶
func (o *GetFolderDescendantCountsOK) IsClientError() bool
IsClientError returns true when this get folder descendant counts Ok response has a 4xx status code
func (*GetFolderDescendantCountsOK) IsCode ¶
func (o *GetFolderDescendantCountsOK) IsCode(code int) bool
IsCode returns true when this get folder descendant counts Ok response a status code equal to that given
func (*GetFolderDescendantCountsOK) IsRedirect ¶
func (o *GetFolderDescendantCountsOK) IsRedirect() bool
IsRedirect returns true when this get folder descendant counts Ok response has a 3xx status code
func (*GetFolderDescendantCountsOK) IsServerError ¶
func (o *GetFolderDescendantCountsOK) IsServerError() bool
IsServerError returns true when this get folder descendant counts Ok response has a 5xx status code
func (*GetFolderDescendantCountsOK) IsSuccess ¶
func (o *GetFolderDescendantCountsOK) IsSuccess() bool
IsSuccess returns true when this get folder descendant counts Ok response has a 2xx status code
func (*GetFolderDescendantCountsOK) String ¶
func (o *GetFolderDescendantCountsOK) String() string
type GetFolderDescendantCountsParams ¶
type GetFolderDescendantCountsParams struct { // FolderUID. FolderUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFolderDescendantCountsParams contains all the parameters to send to the API endpoint
for the get folder descendant counts operation. Typically these are written to a http.Request.
func NewGetFolderDescendantCountsParams ¶
func NewGetFolderDescendantCountsParams() *GetFolderDescendantCountsParams
NewGetFolderDescendantCountsParams creates a new GetFolderDescendantCountsParams 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 NewGetFolderDescendantCountsParamsWithContext ¶
func NewGetFolderDescendantCountsParamsWithContext(ctx context.Context) *GetFolderDescendantCountsParams
NewGetFolderDescendantCountsParamsWithContext creates a new GetFolderDescendantCountsParams object with the ability to set a context for a request.
func NewGetFolderDescendantCountsParamsWithHTTPClient ¶
func NewGetFolderDescendantCountsParamsWithHTTPClient(client *http.Client) *GetFolderDescendantCountsParams
NewGetFolderDescendantCountsParamsWithHTTPClient creates a new GetFolderDescendantCountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFolderDescendantCountsParamsWithTimeout ¶
func NewGetFolderDescendantCountsParamsWithTimeout(timeout time.Duration) *GetFolderDescendantCountsParams
NewGetFolderDescendantCountsParamsWithTimeout creates a new GetFolderDescendantCountsParams object with the ability to set a timeout on a request.
func (*GetFolderDescendantCountsParams) SetContext ¶
func (o *GetFolderDescendantCountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) SetDefaults ¶
func (o *GetFolderDescendantCountsParams) SetDefaults()
SetDefaults hydrates default values in the get folder descendant counts params (not the query body).
All values with no default are reset to their zero value.
func (*GetFolderDescendantCountsParams) SetFolderUID ¶
func (o *GetFolderDescendantCountsParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) SetHTTPClient ¶
func (o *GetFolderDescendantCountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) SetTimeout ¶
func (o *GetFolderDescendantCountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) WithContext ¶
func (o *GetFolderDescendantCountsParams) WithContext(ctx context.Context) *GetFolderDescendantCountsParams
WithContext adds the context to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) WithDefaults ¶
func (o *GetFolderDescendantCountsParams) WithDefaults() *GetFolderDescendantCountsParams
WithDefaults hydrates default values in the get folder descendant counts params (not the query body).
All values with no default are reset to their zero value.
func (*GetFolderDescendantCountsParams) WithFolderUID ¶
func (o *GetFolderDescendantCountsParams) WithFolderUID(folderUID string) *GetFolderDescendantCountsParams
WithFolderUID adds the folderUID to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) WithHTTPClient ¶
func (o *GetFolderDescendantCountsParams) WithHTTPClient(client *http.Client) *GetFolderDescendantCountsParams
WithHTTPClient adds the HTTPClient to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) WithTimeout ¶
func (o *GetFolderDescendantCountsParams) WithTimeout(timeout time.Duration) *GetFolderDescendantCountsParams
WithTimeout adds the timeout to the get folder descendant counts params
func (*GetFolderDescendantCountsParams) WriteToRequest ¶
func (o *GetFolderDescendantCountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFolderDescendantCountsReader ¶
type GetFolderDescendantCountsReader struct {
// contains filtered or unexported fields
}
GetFolderDescendantCountsReader is a Reader for the GetFolderDescendantCounts structure.
func (*GetFolderDescendantCountsReader) ReadResponse ¶
func (o *GetFolderDescendantCountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFolderDescendantCountsUnauthorized ¶
type GetFolderDescendantCountsUnauthorized struct {
}GetFolderDescendantCountsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetFolderDescendantCountsUnauthorized ¶
func NewGetFolderDescendantCountsUnauthorized() *GetFolderDescendantCountsUnauthorized
NewGetFolderDescendantCountsUnauthorized creates a GetFolderDescendantCountsUnauthorized with default headers values
func (*GetFolderDescendantCountsUnauthorized) Code ¶
func (o *GetFolderDescendantCountsUnauthorized) Code() int
Code gets the status code for the get folder descendant counts unauthorized response
func (*GetFolderDescendantCountsUnauthorized) Error ¶
func (o *GetFolderDescendantCountsUnauthorized) Error() string
func (*GetFolderDescendantCountsUnauthorized) GetPayload ¶
func (o *GetFolderDescendantCountsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetFolderDescendantCountsUnauthorized) IsClientError ¶
func (o *GetFolderDescendantCountsUnauthorized) IsClientError() bool
IsClientError returns true when this get folder descendant counts unauthorized response has a 4xx status code
func (*GetFolderDescendantCountsUnauthorized) IsCode ¶
func (o *GetFolderDescendantCountsUnauthorized) IsCode(code int) bool
IsCode returns true when this get folder descendant counts unauthorized response a status code equal to that given
func (*GetFolderDescendantCountsUnauthorized) IsRedirect ¶
func (o *GetFolderDescendantCountsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get folder descendant counts unauthorized response has a 3xx status code
func (*GetFolderDescendantCountsUnauthorized) IsServerError ¶
func (o *GetFolderDescendantCountsUnauthorized) IsServerError() bool
IsServerError returns true when this get folder descendant counts unauthorized response has a 5xx status code
func (*GetFolderDescendantCountsUnauthorized) IsSuccess ¶
func (o *GetFolderDescendantCountsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get folder descendant counts unauthorized response has a 2xx status code
func (*GetFolderDescendantCountsUnauthorized) String ¶
func (o *GetFolderDescendantCountsUnauthorized) String() string
type GetFoldersForbidden ¶
type GetFoldersForbidden struct {
Payload *models.ErrorResponseBody
}
GetFoldersForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetFoldersForbidden ¶
func NewGetFoldersForbidden() *GetFoldersForbidden
NewGetFoldersForbidden creates a GetFoldersForbidden with default headers values
func (*GetFoldersForbidden) Code ¶
func (o *GetFoldersForbidden) Code() int
Code gets the status code for the get folders forbidden response
func (*GetFoldersForbidden) Error ¶
func (o *GetFoldersForbidden) Error() string
func (*GetFoldersForbidden) GetPayload ¶
func (o *GetFoldersForbidden) GetPayload() *models.ErrorResponseBody
func (*GetFoldersForbidden) IsClientError ¶
func (o *GetFoldersForbidden) IsClientError() bool
IsClientError returns true when this get folders forbidden response has a 4xx status code
func (*GetFoldersForbidden) IsCode ¶
func (o *GetFoldersForbidden) IsCode(code int) bool
IsCode returns true when this get folders forbidden response a status code equal to that given
func (*GetFoldersForbidden) IsRedirect ¶
func (o *GetFoldersForbidden) IsRedirect() bool
IsRedirect returns true when this get folders forbidden response has a 3xx status code
func (*GetFoldersForbidden) IsServerError ¶
func (o *GetFoldersForbidden) IsServerError() bool
IsServerError returns true when this get folders forbidden response has a 5xx status code
func (*GetFoldersForbidden) IsSuccess ¶
func (o *GetFoldersForbidden) IsSuccess() bool
IsSuccess returns true when this get folders forbidden response has a 2xx status code
func (*GetFoldersForbidden) String ¶
func (o *GetFoldersForbidden) String() string
type GetFoldersInternalServerError ¶
type GetFoldersInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetFoldersInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetFoldersInternalServerError ¶
func NewGetFoldersInternalServerError() *GetFoldersInternalServerError
NewGetFoldersInternalServerError creates a GetFoldersInternalServerError with default headers values
func (*GetFoldersInternalServerError) Code ¶
func (o *GetFoldersInternalServerError) Code() int
Code gets the status code for the get folders internal server error response
func (*GetFoldersInternalServerError) Error ¶
func (o *GetFoldersInternalServerError) Error() string
func (*GetFoldersInternalServerError) GetPayload ¶
func (o *GetFoldersInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetFoldersInternalServerError) IsClientError ¶
func (o *GetFoldersInternalServerError) IsClientError() bool
IsClientError returns true when this get folders internal server error response has a 4xx status code
func (*GetFoldersInternalServerError) IsCode ¶
func (o *GetFoldersInternalServerError) IsCode(code int) bool
IsCode returns true when this get folders internal server error response a status code equal to that given
func (*GetFoldersInternalServerError) IsRedirect ¶
func (o *GetFoldersInternalServerError) IsRedirect() bool
IsRedirect returns true when this get folders internal server error response has a 3xx status code
func (*GetFoldersInternalServerError) IsServerError ¶
func (o *GetFoldersInternalServerError) IsServerError() bool
IsServerError returns true when this get folders internal server error response has a 5xx status code
func (*GetFoldersInternalServerError) IsSuccess ¶
func (o *GetFoldersInternalServerError) IsSuccess() bool
IsSuccess returns true when this get folders internal server error response has a 2xx status code
func (*GetFoldersInternalServerError) String ¶
func (o *GetFoldersInternalServerError) String() string
type GetFoldersOK ¶
type GetFoldersOK struct {
Payload []*models.FolderSearchHit
}
GetFoldersOK describes a response with status code 200, with default header values.
(empty)
func NewGetFoldersOK ¶
func NewGetFoldersOK() *GetFoldersOK
NewGetFoldersOK creates a GetFoldersOK with default headers values
func (*GetFoldersOK) Code ¶
func (o *GetFoldersOK) Code() int
Code gets the status code for the get folders Ok response
func (*GetFoldersOK) Error ¶
func (o *GetFoldersOK) Error() string
func (*GetFoldersOK) GetPayload ¶
func (o *GetFoldersOK) GetPayload() []*models.FolderSearchHit
func (*GetFoldersOK) IsClientError ¶
func (o *GetFoldersOK) IsClientError() bool
IsClientError returns true when this get folders Ok response has a 4xx status code
func (*GetFoldersOK) IsCode ¶
func (o *GetFoldersOK) IsCode(code int) bool
IsCode returns true when this get folders Ok response a status code equal to that given
func (*GetFoldersOK) IsRedirect ¶
func (o *GetFoldersOK) IsRedirect() bool
IsRedirect returns true when this get folders Ok response has a 3xx status code
func (*GetFoldersOK) IsServerError ¶
func (o *GetFoldersOK) IsServerError() bool
IsServerError returns true when this get folders Ok response has a 5xx status code
func (*GetFoldersOK) IsSuccess ¶
func (o *GetFoldersOK) IsSuccess() bool
IsSuccess returns true when this get folders Ok response has a 2xx status code
func (*GetFoldersOK) String ¶
func (o *GetFoldersOK) String() string
type GetFoldersParams ¶
type GetFoldersParams struct { /* Limit. Limit the maximum number of folders to return Format: int64 Default: 1000 */ Limit *int64 /* Page. Page index for starting fetching folders Format: int64 Default: 1 */ Page *int64 /* ParentUID. The parent folder UID */ ParentUID *string /* Permission. Set to `Edit` to return folders that the user can edit Default: "View" */ Permission *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFoldersParams contains all the parameters to send to the API endpoint
for the get folders operation. Typically these are written to a http.Request.
func NewGetFoldersParams ¶
func NewGetFoldersParams() *GetFoldersParams
NewGetFoldersParams creates a new GetFoldersParams 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 NewGetFoldersParamsWithContext ¶
func NewGetFoldersParamsWithContext(ctx context.Context) *GetFoldersParams
NewGetFoldersParamsWithContext creates a new GetFoldersParams object with the ability to set a context for a request.
func NewGetFoldersParamsWithHTTPClient ¶
func NewGetFoldersParamsWithHTTPClient(client *http.Client) *GetFoldersParams
NewGetFoldersParamsWithHTTPClient creates a new GetFoldersParams object with the ability to set a custom HTTPClient for a request.
func NewGetFoldersParamsWithTimeout ¶
func NewGetFoldersParamsWithTimeout(timeout time.Duration) *GetFoldersParams
NewGetFoldersParamsWithTimeout creates a new GetFoldersParams object with the ability to set a timeout on a request.
func (*GetFoldersParams) SetContext ¶
func (o *GetFoldersParams) SetContext(ctx context.Context)
SetContext adds the context to the get folders params
func (*GetFoldersParams) SetDefaults ¶
func (o *GetFoldersParams) SetDefaults()
SetDefaults hydrates default values in the get folders params (not the query body).
All values with no default are reset to their zero value.
func (*GetFoldersParams) SetHTTPClient ¶
func (o *GetFoldersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get folders params
func (*GetFoldersParams) SetLimit ¶
func (o *GetFoldersParams) SetLimit(limit *int64)
SetLimit adds the limit to the get folders params
func (*GetFoldersParams) SetPage ¶
func (o *GetFoldersParams) SetPage(page *int64)
SetPage adds the page to the get folders params
func (*GetFoldersParams) SetParentUID ¶
func (o *GetFoldersParams) SetParentUID(parentUID *string)
SetParentUID adds the parentUid to the get folders params
func (*GetFoldersParams) SetPermission ¶
func (o *GetFoldersParams) SetPermission(permission *string)
SetPermission adds the permission to the get folders params
func (*GetFoldersParams) SetTimeout ¶
func (o *GetFoldersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get folders params
func (*GetFoldersParams) WithContext ¶
func (o *GetFoldersParams) WithContext(ctx context.Context) *GetFoldersParams
WithContext adds the context to the get folders params
func (*GetFoldersParams) WithDefaults ¶
func (o *GetFoldersParams) WithDefaults() *GetFoldersParams
WithDefaults hydrates default values in the get folders params (not the query body).
All values with no default are reset to their zero value.
func (*GetFoldersParams) WithHTTPClient ¶
func (o *GetFoldersParams) WithHTTPClient(client *http.Client) *GetFoldersParams
WithHTTPClient adds the HTTPClient to the get folders params
func (*GetFoldersParams) WithLimit ¶
func (o *GetFoldersParams) WithLimit(limit *int64) *GetFoldersParams
WithLimit adds the limit to the get folders params
func (*GetFoldersParams) WithPage ¶
func (o *GetFoldersParams) WithPage(page *int64) *GetFoldersParams
WithPage adds the page to the get folders params
func (*GetFoldersParams) WithParentUID ¶
func (o *GetFoldersParams) WithParentUID(parentUID *string) *GetFoldersParams
WithParentUID adds the parentUID to the get folders params
func (*GetFoldersParams) WithPermission ¶
func (o *GetFoldersParams) WithPermission(permission *string) *GetFoldersParams
WithPermission adds the permission to the get folders params
func (*GetFoldersParams) WithTimeout ¶
func (o *GetFoldersParams) WithTimeout(timeout time.Duration) *GetFoldersParams
WithTimeout adds the timeout to the get folders params
func (*GetFoldersParams) WriteToRequest ¶
func (o *GetFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFoldersReader ¶
type GetFoldersReader struct {
// contains filtered or unexported fields
}
GetFoldersReader is a Reader for the GetFolders structure.
func (*GetFoldersReader) ReadResponse ¶
func (o *GetFoldersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFoldersUnauthorized ¶
type GetFoldersUnauthorized struct {
}GetFoldersUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetFoldersUnauthorized ¶
func NewGetFoldersUnauthorized() *GetFoldersUnauthorized
NewGetFoldersUnauthorized creates a GetFoldersUnauthorized with default headers values
func (*GetFoldersUnauthorized) Code ¶
func (o *GetFoldersUnauthorized) Code() int
Code gets the status code for the get folders unauthorized response
func (*GetFoldersUnauthorized) Error ¶
func (o *GetFoldersUnauthorized) Error() string
func (*GetFoldersUnauthorized) GetPayload ¶
func (o *GetFoldersUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetFoldersUnauthorized) IsClientError ¶
func (o *GetFoldersUnauthorized) IsClientError() bool
IsClientError returns true when this get folders unauthorized response has a 4xx status code
func (*GetFoldersUnauthorized) IsCode ¶
func (o *GetFoldersUnauthorized) IsCode(code int) bool
IsCode returns true when this get folders unauthorized response a status code equal to that given
func (*GetFoldersUnauthorized) IsRedirect ¶
func (o *GetFoldersUnauthorized) IsRedirect() bool
IsRedirect returns true when this get folders unauthorized response has a 3xx status code
func (*GetFoldersUnauthorized) IsServerError ¶
func (o *GetFoldersUnauthorized) IsServerError() bool
IsServerError returns true when this get folders unauthorized response has a 5xx status code
func (*GetFoldersUnauthorized) IsSuccess ¶
func (o *GetFoldersUnauthorized) IsSuccess() bool
IsSuccess returns true when this get folders unauthorized response has a 2xx status code
func (*GetFoldersUnauthorized) String ¶
func (o *GetFoldersUnauthorized) String() string
type MoveFolderForbidden ¶
type MoveFolderForbidden struct {
Payload *models.ErrorResponseBody
}
MoveFolderForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewMoveFolderForbidden ¶
func NewMoveFolderForbidden() *MoveFolderForbidden
NewMoveFolderForbidden creates a MoveFolderForbidden with default headers values
func (*MoveFolderForbidden) Code ¶
func (o *MoveFolderForbidden) Code() int
Code gets the status code for the move folder forbidden response
func (*MoveFolderForbidden) Error ¶
func (o *MoveFolderForbidden) Error() string
func (*MoveFolderForbidden) GetPayload ¶
func (o *MoveFolderForbidden) GetPayload() *models.ErrorResponseBody
func (*MoveFolderForbidden) IsClientError ¶
func (o *MoveFolderForbidden) IsClientError() bool
IsClientError returns true when this move folder forbidden response has a 4xx status code
func (*MoveFolderForbidden) IsCode ¶
func (o *MoveFolderForbidden) IsCode(code int) bool
IsCode returns true when this move folder forbidden response a status code equal to that given
func (*MoveFolderForbidden) IsRedirect ¶
func (o *MoveFolderForbidden) IsRedirect() bool
IsRedirect returns true when this move folder forbidden response has a 3xx status code
func (*MoveFolderForbidden) IsServerError ¶
func (o *MoveFolderForbidden) IsServerError() bool
IsServerError returns true when this move folder forbidden response has a 5xx status code
func (*MoveFolderForbidden) IsSuccess ¶
func (o *MoveFolderForbidden) IsSuccess() bool
IsSuccess returns true when this move folder forbidden response has a 2xx status code
func (*MoveFolderForbidden) String ¶
func (o *MoveFolderForbidden) String() string
type MoveFolderInternalServerError ¶
type MoveFolderInternalServerError struct {
Payload *models.ErrorResponseBody
}
MoveFolderInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewMoveFolderInternalServerError ¶
func NewMoveFolderInternalServerError() *MoveFolderInternalServerError
NewMoveFolderInternalServerError creates a MoveFolderInternalServerError with default headers values
func (*MoveFolderInternalServerError) Code ¶
func (o *MoveFolderInternalServerError) Code() int
Code gets the status code for the move folder internal server error response
func (*MoveFolderInternalServerError) Error ¶
func (o *MoveFolderInternalServerError) Error() string
func (*MoveFolderInternalServerError) GetPayload ¶
func (o *MoveFolderInternalServerError) GetPayload() *models.ErrorResponseBody
func (*MoveFolderInternalServerError) IsClientError ¶
func (o *MoveFolderInternalServerError) IsClientError() bool
IsClientError returns true when this move folder internal server error response has a 4xx status code
func (*MoveFolderInternalServerError) IsCode ¶
func (o *MoveFolderInternalServerError) IsCode(code int) bool
IsCode returns true when this move folder internal server error response a status code equal to that given
func (*MoveFolderInternalServerError) IsRedirect ¶
func (o *MoveFolderInternalServerError) IsRedirect() bool
IsRedirect returns true when this move folder internal server error response has a 3xx status code
func (*MoveFolderInternalServerError) IsServerError ¶
func (o *MoveFolderInternalServerError) IsServerError() bool
IsServerError returns true when this move folder internal server error response has a 5xx status code
func (*MoveFolderInternalServerError) IsSuccess ¶
func (o *MoveFolderInternalServerError) IsSuccess() bool
IsSuccess returns true when this move folder internal server error response has a 2xx status code
func (*MoveFolderInternalServerError) String ¶
func (o *MoveFolderInternalServerError) String() string
type MoveFolderNotFound ¶
type MoveFolderNotFound struct {
Payload *models.ErrorResponseBody
}
MoveFolderNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewMoveFolderNotFound ¶
func NewMoveFolderNotFound() *MoveFolderNotFound
NewMoveFolderNotFound creates a MoveFolderNotFound with default headers values
func (*MoveFolderNotFound) Code ¶
func (o *MoveFolderNotFound) Code() int
Code gets the status code for the move folder not found response
func (*MoveFolderNotFound) Error ¶
func (o *MoveFolderNotFound) Error() string
func (*MoveFolderNotFound) GetPayload ¶
func (o *MoveFolderNotFound) GetPayload() *models.ErrorResponseBody
func (*MoveFolderNotFound) IsClientError ¶
func (o *MoveFolderNotFound) IsClientError() bool
IsClientError returns true when this move folder not found response has a 4xx status code
func (*MoveFolderNotFound) IsCode ¶
func (o *MoveFolderNotFound) IsCode(code int) bool
IsCode returns true when this move folder not found response a status code equal to that given
func (*MoveFolderNotFound) IsRedirect ¶
func (o *MoveFolderNotFound) IsRedirect() bool
IsRedirect returns true when this move folder not found response has a 3xx status code
func (*MoveFolderNotFound) IsServerError ¶
func (o *MoveFolderNotFound) IsServerError() bool
IsServerError returns true when this move folder not found response has a 5xx status code
func (*MoveFolderNotFound) IsSuccess ¶
func (o *MoveFolderNotFound) IsSuccess() bool
IsSuccess returns true when this move folder not found response has a 2xx status code
func (*MoveFolderNotFound) String ¶
func (o *MoveFolderNotFound) String() string
type MoveFolderOK ¶
MoveFolderOK describes a response with status code 200, with default header values.
(empty)
func NewMoveFolderOK ¶
func NewMoveFolderOK() *MoveFolderOK
NewMoveFolderOK creates a MoveFolderOK with default headers values
func (*MoveFolderOK) Code ¶
func (o *MoveFolderOK) Code() int
Code gets the status code for the move folder Ok response
func (*MoveFolderOK) Error ¶
func (o *MoveFolderOK) Error() string
func (*MoveFolderOK) GetPayload ¶
func (o *MoveFolderOK) GetPayload() *models.Folder
func (*MoveFolderOK) IsClientError ¶
func (o *MoveFolderOK) IsClientError() bool
IsClientError returns true when this move folder Ok response has a 4xx status code
func (*MoveFolderOK) IsCode ¶
func (o *MoveFolderOK) IsCode(code int) bool
IsCode returns true when this move folder Ok response a status code equal to that given
func (*MoveFolderOK) IsRedirect ¶
func (o *MoveFolderOK) IsRedirect() bool
IsRedirect returns true when this move folder Ok response has a 3xx status code
func (*MoveFolderOK) IsServerError ¶
func (o *MoveFolderOK) IsServerError() bool
IsServerError returns true when this move folder Ok response has a 5xx status code
func (*MoveFolderOK) IsSuccess ¶
func (o *MoveFolderOK) IsSuccess() bool
IsSuccess returns true when this move folder Ok response has a 2xx status code
func (*MoveFolderOK) String ¶
func (o *MoveFolderOK) String() string
type MoveFolderParams ¶
type MoveFolderParams struct { // Body. Body *models.MoveFolderCommand // FolderUID. FolderUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MoveFolderParams contains all the parameters to send to the API endpoint
for the move folder operation. Typically these are written to a http.Request.
func NewMoveFolderParams ¶
func NewMoveFolderParams() *MoveFolderParams
NewMoveFolderParams creates a new MoveFolderParams 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 NewMoveFolderParamsWithContext ¶
func NewMoveFolderParamsWithContext(ctx context.Context) *MoveFolderParams
NewMoveFolderParamsWithContext creates a new MoveFolderParams object with the ability to set a context for a request.
func NewMoveFolderParamsWithHTTPClient ¶
func NewMoveFolderParamsWithHTTPClient(client *http.Client) *MoveFolderParams
NewMoveFolderParamsWithHTTPClient creates a new MoveFolderParams object with the ability to set a custom HTTPClient for a request.
func NewMoveFolderParamsWithTimeout ¶
func NewMoveFolderParamsWithTimeout(timeout time.Duration) *MoveFolderParams
NewMoveFolderParamsWithTimeout creates a new MoveFolderParams object with the ability to set a timeout on a request.
func (*MoveFolderParams) SetBody ¶
func (o *MoveFolderParams) SetBody(body *models.MoveFolderCommand)
SetBody adds the body to the move folder params
func (*MoveFolderParams) SetContext ¶
func (o *MoveFolderParams) SetContext(ctx context.Context)
SetContext adds the context to the move folder params
func (*MoveFolderParams) SetDefaults ¶
func (o *MoveFolderParams) SetDefaults()
SetDefaults hydrates default values in the move folder params (not the query body).
All values with no default are reset to their zero value.
func (*MoveFolderParams) SetFolderUID ¶
func (o *MoveFolderParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the move folder params
func (*MoveFolderParams) SetHTTPClient ¶
func (o *MoveFolderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the move folder params
func (*MoveFolderParams) SetTimeout ¶
func (o *MoveFolderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the move folder params
func (*MoveFolderParams) WithBody ¶
func (o *MoveFolderParams) WithBody(body *models.MoveFolderCommand) *MoveFolderParams
WithBody adds the body to the move folder params
func (*MoveFolderParams) WithContext ¶
func (o *MoveFolderParams) WithContext(ctx context.Context) *MoveFolderParams
WithContext adds the context to the move folder params
func (*MoveFolderParams) WithDefaults ¶
func (o *MoveFolderParams) WithDefaults() *MoveFolderParams
WithDefaults hydrates default values in the move folder params (not the query body).
All values with no default are reset to their zero value.
func (*MoveFolderParams) WithFolderUID ¶
func (o *MoveFolderParams) WithFolderUID(folderUID string) *MoveFolderParams
WithFolderUID adds the folderUID to the move folder params
func (*MoveFolderParams) WithHTTPClient ¶
func (o *MoveFolderParams) WithHTTPClient(client *http.Client) *MoveFolderParams
WithHTTPClient adds the HTTPClient to the move folder params
func (*MoveFolderParams) WithTimeout ¶
func (o *MoveFolderParams) WithTimeout(timeout time.Duration) *MoveFolderParams
WithTimeout adds the timeout to the move folder params
func (*MoveFolderParams) WriteToRequest ¶
func (o *MoveFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MoveFolderReader ¶
type MoveFolderReader struct {
// contains filtered or unexported fields
}
MoveFolderReader is a Reader for the MoveFolder structure.
func (*MoveFolderReader) ReadResponse ¶
func (o *MoveFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MoveFolderUnauthorized ¶
type MoveFolderUnauthorized struct {
}MoveFolderUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewMoveFolderUnauthorized ¶
func NewMoveFolderUnauthorized() *MoveFolderUnauthorized
NewMoveFolderUnauthorized creates a MoveFolderUnauthorized with default headers values
func (*MoveFolderUnauthorized) Code ¶
func (o *MoveFolderUnauthorized) Code() int
Code gets the status code for the move folder unauthorized response
func (*MoveFolderUnauthorized) Error ¶
func (o *MoveFolderUnauthorized) Error() string
func (*MoveFolderUnauthorized) GetPayload ¶
func (o *MoveFolderUnauthorized) GetPayload() *models.ErrorResponseBody
func (*MoveFolderUnauthorized) IsClientError ¶
func (o *MoveFolderUnauthorized) IsClientError() bool
IsClientError returns true when this move folder unauthorized response has a 4xx status code
func (*MoveFolderUnauthorized) IsCode ¶
func (o *MoveFolderUnauthorized) IsCode(code int) bool
IsCode returns true when this move folder unauthorized response a status code equal to that given
func (*MoveFolderUnauthorized) IsRedirect ¶
func (o *MoveFolderUnauthorized) IsRedirect() bool
IsRedirect returns true when this move folder unauthorized response has a 3xx status code
func (*MoveFolderUnauthorized) IsServerError ¶
func (o *MoveFolderUnauthorized) IsServerError() bool
IsServerError returns true when this move folder unauthorized response has a 5xx status code
func (*MoveFolderUnauthorized) IsSuccess ¶
func (o *MoveFolderUnauthorized) IsSuccess() bool
IsSuccess returns true when this move folder unauthorized response has a 2xx status code
func (*MoveFolderUnauthorized) String ¶
func (o *MoveFolderUnauthorized) String() string
type UpdateFolderBadRequest ¶
type UpdateFolderBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateFolderBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateFolderBadRequest ¶
func NewUpdateFolderBadRequest() *UpdateFolderBadRequest
NewUpdateFolderBadRequest creates a UpdateFolderBadRequest with default headers values
func (*UpdateFolderBadRequest) Code ¶
func (o *UpdateFolderBadRequest) Code() int
Code gets the status code for the update folder bad request response
func (*UpdateFolderBadRequest) Error ¶
func (o *UpdateFolderBadRequest) Error() string
func (*UpdateFolderBadRequest) GetPayload ¶
func (o *UpdateFolderBadRequest) GetPayload() *models.ErrorResponseBody
func (*UpdateFolderBadRequest) IsClientError ¶
func (o *UpdateFolderBadRequest) IsClientError() bool
IsClientError returns true when this update folder bad request response has a 4xx status code
func (*UpdateFolderBadRequest) IsCode ¶
func (o *UpdateFolderBadRequest) IsCode(code int) bool
IsCode returns true when this update folder bad request response a status code equal to that given
func (*UpdateFolderBadRequest) IsRedirect ¶
func (o *UpdateFolderBadRequest) IsRedirect() bool
IsRedirect returns true when this update folder bad request response has a 3xx status code
func (*UpdateFolderBadRequest) IsServerError ¶
func (o *UpdateFolderBadRequest) IsServerError() bool
IsServerError returns true when this update folder bad request response has a 5xx status code
func (*UpdateFolderBadRequest) IsSuccess ¶
func (o *UpdateFolderBadRequest) IsSuccess() bool
IsSuccess returns true when this update folder bad request response has a 2xx status code
func (*UpdateFolderBadRequest) String ¶
func (o *UpdateFolderBadRequest) String() string
type UpdateFolderConflict ¶
type UpdateFolderConflict struct {
Payload *models.ErrorResponseBody
}
UpdateFolderConflict describes a response with status code 409, with default header values.
ConflictError
func NewUpdateFolderConflict ¶
func NewUpdateFolderConflict() *UpdateFolderConflict
NewUpdateFolderConflict creates a UpdateFolderConflict with default headers values
func (*UpdateFolderConflict) Code ¶
func (o *UpdateFolderConflict) Code() int
Code gets the status code for the update folder conflict response
func (*UpdateFolderConflict) Error ¶
func (o *UpdateFolderConflict) Error() string
func (*UpdateFolderConflict) GetPayload ¶
func (o *UpdateFolderConflict) GetPayload() *models.ErrorResponseBody
func (*UpdateFolderConflict) IsClientError ¶
func (o *UpdateFolderConflict) IsClientError() bool
IsClientError returns true when this update folder conflict response has a 4xx status code
func (*UpdateFolderConflict) IsCode ¶
func (o *UpdateFolderConflict) IsCode(code int) bool
IsCode returns true when this update folder conflict response a status code equal to that given
func (*UpdateFolderConflict) IsRedirect ¶
func (o *UpdateFolderConflict) IsRedirect() bool
IsRedirect returns true when this update folder conflict response has a 3xx status code
func (*UpdateFolderConflict) IsServerError ¶
func (o *UpdateFolderConflict) IsServerError() bool
IsServerError returns true when this update folder conflict response has a 5xx status code
func (*UpdateFolderConflict) IsSuccess ¶
func (o *UpdateFolderConflict) IsSuccess() bool
IsSuccess returns true when this update folder conflict response has a 2xx status code
func (*UpdateFolderConflict) String ¶
func (o *UpdateFolderConflict) String() string
type UpdateFolderForbidden ¶
type UpdateFolderForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateFolderForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateFolderForbidden ¶
func NewUpdateFolderForbidden() *UpdateFolderForbidden
NewUpdateFolderForbidden creates a UpdateFolderForbidden with default headers values
func (*UpdateFolderForbidden) Code ¶
func (o *UpdateFolderForbidden) Code() int
Code gets the status code for the update folder forbidden response
func (*UpdateFolderForbidden) Error ¶
func (o *UpdateFolderForbidden) Error() string
func (*UpdateFolderForbidden) GetPayload ¶
func (o *UpdateFolderForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateFolderForbidden) IsClientError ¶
func (o *UpdateFolderForbidden) IsClientError() bool
IsClientError returns true when this update folder forbidden response has a 4xx status code
func (*UpdateFolderForbidden) IsCode ¶
func (o *UpdateFolderForbidden) IsCode(code int) bool
IsCode returns true when this update folder forbidden response a status code equal to that given
func (*UpdateFolderForbidden) IsRedirect ¶
func (o *UpdateFolderForbidden) IsRedirect() bool
IsRedirect returns true when this update folder forbidden response has a 3xx status code
func (*UpdateFolderForbidden) IsServerError ¶
func (o *UpdateFolderForbidden) IsServerError() bool
IsServerError returns true when this update folder forbidden response has a 5xx status code
func (*UpdateFolderForbidden) IsSuccess ¶
func (o *UpdateFolderForbidden) IsSuccess() bool
IsSuccess returns true when this update folder forbidden response has a 2xx status code
func (*UpdateFolderForbidden) String ¶
func (o *UpdateFolderForbidden) String() string
type UpdateFolderInternalServerError ¶
type UpdateFolderInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateFolderInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateFolderInternalServerError ¶
func NewUpdateFolderInternalServerError() *UpdateFolderInternalServerError
NewUpdateFolderInternalServerError creates a UpdateFolderInternalServerError with default headers values
func (*UpdateFolderInternalServerError) Code ¶
func (o *UpdateFolderInternalServerError) Code() int
Code gets the status code for the update folder internal server error response
func (*UpdateFolderInternalServerError) Error ¶
func (o *UpdateFolderInternalServerError) Error() string
func (*UpdateFolderInternalServerError) GetPayload ¶
func (o *UpdateFolderInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateFolderInternalServerError) IsClientError ¶
func (o *UpdateFolderInternalServerError) IsClientError() bool
IsClientError returns true when this update folder internal server error response has a 4xx status code
func (*UpdateFolderInternalServerError) IsCode ¶
func (o *UpdateFolderInternalServerError) IsCode(code int) bool
IsCode returns true when this update folder internal server error response a status code equal to that given
func (*UpdateFolderInternalServerError) IsRedirect ¶
func (o *UpdateFolderInternalServerError) IsRedirect() bool
IsRedirect returns true when this update folder internal server error response has a 3xx status code
func (*UpdateFolderInternalServerError) IsServerError ¶
func (o *UpdateFolderInternalServerError) IsServerError() bool
IsServerError returns true when this update folder internal server error response has a 5xx status code
func (*UpdateFolderInternalServerError) IsSuccess ¶
func (o *UpdateFolderInternalServerError) IsSuccess() bool
IsSuccess returns true when this update folder internal server error response has a 2xx status code
func (*UpdateFolderInternalServerError) String ¶
func (o *UpdateFolderInternalServerError) String() string
type UpdateFolderNotFound ¶
type UpdateFolderNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateFolderNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateFolderNotFound ¶
func NewUpdateFolderNotFound() *UpdateFolderNotFound
NewUpdateFolderNotFound creates a UpdateFolderNotFound with default headers values
func (*UpdateFolderNotFound) Code ¶
func (o *UpdateFolderNotFound) Code() int
Code gets the status code for the update folder not found response
func (*UpdateFolderNotFound) Error ¶
func (o *UpdateFolderNotFound) Error() string
func (*UpdateFolderNotFound) GetPayload ¶
func (o *UpdateFolderNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateFolderNotFound) IsClientError ¶
func (o *UpdateFolderNotFound) IsClientError() bool
IsClientError returns true when this update folder not found response has a 4xx status code
func (*UpdateFolderNotFound) IsCode ¶
func (o *UpdateFolderNotFound) IsCode(code int) bool
IsCode returns true when this update folder not found response a status code equal to that given
func (*UpdateFolderNotFound) IsRedirect ¶
func (o *UpdateFolderNotFound) IsRedirect() bool
IsRedirect returns true when this update folder not found response has a 3xx status code
func (*UpdateFolderNotFound) IsServerError ¶
func (o *UpdateFolderNotFound) IsServerError() bool
IsServerError returns true when this update folder not found response has a 5xx status code
func (*UpdateFolderNotFound) IsSuccess ¶
func (o *UpdateFolderNotFound) IsSuccess() bool
IsSuccess returns true when this update folder not found response has a 2xx status code
func (*UpdateFolderNotFound) String ¶
func (o *UpdateFolderNotFound) String() string
type UpdateFolderOK ¶
UpdateFolderOK describes a response with status code 200, with default header values.
(empty)
func NewUpdateFolderOK ¶
func NewUpdateFolderOK() *UpdateFolderOK
NewUpdateFolderOK creates a UpdateFolderOK with default headers values
func (*UpdateFolderOK) Code ¶
func (o *UpdateFolderOK) Code() int
Code gets the status code for the update folder Ok response
func (*UpdateFolderOK) Error ¶
func (o *UpdateFolderOK) Error() string
func (*UpdateFolderOK) GetPayload ¶
func (o *UpdateFolderOK) GetPayload() *models.Folder
func (*UpdateFolderOK) IsClientError ¶
func (o *UpdateFolderOK) IsClientError() bool
IsClientError returns true when this update folder Ok response has a 4xx status code
func (*UpdateFolderOK) IsCode ¶
func (o *UpdateFolderOK) IsCode(code int) bool
IsCode returns true when this update folder Ok response a status code equal to that given
func (*UpdateFolderOK) IsRedirect ¶
func (o *UpdateFolderOK) IsRedirect() bool
IsRedirect returns true when this update folder Ok response has a 3xx status code
func (*UpdateFolderOK) IsServerError ¶
func (o *UpdateFolderOK) IsServerError() bool
IsServerError returns true when this update folder Ok response has a 5xx status code
func (*UpdateFolderOK) IsSuccess ¶
func (o *UpdateFolderOK) IsSuccess() bool
IsSuccess returns true when this update folder Ok response has a 2xx status code
func (*UpdateFolderOK) String ¶
func (o *UpdateFolderOK) String() string
type UpdateFolderParams ¶
type UpdateFolderParams struct { /* Body. To change the unique identifier (uid), provide another one. To overwrite an existing folder with newer version, set `overwrite` to `true`. Provide the current version to safelly update the folder: if the provided version differs from the stored one the request will fail, unless `overwrite` is `true`. */ Body *models.UpdateFolderCommand // FolderUID. FolderUID 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.UpdateFolderCommand)
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) SetFolderUID ¶
func (o *UpdateFolderParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid 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.UpdateFolderCommand) *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) WithFolderUID ¶
func (o *UpdateFolderParams) WithFolderUID(folderUID string) *UpdateFolderParams
WithFolderUID adds the folderUID 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 UpdateFolderUnauthorized ¶
type UpdateFolderUnauthorized struct {
}UpdateFolderUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateFolderUnauthorized ¶
func NewUpdateFolderUnauthorized() *UpdateFolderUnauthorized
NewUpdateFolderUnauthorized creates a UpdateFolderUnauthorized with default headers values
func (*UpdateFolderUnauthorized) Code ¶
func (o *UpdateFolderUnauthorized) Code() int
Code gets the status code for the update folder unauthorized response
func (*UpdateFolderUnauthorized) Error ¶
func (o *UpdateFolderUnauthorized) Error() string
func (*UpdateFolderUnauthorized) GetPayload ¶
func (o *UpdateFolderUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateFolderUnauthorized) IsClientError ¶
func (o *UpdateFolderUnauthorized) IsClientError() bool
IsClientError returns true when this update folder unauthorized response has a 4xx status code
func (*UpdateFolderUnauthorized) IsCode ¶
func (o *UpdateFolderUnauthorized) IsCode(code int) bool
IsCode returns true when this update folder unauthorized response a status code equal to that given
func (*UpdateFolderUnauthorized) IsRedirect ¶
func (o *UpdateFolderUnauthorized) IsRedirect() bool
IsRedirect returns true when this update folder unauthorized response has a 3xx status code
func (*UpdateFolderUnauthorized) IsServerError ¶
func (o *UpdateFolderUnauthorized) IsServerError() bool
IsServerError returns true when this update folder unauthorized response has a 5xx status code
func (*UpdateFolderUnauthorized) IsSuccess ¶
func (o *UpdateFolderUnauthorized) IsSuccess() bool
IsSuccess returns true when this update folder unauthorized response has a 2xx status code
func (*UpdateFolderUnauthorized) String ¶
func (o *UpdateFolderUnauthorized) String() string
Source Files ¶
- create_folder_parameters.go
- create_folder_responses.go
- delete_folder_parameters.go
- delete_folder_responses.go
- folders_client.go
- get_folder_by_id_parameters.go
- get_folder_by_id_responses.go
- get_folder_by_uid_parameters.go
- get_folder_by_uid_responses.go
- get_folder_descendant_counts_parameters.go
- get_folder_descendant_counts_responses.go
- get_folders_parameters.go
- get_folders_responses.go
- move_folder_parameters.go
- move_folder_responses.go
- update_folder_parameters.go
- update_folder_responses.go