Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSearch(params *CreateSearchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSearchOK, *CreateSearchNoContent, error)
- func (a *Client) DeleteSearch(params *DeleteSearchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSearchOK, *DeleteSearchNoContent, error)
- func (a *Client) GetSearch(params *GetSearchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSearchOK, *GetSearchNoContent, error)
- func (a *Client) ListSearchNames(params *ListSearchNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSearchNamesOK, *ListSearchNamesNoContent, error)
- func (a *Client) ListSearches(params *ListSearchesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSearchesOK, *ListSearchesNoContent, error)
- func (a *Client) PatchSearch(params *PatchSearchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchSearchOK, *PatchSearchNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSearch(params *UpdateSearchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSearchOK, *UpdateSearchNoContent, error)
- type ClientOption
- type ClientService
- type CreateSearchDefault
- func (o *CreateSearchDefault) Code() int
- func (o *CreateSearchDefault) Error() string
- func (o *CreateSearchDefault) GetPayload() *service_model.RuntimeError
- func (o *CreateSearchDefault) IsClientError() bool
- func (o *CreateSearchDefault) IsCode(code int) bool
- func (o *CreateSearchDefault) IsRedirect() bool
- func (o *CreateSearchDefault) IsServerError() bool
- func (o *CreateSearchDefault) IsSuccess() bool
- func (o *CreateSearchDefault) String() string
- type CreateSearchForbidden
- func (o *CreateSearchForbidden) Code() int
- func (o *CreateSearchForbidden) Error() string
- func (o *CreateSearchForbidden) GetPayload() interface{}
- func (o *CreateSearchForbidden) IsClientError() bool
- func (o *CreateSearchForbidden) IsCode(code int) bool
- func (o *CreateSearchForbidden) IsRedirect() bool
- func (o *CreateSearchForbidden) IsServerError() bool
- func (o *CreateSearchForbidden) IsSuccess() bool
- func (o *CreateSearchForbidden) String() string
- type CreateSearchNoContent
- func (o *CreateSearchNoContent) Code() int
- func (o *CreateSearchNoContent) Error() string
- func (o *CreateSearchNoContent) GetPayload() interface{}
- func (o *CreateSearchNoContent) IsClientError() bool
- func (o *CreateSearchNoContent) IsCode(code int) bool
- func (o *CreateSearchNoContent) IsRedirect() bool
- func (o *CreateSearchNoContent) IsServerError() bool
- func (o *CreateSearchNoContent) IsSuccess() bool
- func (o *CreateSearchNoContent) String() string
- type CreateSearchNotFound
- func (o *CreateSearchNotFound) Code() int
- func (o *CreateSearchNotFound) Error() string
- func (o *CreateSearchNotFound) GetPayload() interface{}
- func (o *CreateSearchNotFound) IsClientError() bool
- func (o *CreateSearchNotFound) IsCode(code int) bool
- func (o *CreateSearchNotFound) IsRedirect() bool
- func (o *CreateSearchNotFound) IsServerError() bool
- func (o *CreateSearchNotFound) IsSuccess() bool
- func (o *CreateSearchNotFound) String() string
- type CreateSearchOK
- func (o *CreateSearchOK) Code() int
- func (o *CreateSearchOK) Error() string
- func (o *CreateSearchOK) GetPayload() *service_model.V1Search
- func (o *CreateSearchOK) IsClientError() bool
- func (o *CreateSearchOK) IsCode(code int) bool
- func (o *CreateSearchOK) IsRedirect() bool
- func (o *CreateSearchOK) IsServerError() bool
- func (o *CreateSearchOK) IsSuccess() bool
- func (o *CreateSearchOK) String() string
- type CreateSearchParams
- func (o *CreateSearchParams) SetBody(body *service_model.V1Search)
- func (o *CreateSearchParams) SetContext(ctx context.Context)
- func (o *CreateSearchParams) SetDefaults()
- func (o *CreateSearchParams) SetHTTPClient(client *http.Client)
- func (o *CreateSearchParams) SetOwner(owner string)
- func (o *CreateSearchParams) SetTimeout(timeout time.Duration)
- func (o *CreateSearchParams) WithBody(body *service_model.V1Search) *CreateSearchParams
- func (o *CreateSearchParams) WithContext(ctx context.Context) *CreateSearchParams
- func (o *CreateSearchParams) WithDefaults() *CreateSearchParams
- func (o *CreateSearchParams) WithHTTPClient(client *http.Client) *CreateSearchParams
- func (o *CreateSearchParams) WithOwner(owner string) *CreateSearchParams
- func (o *CreateSearchParams) WithTimeout(timeout time.Duration) *CreateSearchParams
- func (o *CreateSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSearchReader
- type DeleteSearchDefault
- func (o *DeleteSearchDefault) Code() int
- func (o *DeleteSearchDefault) Error() string
- func (o *DeleteSearchDefault) GetPayload() *service_model.RuntimeError
- func (o *DeleteSearchDefault) IsClientError() bool
- func (o *DeleteSearchDefault) IsCode(code int) bool
- func (o *DeleteSearchDefault) IsRedirect() bool
- func (o *DeleteSearchDefault) IsServerError() bool
- func (o *DeleteSearchDefault) IsSuccess() bool
- func (o *DeleteSearchDefault) String() string
- type DeleteSearchForbidden
- func (o *DeleteSearchForbidden) Code() int
- func (o *DeleteSearchForbidden) Error() string
- func (o *DeleteSearchForbidden) GetPayload() interface{}
- func (o *DeleteSearchForbidden) IsClientError() bool
- func (o *DeleteSearchForbidden) IsCode(code int) bool
- func (o *DeleteSearchForbidden) IsRedirect() bool
- func (o *DeleteSearchForbidden) IsServerError() bool
- func (o *DeleteSearchForbidden) IsSuccess() bool
- func (o *DeleteSearchForbidden) String() string
- type DeleteSearchNoContent
- func (o *DeleteSearchNoContent) Code() int
- func (o *DeleteSearchNoContent) Error() string
- func (o *DeleteSearchNoContent) GetPayload() interface{}
- func (o *DeleteSearchNoContent) IsClientError() bool
- func (o *DeleteSearchNoContent) IsCode(code int) bool
- func (o *DeleteSearchNoContent) IsRedirect() bool
- func (o *DeleteSearchNoContent) IsServerError() bool
- func (o *DeleteSearchNoContent) IsSuccess() bool
- func (o *DeleteSearchNoContent) String() string
- type DeleteSearchNotFound
- func (o *DeleteSearchNotFound) Code() int
- func (o *DeleteSearchNotFound) Error() string
- func (o *DeleteSearchNotFound) GetPayload() interface{}
- func (o *DeleteSearchNotFound) IsClientError() bool
- func (o *DeleteSearchNotFound) IsCode(code int) bool
- func (o *DeleteSearchNotFound) IsRedirect() bool
- func (o *DeleteSearchNotFound) IsServerError() bool
- func (o *DeleteSearchNotFound) IsSuccess() bool
- func (o *DeleteSearchNotFound) String() string
- type DeleteSearchOK
- func (o *DeleteSearchOK) Code() int
- func (o *DeleteSearchOK) Error() string
- func (o *DeleteSearchOK) IsClientError() bool
- func (o *DeleteSearchOK) IsCode(code int) bool
- func (o *DeleteSearchOK) IsRedirect() bool
- func (o *DeleteSearchOK) IsServerError() bool
- func (o *DeleteSearchOK) IsSuccess() bool
- func (o *DeleteSearchOK) String() string
- type DeleteSearchParams
- func (o *DeleteSearchParams) SetContext(ctx context.Context)
- func (o *DeleteSearchParams) SetDefaults()
- func (o *DeleteSearchParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSearchParams) SetOwner(owner string)
- func (o *DeleteSearchParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSearchParams) SetUUID(uuid string)
- func (o *DeleteSearchParams) WithContext(ctx context.Context) *DeleteSearchParams
- func (o *DeleteSearchParams) WithDefaults() *DeleteSearchParams
- func (o *DeleteSearchParams) WithHTTPClient(client *http.Client) *DeleteSearchParams
- func (o *DeleteSearchParams) WithOwner(owner string) *DeleteSearchParams
- func (o *DeleteSearchParams) WithTimeout(timeout time.Duration) *DeleteSearchParams
- func (o *DeleteSearchParams) WithUUID(uuid string) *DeleteSearchParams
- func (o *DeleteSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSearchReader
- type GetSearchDefault
- func (o *GetSearchDefault) Code() int
- func (o *GetSearchDefault) Error() string
- func (o *GetSearchDefault) GetPayload() *service_model.RuntimeError
- func (o *GetSearchDefault) IsClientError() bool
- func (o *GetSearchDefault) IsCode(code int) bool
- func (o *GetSearchDefault) IsRedirect() bool
- func (o *GetSearchDefault) IsServerError() bool
- func (o *GetSearchDefault) IsSuccess() bool
- func (o *GetSearchDefault) String() string
- type GetSearchForbidden
- func (o *GetSearchForbidden) Code() int
- func (o *GetSearchForbidden) Error() string
- func (o *GetSearchForbidden) GetPayload() interface{}
- func (o *GetSearchForbidden) IsClientError() bool
- func (o *GetSearchForbidden) IsCode(code int) bool
- func (o *GetSearchForbidden) IsRedirect() bool
- func (o *GetSearchForbidden) IsServerError() bool
- func (o *GetSearchForbidden) IsSuccess() bool
- func (o *GetSearchForbidden) String() string
- type GetSearchNoContent
- func (o *GetSearchNoContent) Code() int
- func (o *GetSearchNoContent) Error() string
- func (o *GetSearchNoContent) GetPayload() interface{}
- func (o *GetSearchNoContent) IsClientError() bool
- func (o *GetSearchNoContent) IsCode(code int) bool
- func (o *GetSearchNoContent) IsRedirect() bool
- func (o *GetSearchNoContent) IsServerError() bool
- func (o *GetSearchNoContent) IsSuccess() bool
- func (o *GetSearchNoContent) String() string
- type GetSearchNotFound
- func (o *GetSearchNotFound) Code() int
- func (o *GetSearchNotFound) Error() string
- func (o *GetSearchNotFound) GetPayload() interface{}
- func (o *GetSearchNotFound) IsClientError() bool
- func (o *GetSearchNotFound) IsCode(code int) bool
- func (o *GetSearchNotFound) IsRedirect() bool
- func (o *GetSearchNotFound) IsServerError() bool
- func (o *GetSearchNotFound) IsSuccess() bool
- func (o *GetSearchNotFound) String() string
- type GetSearchOK
- func (o *GetSearchOK) Code() int
- func (o *GetSearchOK) Error() string
- func (o *GetSearchOK) GetPayload() *service_model.V1Search
- func (o *GetSearchOK) IsClientError() bool
- func (o *GetSearchOK) IsCode(code int) bool
- func (o *GetSearchOK) IsRedirect() bool
- func (o *GetSearchOK) IsServerError() bool
- func (o *GetSearchOK) IsSuccess() bool
- func (o *GetSearchOK) String() string
- type GetSearchParams
- func (o *GetSearchParams) SetContext(ctx context.Context)
- func (o *GetSearchParams) SetDefaults()
- func (o *GetSearchParams) SetHTTPClient(client *http.Client)
- func (o *GetSearchParams) SetOwner(owner string)
- func (o *GetSearchParams) SetTimeout(timeout time.Duration)
- func (o *GetSearchParams) SetUUID(uuid string)
- func (o *GetSearchParams) WithContext(ctx context.Context) *GetSearchParams
- func (o *GetSearchParams) WithDefaults() *GetSearchParams
- func (o *GetSearchParams) WithHTTPClient(client *http.Client) *GetSearchParams
- func (o *GetSearchParams) WithOwner(owner string) *GetSearchParams
- func (o *GetSearchParams) WithTimeout(timeout time.Duration) *GetSearchParams
- func (o *GetSearchParams) WithUUID(uuid string) *GetSearchParams
- func (o *GetSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSearchReader
- type ListSearchNamesDefault
- func (o *ListSearchNamesDefault) Code() int
- func (o *ListSearchNamesDefault) Error() string
- func (o *ListSearchNamesDefault) GetPayload() *service_model.RuntimeError
- func (o *ListSearchNamesDefault) IsClientError() bool
- func (o *ListSearchNamesDefault) IsCode(code int) bool
- func (o *ListSearchNamesDefault) IsRedirect() bool
- func (o *ListSearchNamesDefault) IsServerError() bool
- func (o *ListSearchNamesDefault) IsSuccess() bool
- func (o *ListSearchNamesDefault) String() string
- type ListSearchNamesForbidden
- func (o *ListSearchNamesForbidden) Code() int
- func (o *ListSearchNamesForbidden) Error() string
- func (o *ListSearchNamesForbidden) GetPayload() interface{}
- func (o *ListSearchNamesForbidden) IsClientError() bool
- func (o *ListSearchNamesForbidden) IsCode(code int) bool
- func (o *ListSearchNamesForbidden) IsRedirect() bool
- func (o *ListSearchNamesForbidden) IsServerError() bool
- func (o *ListSearchNamesForbidden) IsSuccess() bool
- func (o *ListSearchNamesForbidden) String() string
- type ListSearchNamesNoContent
- func (o *ListSearchNamesNoContent) Code() int
- func (o *ListSearchNamesNoContent) Error() string
- func (o *ListSearchNamesNoContent) GetPayload() interface{}
- func (o *ListSearchNamesNoContent) IsClientError() bool
- func (o *ListSearchNamesNoContent) IsCode(code int) bool
- func (o *ListSearchNamesNoContent) IsRedirect() bool
- func (o *ListSearchNamesNoContent) IsServerError() bool
- func (o *ListSearchNamesNoContent) IsSuccess() bool
- func (o *ListSearchNamesNoContent) String() string
- type ListSearchNamesNotFound
- func (o *ListSearchNamesNotFound) Code() int
- func (o *ListSearchNamesNotFound) Error() string
- func (o *ListSearchNamesNotFound) GetPayload() interface{}
- func (o *ListSearchNamesNotFound) IsClientError() bool
- func (o *ListSearchNamesNotFound) IsCode(code int) bool
- func (o *ListSearchNamesNotFound) IsRedirect() bool
- func (o *ListSearchNamesNotFound) IsServerError() bool
- func (o *ListSearchNamesNotFound) IsSuccess() bool
- func (o *ListSearchNamesNotFound) String() string
- type ListSearchNamesOK
- func (o *ListSearchNamesOK) Code() int
- func (o *ListSearchNamesOK) Error() string
- func (o *ListSearchNamesOK) GetPayload() *service_model.V1ListSearchesResponse
- func (o *ListSearchNamesOK) IsClientError() bool
- func (o *ListSearchNamesOK) IsCode(code int) bool
- func (o *ListSearchNamesOK) IsRedirect() bool
- func (o *ListSearchNamesOK) IsServerError() bool
- func (o *ListSearchNamesOK) IsSuccess() bool
- func (o *ListSearchNamesOK) String() string
- type ListSearchNamesParams
- func NewListSearchNamesParams() *ListSearchNamesParams
- func NewListSearchNamesParamsWithContext(ctx context.Context) *ListSearchNamesParams
- func NewListSearchNamesParamsWithHTTPClient(client *http.Client) *ListSearchNamesParams
- func NewListSearchNamesParamsWithTimeout(timeout time.Duration) *ListSearchNamesParams
- func (o *ListSearchNamesParams) SetBookmarks(bookmarks *bool)
- func (o *ListSearchNamesParams) SetContext(ctx context.Context)
- func (o *ListSearchNamesParams) SetDefaults()
- func (o *ListSearchNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListSearchNamesParams) SetLimit(limit *int32)
- func (o *ListSearchNamesParams) SetMode(mode *string)
- func (o *ListSearchNamesParams) SetNoPage(noPage *bool)
- func (o *ListSearchNamesParams) SetOffset(offset *int32)
- func (o *ListSearchNamesParams) SetOwner(owner string)
- func (o *ListSearchNamesParams) SetQuery(query *string)
- func (o *ListSearchNamesParams) SetSort(sort *string)
- func (o *ListSearchNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListSearchNamesParams) WithBookmarks(bookmarks *bool) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithContext(ctx context.Context) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithDefaults() *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithHTTPClient(client *http.Client) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithLimit(limit *int32) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithMode(mode *string) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithNoPage(noPage *bool) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithOffset(offset *int32) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithOwner(owner string) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithQuery(query *string) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithSort(sort *string) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WithTimeout(timeout time.Duration) *ListSearchNamesParams
- func (o *ListSearchNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSearchNamesReader
- type ListSearchesDefault
- func (o *ListSearchesDefault) Code() int
- func (o *ListSearchesDefault) Error() string
- func (o *ListSearchesDefault) GetPayload() *service_model.RuntimeError
- func (o *ListSearchesDefault) IsClientError() bool
- func (o *ListSearchesDefault) IsCode(code int) bool
- func (o *ListSearchesDefault) IsRedirect() bool
- func (o *ListSearchesDefault) IsServerError() bool
- func (o *ListSearchesDefault) IsSuccess() bool
- func (o *ListSearchesDefault) String() string
- type ListSearchesForbidden
- func (o *ListSearchesForbidden) Code() int
- func (o *ListSearchesForbidden) Error() string
- func (o *ListSearchesForbidden) GetPayload() interface{}
- func (o *ListSearchesForbidden) IsClientError() bool
- func (o *ListSearchesForbidden) IsCode(code int) bool
- func (o *ListSearchesForbidden) IsRedirect() bool
- func (o *ListSearchesForbidden) IsServerError() bool
- func (o *ListSearchesForbidden) IsSuccess() bool
- func (o *ListSearchesForbidden) String() string
- type ListSearchesNoContent
- func (o *ListSearchesNoContent) Code() int
- func (o *ListSearchesNoContent) Error() string
- func (o *ListSearchesNoContent) GetPayload() interface{}
- func (o *ListSearchesNoContent) IsClientError() bool
- func (o *ListSearchesNoContent) IsCode(code int) bool
- func (o *ListSearchesNoContent) IsRedirect() bool
- func (o *ListSearchesNoContent) IsServerError() bool
- func (o *ListSearchesNoContent) IsSuccess() bool
- func (o *ListSearchesNoContent) String() string
- type ListSearchesNotFound
- func (o *ListSearchesNotFound) Code() int
- func (o *ListSearchesNotFound) Error() string
- func (o *ListSearchesNotFound) GetPayload() interface{}
- func (o *ListSearchesNotFound) IsClientError() bool
- func (o *ListSearchesNotFound) IsCode(code int) bool
- func (o *ListSearchesNotFound) IsRedirect() bool
- func (o *ListSearchesNotFound) IsServerError() bool
- func (o *ListSearchesNotFound) IsSuccess() bool
- func (o *ListSearchesNotFound) String() string
- type ListSearchesOK
- func (o *ListSearchesOK) Code() int
- func (o *ListSearchesOK) Error() string
- func (o *ListSearchesOK) GetPayload() *service_model.V1ListSearchesResponse
- func (o *ListSearchesOK) IsClientError() bool
- func (o *ListSearchesOK) IsCode(code int) bool
- func (o *ListSearchesOK) IsRedirect() bool
- func (o *ListSearchesOK) IsServerError() bool
- func (o *ListSearchesOK) IsSuccess() bool
- func (o *ListSearchesOK) String() string
- type ListSearchesParams
- func (o *ListSearchesParams) SetBookmarks(bookmarks *bool)
- func (o *ListSearchesParams) SetContext(ctx context.Context)
- func (o *ListSearchesParams) SetDefaults()
- func (o *ListSearchesParams) SetHTTPClient(client *http.Client)
- func (o *ListSearchesParams) SetLimit(limit *int32)
- func (o *ListSearchesParams) SetMode(mode *string)
- func (o *ListSearchesParams) SetNoPage(noPage *bool)
- func (o *ListSearchesParams) SetOffset(offset *int32)
- func (o *ListSearchesParams) SetOwner(owner string)
- func (o *ListSearchesParams) SetQuery(query *string)
- func (o *ListSearchesParams) SetSort(sort *string)
- func (o *ListSearchesParams) SetTimeout(timeout time.Duration)
- func (o *ListSearchesParams) WithBookmarks(bookmarks *bool) *ListSearchesParams
- func (o *ListSearchesParams) WithContext(ctx context.Context) *ListSearchesParams
- func (o *ListSearchesParams) WithDefaults() *ListSearchesParams
- func (o *ListSearchesParams) WithHTTPClient(client *http.Client) *ListSearchesParams
- func (o *ListSearchesParams) WithLimit(limit *int32) *ListSearchesParams
- func (o *ListSearchesParams) WithMode(mode *string) *ListSearchesParams
- func (o *ListSearchesParams) WithNoPage(noPage *bool) *ListSearchesParams
- func (o *ListSearchesParams) WithOffset(offset *int32) *ListSearchesParams
- func (o *ListSearchesParams) WithOwner(owner string) *ListSearchesParams
- func (o *ListSearchesParams) WithQuery(query *string) *ListSearchesParams
- func (o *ListSearchesParams) WithSort(sort *string) *ListSearchesParams
- func (o *ListSearchesParams) WithTimeout(timeout time.Duration) *ListSearchesParams
- func (o *ListSearchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSearchesReader
- type PatchSearchDefault
- func (o *PatchSearchDefault) Code() int
- func (o *PatchSearchDefault) Error() string
- func (o *PatchSearchDefault) GetPayload() *service_model.RuntimeError
- func (o *PatchSearchDefault) IsClientError() bool
- func (o *PatchSearchDefault) IsCode(code int) bool
- func (o *PatchSearchDefault) IsRedirect() bool
- func (o *PatchSearchDefault) IsServerError() bool
- func (o *PatchSearchDefault) IsSuccess() bool
- func (o *PatchSearchDefault) String() string
- type PatchSearchForbidden
- func (o *PatchSearchForbidden) Code() int
- func (o *PatchSearchForbidden) Error() string
- func (o *PatchSearchForbidden) GetPayload() interface{}
- func (o *PatchSearchForbidden) IsClientError() bool
- func (o *PatchSearchForbidden) IsCode(code int) bool
- func (o *PatchSearchForbidden) IsRedirect() bool
- func (o *PatchSearchForbidden) IsServerError() bool
- func (o *PatchSearchForbidden) IsSuccess() bool
- func (o *PatchSearchForbidden) String() string
- type PatchSearchNoContent
- func (o *PatchSearchNoContent) Code() int
- func (o *PatchSearchNoContent) Error() string
- func (o *PatchSearchNoContent) GetPayload() interface{}
- func (o *PatchSearchNoContent) IsClientError() bool
- func (o *PatchSearchNoContent) IsCode(code int) bool
- func (o *PatchSearchNoContent) IsRedirect() bool
- func (o *PatchSearchNoContent) IsServerError() bool
- func (o *PatchSearchNoContent) IsSuccess() bool
- func (o *PatchSearchNoContent) String() string
- type PatchSearchNotFound
- func (o *PatchSearchNotFound) Code() int
- func (o *PatchSearchNotFound) Error() string
- func (o *PatchSearchNotFound) GetPayload() interface{}
- func (o *PatchSearchNotFound) IsClientError() bool
- func (o *PatchSearchNotFound) IsCode(code int) bool
- func (o *PatchSearchNotFound) IsRedirect() bool
- func (o *PatchSearchNotFound) IsServerError() bool
- func (o *PatchSearchNotFound) IsSuccess() bool
- func (o *PatchSearchNotFound) String() string
- type PatchSearchOK
- func (o *PatchSearchOK) Code() int
- func (o *PatchSearchOK) Error() string
- func (o *PatchSearchOK) GetPayload() *service_model.V1Search
- func (o *PatchSearchOK) IsClientError() bool
- func (o *PatchSearchOK) IsCode(code int) bool
- func (o *PatchSearchOK) IsRedirect() bool
- func (o *PatchSearchOK) IsServerError() bool
- func (o *PatchSearchOK) IsSuccess() bool
- func (o *PatchSearchOK) String() string
- type PatchSearchParams
- func (o *PatchSearchParams) SetBody(body *service_model.V1Search)
- func (o *PatchSearchParams) SetContext(ctx context.Context)
- func (o *PatchSearchParams) SetDefaults()
- func (o *PatchSearchParams) SetHTTPClient(client *http.Client)
- func (o *PatchSearchParams) SetOwner(owner string)
- func (o *PatchSearchParams) SetSearchUUID(searchUUID string)
- func (o *PatchSearchParams) SetTimeout(timeout time.Duration)
- func (o *PatchSearchParams) WithBody(body *service_model.V1Search) *PatchSearchParams
- func (o *PatchSearchParams) WithContext(ctx context.Context) *PatchSearchParams
- func (o *PatchSearchParams) WithDefaults() *PatchSearchParams
- func (o *PatchSearchParams) WithHTTPClient(client *http.Client) *PatchSearchParams
- func (o *PatchSearchParams) WithOwner(owner string) *PatchSearchParams
- func (o *PatchSearchParams) WithSearchUUID(searchUUID string) *PatchSearchParams
- func (o *PatchSearchParams) WithTimeout(timeout time.Duration) *PatchSearchParams
- func (o *PatchSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchSearchReader
- type UpdateSearchDefault
- func (o *UpdateSearchDefault) Code() int
- func (o *UpdateSearchDefault) Error() string
- func (o *UpdateSearchDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdateSearchDefault) IsClientError() bool
- func (o *UpdateSearchDefault) IsCode(code int) bool
- func (o *UpdateSearchDefault) IsRedirect() bool
- func (o *UpdateSearchDefault) IsServerError() bool
- func (o *UpdateSearchDefault) IsSuccess() bool
- func (o *UpdateSearchDefault) String() string
- type UpdateSearchForbidden
- func (o *UpdateSearchForbidden) Code() int
- func (o *UpdateSearchForbidden) Error() string
- func (o *UpdateSearchForbidden) GetPayload() interface{}
- func (o *UpdateSearchForbidden) IsClientError() bool
- func (o *UpdateSearchForbidden) IsCode(code int) bool
- func (o *UpdateSearchForbidden) IsRedirect() bool
- func (o *UpdateSearchForbidden) IsServerError() bool
- func (o *UpdateSearchForbidden) IsSuccess() bool
- func (o *UpdateSearchForbidden) String() string
- type UpdateSearchNoContent
- func (o *UpdateSearchNoContent) Code() int
- func (o *UpdateSearchNoContent) Error() string
- func (o *UpdateSearchNoContent) GetPayload() interface{}
- func (o *UpdateSearchNoContent) IsClientError() bool
- func (o *UpdateSearchNoContent) IsCode(code int) bool
- func (o *UpdateSearchNoContent) IsRedirect() bool
- func (o *UpdateSearchNoContent) IsServerError() bool
- func (o *UpdateSearchNoContent) IsSuccess() bool
- func (o *UpdateSearchNoContent) String() string
- type UpdateSearchNotFound
- func (o *UpdateSearchNotFound) Code() int
- func (o *UpdateSearchNotFound) Error() string
- func (o *UpdateSearchNotFound) GetPayload() interface{}
- func (o *UpdateSearchNotFound) IsClientError() bool
- func (o *UpdateSearchNotFound) IsCode(code int) bool
- func (o *UpdateSearchNotFound) IsRedirect() bool
- func (o *UpdateSearchNotFound) IsServerError() bool
- func (o *UpdateSearchNotFound) IsSuccess() bool
- func (o *UpdateSearchNotFound) String() string
- type UpdateSearchOK
- func (o *UpdateSearchOK) Code() int
- func (o *UpdateSearchOK) Error() string
- func (o *UpdateSearchOK) GetPayload() *service_model.V1Search
- func (o *UpdateSearchOK) IsClientError() bool
- func (o *UpdateSearchOK) IsCode(code int) bool
- func (o *UpdateSearchOK) IsRedirect() bool
- func (o *UpdateSearchOK) IsServerError() bool
- func (o *UpdateSearchOK) IsSuccess() bool
- func (o *UpdateSearchOK) String() string
- type UpdateSearchParams
- func (o *UpdateSearchParams) SetBody(body *service_model.V1Search)
- func (o *UpdateSearchParams) SetContext(ctx context.Context)
- func (o *UpdateSearchParams) SetDefaults()
- func (o *UpdateSearchParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSearchParams) SetOwner(owner string)
- func (o *UpdateSearchParams) SetSearchUUID(searchUUID string)
- func (o *UpdateSearchParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSearchParams) WithBody(body *service_model.V1Search) *UpdateSearchParams
- func (o *UpdateSearchParams) WithContext(ctx context.Context) *UpdateSearchParams
- func (o *UpdateSearchParams) WithDefaults() *UpdateSearchParams
- func (o *UpdateSearchParams) WithHTTPClient(client *http.Client) *UpdateSearchParams
- func (o *UpdateSearchParams) WithOwner(owner string) *UpdateSearchParams
- func (o *UpdateSearchParams) WithSearchUUID(searchUUID string) *UpdateSearchParams
- func (o *UpdateSearchParams) WithTimeout(timeout time.Duration) *UpdateSearchParams
- func (o *UpdateSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSearchReader
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 searches v1 API
func (*Client) CreateSearch ¶
func (a *Client) CreateSearch(params *CreateSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSearchOK, *CreateSearchNoContent, error)
CreateSearch creates search
func (*Client) DeleteSearch ¶
func (a *Client) DeleteSearch(params *DeleteSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSearchOK, *DeleteSearchNoContent, error)
DeleteSearch deletes search
func (*Client) GetSearch ¶
func (a *Client) GetSearch(params *GetSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSearchOK, *GetSearchNoContent, error)
GetSearch gets search
func (*Client) ListSearchNames ¶
func (a *Client) ListSearchNames(params *ListSearchNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSearchNamesOK, *ListSearchNamesNoContent, error)
ListSearchNames lists search names
func (*Client) ListSearches ¶
func (a *Client) ListSearches(params *ListSearchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSearchesOK, *ListSearchesNoContent, error)
ListSearches lists searches
func (*Client) PatchSearch ¶
func (a *Client) PatchSearch(params *PatchSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSearchOK, *PatchSearchNoContent, error)
PatchSearch patches search
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSearch ¶
func (a *Client) UpdateSearch(params *UpdateSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSearchOK, *UpdateSearchNoContent, error)
UpdateSearch updates search
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSearch(params *CreateSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSearchOK, *CreateSearchNoContent, error) DeleteSearch(params *DeleteSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSearchOK, *DeleteSearchNoContent, error) GetSearch(params *GetSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSearchOK, *GetSearchNoContent, error) ListSearchNames(params *ListSearchNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSearchNamesOK, *ListSearchNamesNoContent, error) ListSearches(params *ListSearchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSearchesOK, *ListSearchesNoContent, error) PatchSearch(params *PatchSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSearchOK, *PatchSearchNoContent, error) UpdateSearch(params *UpdateSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSearchOK, *UpdateSearchNoContent, 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 searches v1 API client.
type CreateSearchDefault ¶
type CreateSearchDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
CreateSearchDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateSearchDefault ¶
func NewCreateSearchDefault(code int) *CreateSearchDefault
NewCreateSearchDefault creates a CreateSearchDefault with default headers values
func (*CreateSearchDefault) Code ¶
func (o *CreateSearchDefault) Code() int
Code gets the status code for the create search default response
func (*CreateSearchDefault) Error ¶
func (o *CreateSearchDefault) Error() string
func (*CreateSearchDefault) GetPayload ¶
func (o *CreateSearchDefault) GetPayload() *service_model.RuntimeError
func (*CreateSearchDefault) IsClientError ¶ added in v1.21.0
func (o *CreateSearchDefault) IsClientError() bool
IsClientError returns true when this create search default response has a 4xx status code
func (*CreateSearchDefault) IsCode ¶ added in v1.21.0
func (o *CreateSearchDefault) IsCode(code int) bool
IsCode returns true when this create search default response a status code equal to that given
func (*CreateSearchDefault) IsRedirect ¶ added in v1.21.0
func (o *CreateSearchDefault) IsRedirect() bool
IsRedirect returns true when this create search default response has a 3xx status code
func (*CreateSearchDefault) IsServerError ¶ added in v1.21.0
func (o *CreateSearchDefault) IsServerError() bool
IsServerError returns true when this create search default response has a 5xx status code
func (*CreateSearchDefault) IsSuccess ¶ added in v1.21.0
func (o *CreateSearchDefault) IsSuccess() bool
IsSuccess returns true when this create search default response has a 2xx status code
func (*CreateSearchDefault) String ¶ added in v1.21.0
func (o *CreateSearchDefault) String() string
type CreateSearchForbidden ¶
type CreateSearchForbidden struct {
Payload interface{}
}
CreateSearchForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewCreateSearchForbidden ¶
func NewCreateSearchForbidden() *CreateSearchForbidden
NewCreateSearchForbidden creates a CreateSearchForbidden with default headers values
func (*CreateSearchForbidden) Code ¶ added in v1.22.0
func (o *CreateSearchForbidden) Code() int
Code gets the status code for the create search forbidden response
func (*CreateSearchForbidden) Error ¶
func (o *CreateSearchForbidden) Error() string
func (*CreateSearchForbidden) GetPayload ¶
func (o *CreateSearchForbidden) GetPayload() interface{}
func (*CreateSearchForbidden) IsClientError ¶ added in v1.21.0
func (o *CreateSearchForbidden) IsClientError() bool
IsClientError returns true when this create search forbidden response has a 4xx status code
func (*CreateSearchForbidden) IsCode ¶ added in v1.21.0
func (o *CreateSearchForbidden) IsCode(code int) bool
IsCode returns true when this create search forbidden response a status code equal to that given
func (*CreateSearchForbidden) IsRedirect ¶ added in v1.21.0
func (o *CreateSearchForbidden) IsRedirect() bool
IsRedirect returns true when this create search forbidden response has a 3xx status code
func (*CreateSearchForbidden) IsServerError ¶ added in v1.21.0
func (o *CreateSearchForbidden) IsServerError() bool
IsServerError returns true when this create search forbidden response has a 5xx status code
func (*CreateSearchForbidden) IsSuccess ¶ added in v1.21.0
func (o *CreateSearchForbidden) IsSuccess() bool
IsSuccess returns true when this create search forbidden response has a 2xx status code
func (*CreateSearchForbidden) String ¶ added in v1.21.0
func (o *CreateSearchForbidden) String() string
type CreateSearchNoContent ¶
type CreateSearchNoContent struct {
Payload interface{}
}
CreateSearchNoContent describes a response with status code 204, with default header values.
No content.
func NewCreateSearchNoContent ¶
func NewCreateSearchNoContent() *CreateSearchNoContent
NewCreateSearchNoContent creates a CreateSearchNoContent with default headers values
func (*CreateSearchNoContent) Code ¶ added in v1.22.0
func (o *CreateSearchNoContent) Code() int
Code gets the status code for the create search no content response
func (*CreateSearchNoContent) Error ¶
func (o *CreateSearchNoContent) Error() string
func (*CreateSearchNoContent) GetPayload ¶
func (o *CreateSearchNoContent) GetPayload() interface{}
func (*CreateSearchNoContent) IsClientError ¶ added in v1.21.0
func (o *CreateSearchNoContent) IsClientError() bool
IsClientError returns true when this create search no content response has a 4xx status code
func (*CreateSearchNoContent) IsCode ¶ added in v1.21.0
func (o *CreateSearchNoContent) IsCode(code int) bool
IsCode returns true when this create search no content response a status code equal to that given
func (*CreateSearchNoContent) IsRedirect ¶ added in v1.21.0
func (o *CreateSearchNoContent) IsRedirect() bool
IsRedirect returns true when this create search no content response has a 3xx status code
func (*CreateSearchNoContent) IsServerError ¶ added in v1.21.0
func (o *CreateSearchNoContent) IsServerError() bool
IsServerError returns true when this create search no content response has a 5xx status code
func (*CreateSearchNoContent) IsSuccess ¶ added in v1.21.0
func (o *CreateSearchNoContent) IsSuccess() bool
IsSuccess returns true when this create search no content response has a 2xx status code
func (*CreateSearchNoContent) String ¶ added in v1.21.0
func (o *CreateSearchNoContent) String() string
type CreateSearchNotFound ¶
type CreateSearchNotFound struct {
Payload interface{}
}
CreateSearchNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewCreateSearchNotFound ¶
func NewCreateSearchNotFound() *CreateSearchNotFound
NewCreateSearchNotFound creates a CreateSearchNotFound with default headers values
func (*CreateSearchNotFound) Code ¶ added in v1.22.0
func (o *CreateSearchNotFound) Code() int
Code gets the status code for the create search not found response
func (*CreateSearchNotFound) Error ¶
func (o *CreateSearchNotFound) Error() string
func (*CreateSearchNotFound) GetPayload ¶
func (o *CreateSearchNotFound) GetPayload() interface{}
func (*CreateSearchNotFound) IsClientError ¶ added in v1.21.0
func (o *CreateSearchNotFound) IsClientError() bool
IsClientError returns true when this create search not found response has a 4xx status code
func (*CreateSearchNotFound) IsCode ¶ added in v1.21.0
func (o *CreateSearchNotFound) IsCode(code int) bool
IsCode returns true when this create search not found response a status code equal to that given
func (*CreateSearchNotFound) IsRedirect ¶ added in v1.21.0
func (o *CreateSearchNotFound) IsRedirect() bool
IsRedirect returns true when this create search not found response has a 3xx status code
func (*CreateSearchNotFound) IsServerError ¶ added in v1.21.0
func (o *CreateSearchNotFound) IsServerError() bool
IsServerError returns true when this create search not found response has a 5xx status code
func (*CreateSearchNotFound) IsSuccess ¶ added in v1.21.0
func (o *CreateSearchNotFound) IsSuccess() bool
IsSuccess returns true when this create search not found response has a 2xx status code
func (*CreateSearchNotFound) String ¶ added in v1.21.0
func (o *CreateSearchNotFound) String() string
type CreateSearchOK ¶
type CreateSearchOK struct {
Payload *service_model.V1Search
}
CreateSearchOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateSearchOK ¶
func NewCreateSearchOK() *CreateSearchOK
NewCreateSearchOK creates a CreateSearchOK with default headers values
func (*CreateSearchOK) Code ¶ added in v1.22.0
func (o *CreateSearchOK) Code() int
Code gets the status code for the create search o k response
func (*CreateSearchOK) Error ¶
func (o *CreateSearchOK) Error() string
func (*CreateSearchOK) GetPayload ¶
func (o *CreateSearchOK) GetPayload() *service_model.V1Search
func (*CreateSearchOK) IsClientError ¶ added in v1.21.0
func (o *CreateSearchOK) IsClientError() bool
IsClientError returns true when this create search o k response has a 4xx status code
func (*CreateSearchOK) IsCode ¶ added in v1.21.0
func (o *CreateSearchOK) IsCode(code int) bool
IsCode returns true when this create search o k response a status code equal to that given
func (*CreateSearchOK) IsRedirect ¶ added in v1.21.0
func (o *CreateSearchOK) IsRedirect() bool
IsRedirect returns true when this create search o k response has a 3xx status code
func (*CreateSearchOK) IsServerError ¶ added in v1.21.0
func (o *CreateSearchOK) IsServerError() bool
IsServerError returns true when this create search o k response has a 5xx status code
func (*CreateSearchOK) IsSuccess ¶ added in v1.21.0
func (o *CreateSearchOK) IsSuccess() bool
IsSuccess returns true when this create search o k response has a 2xx status code
func (*CreateSearchOK) String ¶ added in v1.21.0
func (o *CreateSearchOK) String() string
type CreateSearchParams ¶
type CreateSearchParams struct { /* Body. Search body */ Body *service_model.V1Search /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSearchParams contains all the parameters to send to the API endpoint
for the create search operation. Typically these are written to a http.Request.
func NewCreateSearchParams ¶
func NewCreateSearchParams() *CreateSearchParams
NewCreateSearchParams creates a new CreateSearchParams 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 NewCreateSearchParamsWithContext ¶
func NewCreateSearchParamsWithContext(ctx context.Context) *CreateSearchParams
NewCreateSearchParamsWithContext creates a new CreateSearchParams object with the ability to set a context for a request.
func NewCreateSearchParamsWithHTTPClient ¶
func NewCreateSearchParamsWithHTTPClient(client *http.Client) *CreateSearchParams
NewCreateSearchParamsWithHTTPClient creates a new CreateSearchParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSearchParamsWithTimeout ¶
func NewCreateSearchParamsWithTimeout(timeout time.Duration) *CreateSearchParams
NewCreateSearchParamsWithTimeout creates a new CreateSearchParams object with the ability to set a timeout on a request.
func (*CreateSearchParams) SetBody ¶
func (o *CreateSearchParams) SetBody(body *service_model.V1Search)
SetBody adds the body to the create search params
func (*CreateSearchParams) SetContext ¶
func (o *CreateSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the create search params
func (*CreateSearchParams) SetDefaults ¶
func (o *CreateSearchParams) SetDefaults()
SetDefaults hydrates default values in the create search params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSearchParams) SetHTTPClient ¶
func (o *CreateSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create search params
func (*CreateSearchParams) SetOwner ¶
func (o *CreateSearchParams) SetOwner(owner string)
SetOwner adds the owner to the create search params
func (*CreateSearchParams) SetTimeout ¶
func (o *CreateSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create search params
func (*CreateSearchParams) WithBody ¶
func (o *CreateSearchParams) WithBody(body *service_model.V1Search) *CreateSearchParams
WithBody adds the body to the create search params
func (*CreateSearchParams) WithContext ¶
func (o *CreateSearchParams) WithContext(ctx context.Context) *CreateSearchParams
WithContext adds the context to the create search params
func (*CreateSearchParams) WithDefaults ¶
func (o *CreateSearchParams) WithDefaults() *CreateSearchParams
WithDefaults hydrates default values in the create search params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSearchParams) WithHTTPClient ¶
func (o *CreateSearchParams) WithHTTPClient(client *http.Client) *CreateSearchParams
WithHTTPClient adds the HTTPClient to the create search params
func (*CreateSearchParams) WithOwner ¶
func (o *CreateSearchParams) WithOwner(owner string) *CreateSearchParams
WithOwner adds the owner to the create search params
func (*CreateSearchParams) WithTimeout ¶
func (o *CreateSearchParams) WithTimeout(timeout time.Duration) *CreateSearchParams
WithTimeout adds the timeout to the create search params
func (*CreateSearchParams) WriteToRequest ¶
func (o *CreateSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSearchReader ¶
type CreateSearchReader struct {
// contains filtered or unexported fields
}
CreateSearchReader is a Reader for the CreateSearch structure.
func (*CreateSearchReader) ReadResponse ¶
func (o *CreateSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSearchDefault ¶
type DeleteSearchDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
DeleteSearchDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteSearchDefault ¶
func NewDeleteSearchDefault(code int) *DeleteSearchDefault
NewDeleteSearchDefault creates a DeleteSearchDefault with default headers values
func (*DeleteSearchDefault) Code ¶
func (o *DeleteSearchDefault) Code() int
Code gets the status code for the delete search default response
func (*DeleteSearchDefault) Error ¶
func (o *DeleteSearchDefault) Error() string
func (*DeleteSearchDefault) GetPayload ¶
func (o *DeleteSearchDefault) GetPayload() *service_model.RuntimeError
func (*DeleteSearchDefault) IsClientError ¶ added in v1.21.0
func (o *DeleteSearchDefault) IsClientError() bool
IsClientError returns true when this delete search default response has a 4xx status code
func (*DeleteSearchDefault) IsCode ¶ added in v1.21.0
func (o *DeleteSearchDefault) IsCode(code int) bool
IsCode returns true when this delete search default response a status code equal to that given
func (*DeleteSearchDefault) IsRedirect ¶ added in v1.21.0
func (o *DeleteSearchDefault) IsRedirect() bool
IsRedirect returns true when this delete search default response has a 3xx status code
func (*DeleteSearchDefault) IsServerError ¶ added in v1.21.0
func (o *DeleteSearchDefault) IsServerError() bool
IsServerError returns true when this delete search default response has a 5xx status code
func (*DeleteSearchDefault) IsSuccess ¶ added in v1.21.0
func (o *DeleteSearchDefault) IsSuccess() bool
IsSuccess returns true when this delete search default response has a 2xx status code
func (*DeleteSearchDefault) String ¶ added in v1.21.0
func (o *DeleteSearchDefault) String() string
type DeleteSearchForbidden ¶
type DeleteSearchForbidden struct {
Payload interface{}
}
DeleteSearchForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewDeleteSearchForbidden ¶
func NewDeleteSearchForbidden() *DeleteSearchForbidden
NewDeleteSearchForbidden creates a DeleteSearchForbidden with default headers values
func (*DeleteSearchForbidden) Code ¶ added in v1.22.0
func (o *DeleteSearchForbidden) Code() int
Code gets the status code for the delete search forbidden response
func (*DeleteSearchForbidden) Error ¶
func (o *DeleteSearchForbidden) Error() string
func (*DeleteSearchForbidden) GetPayload ¶
func (o *DeleteSearchForbidden) GetPayload() interface{}
func (*DeleteSearchForbidden) IsClientError ¶ added in v1.21.0
func (o *DeleteSearchForbidden) IsClientError() bool
IsClientError returns true when this delete search forbidden response has a 4xx status code
func (*DeleteSearchForbidden) IsCode ¶ added in v1.21.0
func (o *DeleteSearchForbidden) IsCode(code int) bool
IsCode returns true when this delete search forbidden response a status code equal to that given
func (*DeleteSearchForbidden) IsRedirect ¶ added in v1.21.0
func (o *DeleteSearchForbidden) IsRedirect() bool
IsRedirect returns true when this delete search forbidden response has a 3xx status code
func (*DeleteSearchForbidden) IsServerError ¶ added in v1.21.0
func (o *DeleteSearchForbidden) IsServerError() bool
IsServerError returns true when this delete search forbidden response has a 5xx status code
func (*DeleteSearchForbidden) IsSuccess ¶ added in v1.21.0
func (o *DeleteSearchForbidden) IsSuccess() bool
IsSuccess returns true when this delete search forbidden response has a 2xx status code
func (*DeleteSearchForbidden) String ¶ added in v1.21.0
func (o *DeleteSearchForbidden) String() string
type DeleteSearchNoContent ¶
type DeleteSearchNoContent struct {
Payload interface{}
}
DeleteSearchNoContent describes a response with status code 204, with default header values.
No content.
func NewDeleteSearchNoContent ¶
func NewDeleteSearchNoContent() *DeleteSearchNoContent
NewDeleteSearchNoContent creates a DeleteSearchNoContent with default headers values
func (*DeleteSearchNoContent) Code ¶ added in v1.22.0
func (o *DeleteSearchNoContent) Code() int
Code gets the status code for the delete search no content response
func (*DeleteSearchNoContent) Error ¶
func (o *DeleteSearchNoContent) Error() string
func (*DeleteSearchNoContent) GetPayload ¶
func (o *DeleteSearchNoContent) GetPayload() interface{}
func (*DeleteSearchNoContent) IsClientError ¶ added in v1.21.0
func (o *DeleteSearchNoContent) IsClientError() bool
IsClientError returns true when this delete search no content response has a 4xx status code
func (*DeleteSearchNoContent) IsCode ¶ added in v1.21.0
func (o *DeleteSearchNoContent) IsCode(code int) bool
IsCode returns true when this delete search no content response a status code equal to that given
func (*DeleteSearchNoContent) IsRedirect ¶ added in v1.21.0
func (o *DeleteSearchNoContent) IsRedirect() bool
IsRedirect returns true when this delete search no content response has a 3xx status code
func (*DeleteSearchNoContent) IsServerError ¶ added in v1.21.0
func (o *DeleteSearchNoContent) IsServerError() bool
IsServerError returns true when this delete search no content response has a 5xx status code
func (*DeleteSearchNoContent) IsSuccess ¶ added in v1.21.0
func (o *DeleteSearchNoContent) IsSuccess() bool
IsSuccess returns true when this delete search no content response has a 2xx status code
func (*DeleteSearchNoContent) String ¶ added in v1.21.0
func (o *DeleteSearchNoContent) String() string
type DeleteSearchNotFound ¶
type DeleteSearchNotFound struct {
Payload interface{}
}
DeleteSearchNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewDeleteSearchNotFound ¶
func NewDeleteSearchNotFound() *DeleteSearchNotFound
NewDeleteSearchNotFound creates a DeleteSearchNotFound with default headers values
func (*DeleteSearchNotFound) Code ¶ added in v1.22.0
func (o *DeleteSearchNotFound) Code() int
Code gets the status code for the delete search not found response
func (*DeleteSearchNotFound) Error ¶
func (o *DeleteSearchNotFound) Error() string
func (*DeleteSearchNotFound) GetPayload ¶
func (o *DeleteSearchNotFound) GetPayload() interface{}
func (*DeleteSearchNotFound) IsClientError ¶ added in v1.21.0
func (o *DeleteSearchNotFound) IsClientError() bool
IsClientError returns true when this delete search not found response has a 4xx status code
func (*DeleteSearchNotFound) IsCode ¶ added in v1.21.0
func (o *DeleteSearchNotFound) IsCode(code int) bool
IsCode returns true when this delete search not found response a status code equal to that given
func (*DeleteSearchNotFound) IsRedirect ¶ added in v1.21.0
func (o *DeleteSearchNotFound) IsRedirect() bool
IsRedirect returns true when this delete search not found response has a 3xx status code
func (*DeleteSearchNotFound) IsServerError ¶ added in v1.21.0
func (o *DeleteSearchNotFound) IsServerError() bool
IsServerError returns true when this delete search not found response has a 5xx status code
func (*DeleteSearchNotFound) IsSuccess ¶ added in v1.21.0
func (o *DeleteSearchNotFound) IsSuccess() bool
IsSuccess returns true when this delete search not found response has a 2xx status code
func (*DeleteSearchNotFound) String ¶ added in v1.21.0
func (o *DeleteSearchNotFound) String() string
type DeleteSearchOK ¶
type DeleteSearchOK struct { }
DeleteSearchOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteSearchOK ¶
func NewDeleteSearchOK() *DeleteSearchOK
NewDeleteSearchOK creates a DeleteSearchOK with default headers values
func (*DeleteSearchOK) Code ¶ added in v1.22.0
func (o *DeleteSearchOK) Code() int
Code gets the status code for the delete search o k response
func (*DeleteSearchOK) Error ¶
func (o *DeleteSearchOK) Error() string
func (*DeleteSearchOK) IsClientError ¶ added in v1.21.0
func (o *DeleteSearchOK) IsClientError() bool
IsClientError returns true when this delete search o k response has a 4xx status code
func (*DeleteSearchOK) IsCode ¶ added in v1.21.0
func (o *DeleteSearchOK) IsCode(code int) bool
IsCode returns true when this delete search o k response a status code equal to that given
func (*DeleteSearchOK) IsRedirect ¶ added in v1.21.0
func (o *DeleteSearchOK) IsRedirect() bool
IsRedirect returns true when this delete search o k response has a 3xx status code
func (*DeleteSearchOK) IsServerError ¶ added in v1.21.0
func (o *DeleteSearchOK) IsServerError() bool
IsServerError returns true when this delete search o k response has a 5xx status code
func (*DeleteSearchOK) IsSuccess ¶ added in v1.21.0
func (o *DeleteSearchOK) IsSuccess() bool
IsSuccess returns true when this delete search o k response has a 2xx status code
func (*DeleteSearchOK) String ¶ added in v1.21.0
func (o *DeleteSearchOK) String() string
type DeleteSearchParams ¶
type DeleteSearchParams struct { /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSearchParams contains all the parameters to send to the API endpoint
for the delete search operation. Typically these are written to a http.Request.
func NewDeleteSearchParams ¶
func NewDeleteSearchParams() *DeleteSearchParams
NewDeleteSearchParams creates a new DeleteSearchParams 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 NewDeleteSearchParamsWithContext ¶
func NewDeleteSearchParamsWithContext(ctx context.Context) *DeleteSearchParams
NewDeleteSearchParamsWithContext creates a new DeleteSearchParams object with the ability to set a context for a request.
func NewDeleteSearchParamsWithHTTPClient ¶
func NewDeleteSearchParamsWithHTTPClient(client *http.Client) *DeleteSearchParams
NewDeleteSearchParamsWithHTTPClient creates a new DeleteSearchParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSearchParamsWithTimeout ¶
func NewDeleteSearchParamsWithTimeout(timeout time.Duration) *DeleteSearchParams
NewDeleteSearchParamsWithTimeout creates a new DeleteSearchParams object with the ability to set a timeout on a request.
func (*DeleteSearchParams) SetContext ¶
func (o *DeleteSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the delete search params
func (*DeleteSearchParams) SetDefaults ¶
func (o *DeleteSearchParams) SetDefaults()
SetDefaults hydrates default values in the delete search params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSearchParams) SetHTTPClient ¶
func (o *DeleteSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete search params
func (*DeleteSearchParams) SetOwner ¶
func (o *DeleteSearchParams) SetOwner(owner string)
SetOwner adds the owner to the delete search params
func (*DeleteSearchParams) SetTimeout ¶
func (o *DeleteSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete search params
func (*DeleteSearchParams) SetUUID ¶
func (o *DeleteSearchParams) SetUUID(uuid string)
SetUUID adds the uuid to the delete search params
func (*DeleteSearchParams) WithContext ¶
func (o *DeleteSearchParams) WithContext(ctx context.Context) *DeleteSearchParams
WithContext adds the context to the delete search params
func (*DeleteSearchParams) WithDefaults ¶
func (o *DeleteSearchParams) WithDefaults() *DeleteSearchParams
WithDefaults hydrates default values in the delete search params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSearchParams) WithHTTPClient ¶
func (o *DeleteSearchParams) WithHTTPClient(client *http.Client) *DeleteSearchParams
WithHTTPClient adds the HTTPClient to the delete search params
func (*DeleteSearchParams) WithOwner ¶
func (o *DeleteSearchParams) WithOwner(owner string) *DeleteSearchParams
WithOwner adds the owner to the delete search params
func (*DeleteSearchParams) WithTimeout ¶
func (o *DeleteSearchParams) WithTimeout(timeout time.Duration) *DeleteSearchParams
WithTimeout adds the timeout to the delete search params
func (*DeleteSearchParams) WithUUID ¶
func (o *DeleteSearchParams) WithUUID(uuid string) *DeleteSearchParams
WithUUID adds the uuid to the delete search params
func (*DeleteSearchParams) WriteToRequest ¶
func (o *DeleteSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSearchReader ¶
type DeleteSearchReader struct {
// contains filtered or unexported fields
}
DeleteSearchReader is a Reader for the DeleteSearch structure.
func (*DeleteSearchReader) ReadResponse ¶
func (o *DeleteSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSearchDefault ¶
type GetSearchDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetSearchDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetSearchDefault ¶
func NewGetSearchDefault(code int) *GetSearchDefault
NewGetSearchDefault creates a GetSearchDefault with default headers values
func (*GetSearchDefault) Code ¶
func (o *GetSearchDefault) Code() int
Code gets the status code for the get search default response
func (*GetSearchDefault) Error ¶
func (o *GetSearchDefault) Error() string
func (*GetSearchDefault) GetPayload ¶
func (o *GetSearchDefault) GetPayload() *service_model.RuntimeError
func (*GetSearchDefault) IsClientError ¶ added in v1.21.0
func (o *GetSearchDefault) IsClientError() bool
IsClientError returns true when this get search default response has a 4xx status code
func (*GetSearchDefault) IsCode ¶ added in v1.21.0
func (o *GetSearchDefault) IsCode(code int) bool
IsCode returns true when this get search default response a status code equal to that given
func (*GetSearchDefault) IsRedirect ¶ added in v1.21.0
func (o *GetSearchDefault) IsRedirect() bool
IsRedirect returns true when this get search default response has a 3xx status code
func (*GetSearchDefault) IsServerError ¶ added in v1.21.0
func (o *GetSearchDefault) IsServerError() bool
IsServerError returns true when this get search default response has a 5xx status code
func (*GetSearchDefault) IsSuccess ¶ added in v1.21.0
func (o *GetSearchDefault) IsSuccess() bool
IsSuccess returns true when this get search default response has a 2xx status code
func (*GetSearchDefault) String ¶ added in v1.21.0
func (o *GetSearchDefault) String() string
type GetSearchForbidden ¶
type GetSearchForbidden struct {
Payload interface{}
}
GetSearchForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetSearchForbidden ¶
func NewGetSearchForbidden() *GetSearchForbidden
NewGetSearchForbidden creates a GetSearchForbidden with default headers values
func (*GetSearchForbidden) Code ¶ added in v1.22.0
func (o *GetSearchForbidden) Code() int
Code gets the status code for the get search forbidden response
func (*GetSearchForbidden) Error ¶
func (o *GetSearchForbidden) Error() string
func (*GetSearchForbidden) GetPayload ¶
func (o *GetSearchForbidden) GetPayload() interface{}
func (*GetSearchForbidden) IsClientError ¶ added in v1.21.0
func (o *GetSearchForbidden) IsClientError() bool
IsClientError returns true when this get search forbidden response has a 4xx status code
func (*GetSearchForbidden) IsCode ¶ added in v1.21.0
func (o *GetSearchForbidden) IsCode(code int) bool
IsCode returns true when this get search forbidden response a status code equal to that given
func (*GetSearchForbidden) IsRedirect ¶ added in v1.21.0
func (o *GetSearchForbidden) IsRedirect() bool
IsRedirect returns true when this get search forbidden response has a 3xx status code
func (*GetSearchForbidden) IsServerError ¶ added in v1.21.0
func (o *GetSearchForbidden) IsServerError() bool
IsServerError returns true when this get search forbidden response has a 5xx status code
func (*GetSearchForbidden) IsSuccess ¶ added in v1.21.0
func (o *GetSearchForbidden) IsSuccess() bool
IsSuccess returns true when this get search forbidden response has a 2xx status code
func (*GetSearchForbidden) String ¶ added in v1.21.0
func (o *GetSearchForbidden) String() string
type GetSearchNoContent ¶
type GetSearchNoContent struct {
Payload interface{}
}
GetSearchNoContent describes a response with status code 204, with default header values.
No content.
func NewGetSearchNoContent ¶
func NewGetSearchNoContent() *GetSearchNoContent
NewGetSearchNoContent creates a GetSearchNoContent with default headers values
func (*GetSearchNoContent) Code ¶ added in v1.22.0
func (o *GetSearchNoContent) Code() int
Code gets the status code for the get search no content response
func (*GetSearchNoContent) Error ¶
func (o *GetSearchNoContent) Error() string
func (*GetSearchNoContent) GetPayload ¶
func (o *GetSearchNoContent) GetPayload() interface{}
func (*GetSearchNoContent) IsClientError ¶ added in v1.21.0
func (o *GetSearchNoContent) IsClientError() bool
IsClientError returns true when this get search no content response has a 4xx status code
func (*GetSearchNoContent) IsCode ¶ added in v1.21.0
func (o *GetSearchNoContent) IsCode(code int) bool
IsCode returns true when this get search no content response a status code equal to that given
func (*GetSearchNoContent) IsRedirect ¶ added in v1.21.0
func (o *GetSearchNoContent) IsRedirect() bool
IsRedirect returns true when this get search no content response has a 3xx status code
func (*GetSearchNoContent) IsServerError ¶ added in v1.21.0
func (o *GetSearchNoContent) IsServerError() bool
IsServerError returns true when this get search no content response has a 5xx status code
func (*GetSearchNoContent) IsSuccess ¶ added in v1.21.0
func (o *GetSearchNoContent) IsSuccess() bool
IsSuccess returns true when this get search no content response has a 2xx status code
func (*GetSearchNoContent) String ¶ added in v1.21.0
func (o *GetSearchNoContent) String() string
type GetSearchNotFound ¶
type GetSearchNotFound struct {
Payload interface{}
}
GetSearchNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetSearchNotFound ¶
func NewGetSearchNotFound() *GetSearchNotFound
NewGetSearchNotFound creates a GetSearchNotFound with default headers values
func (*GetSearchNotFound) Code ¶ added in v1.22.0
func (o *GetSearchNotFound) Code() int
Code gets the status code for the get search not found response
func (*GetSearchNotFound) Error ¶
func (o *GetSearchNotFound) Error() string
func (*GetSearchNotFound) GetPayload ¶
func (o *GetSearchNotFound) GetPayload() interface{}
func (*GetSearchNotFound) IsClientError ¶ added in v1.21.0
func (o *GetSearchNotFound) IsClientError() bool
IsClientError returns true when this get search not found response has a 4xx status code
func (*GetSearchNotFound) IsCode ¶ added in v1.21.0
func (o *GetSearchNotFound) IsCode(code int) bool
IsCode returns true when this get search not found response a status code equal to that given
func (*GetSearchNotFound) IsRedirect ¶ added in v1.21.0
func (o *GetSearchNotFound) IsRedirect() bool
IsRedirect returns true when this get search not found response has a 3xx status code
func (*GetSearchNotFound) IsServerError ¶ added in v1.21.0
func (o *GetSearchNotFound) IsServerError() bool
IsServerError returns true when this get search not found response has a 5xx status code
func (*GetSearchNotFound) IsSuccess ¶ added in v1.21.0
func (o *GetSearchNotFound) IsSuccess() bool
IsSuccess returns true when this get search not found response has a 2xx status code
func (*GetSearchNotFound) String ¶ added in v1.21.0
func (o *GetSearchNotFound) String() string
type GetSearchOK ¶
type GetSearchOK struct {
Payload *service_model.V1Search
}
GetSearchOK describes a response with status code 200, with default header values.
A successful response.
func NewGetSearchOK ¶
func NewGetSearchOK() *GetSearchOK
NewGetSearchOK creates a GetSearchOK with default headers values
func (*GetSearchOK) Code ¶ added in v1.22.0
func (o *GetSearchOK) Code() int
Code gets the status code for the get search o k response
func (*GetSearchOK) Error ¶
func (o *GetSearchOK) Error() string
func (*GetSearchOK) GetPayload ¶
func (o *GetSearchOK) GetPayload() *service_model.V1Search
func (*GetSearchOK) IsClientError ¶ added in v1.21.0
func (o *GetSearchOK) IsClientError() bool
IsClientError returns true when this get search o k response has a 4xx status code
func (*GetSearchOK) IsCode ¶ added in v1.21.0
func (o *GetSearchOK) IsCode(code int) bool
IsCode returns true when this get search o k response a status code equal to that given
func (*GetSearchOK) IsRedirect ¶ added in v1.21.0
func (o *GetSearchOK) IsRedirect() bool
IsRedirect returns true when this get search o k response has a 3xx status code
func (*GetSearchOK) IsServerError ¶ added in v1.21.0
func (o *GetSearchOK) IsServerError() bool
IsServerError returns true when this get search o k response has a 5xx status code
func (*GetSearchOK) IsSuccess ¶ added in v1.21.0
func (o *GetSearchOK) IsSuccess() bool
IsSuccess returns true when this get search o k response has a 2xx status code
func (*GetSearchOK) String ¶ added in v1.21.0
func (o *GetSearchOK) String() string
type GetSearchParams ¶
type GetSearchParams struct { /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSearchParams contains all the parameters to send to the API endpoint
for the get search operation. Typically these are written to a http.Request.
func NewGetSearchParams ¶
func NewGetSearchParams() *GetSearchParams
NewGetSearchParams creates a new GetSearchParams 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 NewGetSearchParamsWithContext ¶
func NewGetSearchParamsWithContext(ctx context.Context) *GetSearchParams
NewGetSearchParamsWithContext creates a new GetSearchParams object with the ability to set a context for a request.
func NewGetSearchParamsWithHTTPClient ¶
func NewGetSearchParamsWithHTTPClient(client *http.Client) *GetSearchParams
NewGetSearchParamsWithHTTPClient creates a new GetSearchParams object with the ability to set a custom HTTPClient for a request.
func NewGetSearchParamsWithTimeout ¶
func NewGetSearchParamsWithTimeout(timeout time.Duration) *GetSearchParams
NewGetSearchParamsWithTimeout creates a new GetSearchParams object with the ability to set a timeout on a request.
func (*GetSearchParams) SetContext ¶
func (o *GetSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the get search params
func (*GetSearchParams) SetDefaults ¶
func (o *GetSearchParams) SetDefaults()
SetDefaults hydrates default values in the get search params (not the query body).
All values with no default are reset to their zero value.
func (*GetSearchParams) SetHTTPClient ¶
func (o *GetSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get search params
func (*GetSearchParams) SetOwner ¶
func (o *GetSearchParams) SetOwner(owner string)
SetOwner adds the owner to the get search params
func (*GetSearchParams) SetTimeout ¶
func (o *GetSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get search params
func (*GetSearchParams) SetUUID ¶
func (o *GetSearchParams) SetUUID(uuid string)
SetUUID adds the uuid to the get search params
func (*GetSearchParams) WithContext ¶
func (o *GetSearchParams) WithContext(ctx context.Context) *GetSearchParams
WithContext adds the context to the get search params
func (*GetSearchParams) WithDefaults ¶
func (o *GetSearchParams) WithDefaults() *GetSearchParams
WithDefaults hydrates default values in the get search params (not the query body).
All values with no default are reset to their zero value.
func (*GetSearchParams) WithHTTPClient ¶
func (o *GetSearchParams) WithHTTPClient(client *http.Client) *GetSearchParams
WithHTTPClient adds the HTTPClient to the get search params
func (*GetSearchParams) WithOwner ¶
func (o *GetSearchParams) WithOwner(owner string) *GetSearchParams
WithOwner adds the owner to the get search params
func (*GetSearchParams) WithTimeout ¶
func (o *GetSearchParams) WithTimeout(timeout time.Duration) *GetSearchParams
WithTimeout adds the timeout to the get search params
func (*GetSearchParams) WithUUID ¶
func (o *GetSearchParams) WithUUID(uuid string) *GetSearchParams
WithUUID adds the uuid to the get search params
func (*GetSearchParams) WriteToRequest ¶
func (o *GetSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSearchReader ¶
type GetSearchReader struct {
// contains filtered or unexported fields
}
GetSearchReader is a Reader for the GetSearch structure.
func (*GetSearchReader) ReadResponse ¶
func (o *GetSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSearchNamesDefault ¶
type ListSearchNamesDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListSearchNamesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListSearchNamesDefault ¶
func NewListSearchNamesDefault(code int) *ListSearchNamesDefault
NewListSearchNamesDefault creates a ListSearchNamesDefault with default headers values
func (*ListSearchNamesDefault) Code ¶
func (o *ListSearchNamesDefault) Code() int
Code gets the status code for the list search names default response
func (*ListSearchNamesDefault) Error ¶
func (o *ListSearchNamesDefault) Error() string
func (*ListSearchNamesDefault) GetPayload ¶
func (o *ListSearchNamesDefault) GetPayload() *service_model.RuntimeError
func (*ListSearchNamesDefault) IsClientError ¶ added in v1.21.0
func (o *ListSearchNamesDefault) IsClientError() bool
IsClientError returns true when this list search names default response has a 4xx status code
func (*ListSearchNamesDefault) IsCode ¶ added in v1.21.0
func (o *ListSearchNamesDefault) IsCode(code int) bool
IsCode returns true when this list search names default response a status code equal to that given
func (*ListSearchNamesDefault) IsRedirect ¶ added in v1.21.0
func (o *ListSearchNamesDefault) IsRedirect() bool
IsRedirect returns true when this list search names default response has a 3xx status code
func (*ListSearchNamesDefault) IsServerError ¶ added in v1.21.0
func (o *ListSearchNamesDefault) IsServerError() bool
IsServerError returns true when this list search names default response has a 5xx status code
func (*ListSearchNamesDefault) IsSuccess ¶ added in v1.21.0
func (o *ListSearchNamesDefault) IsSuccess() bool
IsSuccess returns true when this list search names default response has a 2xx status code
func (*ListSearchNamesDefault) String ¶ added in v1.21.0
func (o *ListSearchNamesDefault) String() string
type ListSearchNamesForbidden ¶
type ListSearchNamesForbidden struct {
Payload interface{}
}
ListSearchNamesForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListSearchNamesForbidden ¶
func NewListSearchNamesForbidden() *ListSearchNamesForbidden
NewListSearchNamesForbidden creates a ListSearchNamesForbidden with default headers values
func (*ListSearchNamesForbidden) Code ¶ added in v1.22.0
func (o *ListSearchNamesForbidden) Code() int
Code gets the status code for the list search names forbidden response
func (*ListSearchNamesForbidden) Error ¶
func (o *ListSearchNamesForbidden) Error() string
func (*ListSearchNamesForbidden) GetPayload ¶
func (o *ListSearchNamesForbidden) GetPayload() interface{}
func (*ListSearchNamesForbidden) IsClientError ¶ added in v1.21.0
func (o *ListSearchNamesForbidden) IsClientError() bool
IsClientError returns true when this list search names forbidden response has a 4xx status code
func (*ListSearchNamesForbidden) IsCode ¶ added in v1.21.0
func (o *ListSearchNamesForbidden) IsCode(code int) bool
IsCode returns true when this list search names forbidden response a status code equal to that given
func (*ListSearchNamesForbidden) IsRedirect ¶ added in v1.21.0
func (o *ListSearchNamesForbidden) IsRedirect() bool
IsRedirect returns true when this list search names forbidden response has a 3xx status code
func (*ListSearchNamesForbidden) IsServerError ¶ added in v1.21.0
func (o *ListSearchNamesForbidden) IsServerError() bool
IsServerError returns true when this list search names forbidden response has a 5xx status code
func (*ListSearchNamesForbidden) IsSuccess ¶ added in v1.21.0
func (o *ListSearchNamesForbidden) IsSuccess() bool
IsSuccess returns true when this list search names forbidden response has a 2xx status code
func (*ListSearchNamesForbidden) String ¶ added in v1.21.0
func (o *ListSearchNamesForbidden) String() string
type ListSearchNamesNoContent ¶
type ListSearchNamesNoContent struct {
Payload interface{}
}
ListSearchNamesNoContent describes a response with status code 204, with default header values.
No content.
func NewListSearchNamesNoContent ¶
func NewListSearchNamesNoContent() *ListSearchNamesNoContent
NewListSearchNamesNoContent creates a ListSearchNamesNoContent with default headers values
func (*ListSearchNamesNoContent) Code ¶ added in v1.22.0
func (o *ListSearchNamesNoContent) Code() int
Code gets the status code for the list search names no content response
func (*ListSearchNamesNoContent) Error ¶
func (o *ListSearchNamesNoContent) Error() string
func (*ListSearchNamesNoContent) GetPayload ¶
func (o *ListSearchNamesNoContent) GetPayload() interface{}
func (*ListSearchNamesNoContent) IsClientError ¶ added in v1.21.0
func (o *ListSearchNamesNoContent) IsClientError() bool
IsClientError returns true when this list search names no content response has a 4xx status code
func (*ListSearchNamesNoContent) IsCode ¶ added in v1.21.0
func (o *ListSearchNamesNoContent) IsCode(code int) bool
IsCode returns true when this list search names no content response a status code equal to that given
func (*ListSearchNamesNoContent) IsRedirect ¶ added in v1.21.0
func (o *ListSearchNamesNoContent) IsRedirect() bool
IsRedirect returns true when this list search names no content response has a 3xx status code
func (*ListSearchNamesNoContent) IsServerError ¶ added in v1.21.0
func (o *ListSearchNamesNoContent) IsServerError() bool
IsServerError returns true when this list search names no content response has a 5xx status code
func (*ListSearchNamesNoContent) IsSuccess ¶ added in v1.21.0
func (o *ListSearchNamesNoContent) IsSuccess() bool
IsSuccess returns true when this list search names no content response has a 2xx status code
func (*ListSearchNamesNoContent) String ¶ added in v1.21.0
func (o *ListSearchNamesNoContent) String() string
type ListSearchNamesNotFound ¶
type ListSearchNamesNotFound struct {
Payload interface{}
}
ListSearchNamesNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListSearchNamesNotFound ¶
func NewListSearchNamesNotFound() *ListSearchNamesNotFound
NewListSearchNamesNotFound creates a ListSearchNamesNotFound with default headers values
func (*ListSearchNamesNotFound) Code ¶ added in v1.22.0
func (o *ListSearchNamesNotFound) Code() int
Code gets the status code for the list search names not found response
func (*ListSearchNamesNotFound) Error ¶
func (o *ListSearchNamesNotFound) Error() string
func (*ListSearchNamesNotFound) GetPayload ¶
func (o *ListSearchNamesNotFound) GetPayload() interface{}
func (*ListSearchNamesNotFound) IsClientError ¶ added in v1.21.0
func (o *ListSearchNamesNotFound) IsClientError() bool
IsClientError returns true when this list search names not found response has a 4xx status code
func (*ListSearchNamesNotFound) IsCode ¶ added in v1.21.0
func (o *ListSearchNamesNotFound) IsCode(code int) bool
IsCode returns true when this list search names not found response a status code equal to that given
func (*ListSearchNamesNotFound) IsRedirect ¶ added in v1.21.0
func (o *ListSearchNamesNotFound) IsRedirect() bool
IsRedirect returns true when this list search names not found response has a 3xx status code
func (*ListSearchNamesNotFound) IsServerError ¶ added in v1.21.0
func (o *ListSearchNamesNotFound) IsServerError() bool
IsServerError returns true when this list search names not found response has a 5xx status code
func (*ListSearchNamesNotFound) IsSuccess ¶ added in v1.21.0
func (o *ListSearchNamesNotFound) IsSuccess() bool
IsSuccess returns true when this list search names not found response has a 2xx status code
func (*ListSearchNamesNotFound) String ¶ added in v1.21.0
func (o *ListSearchNamesNotFound) String() string
type ListSearchNamesOK ¶
type ListSearchNamesOK struct {
Payload *service_model.V1ListSearchesResponse
}
ListSearchNamesOK describes a response with status code 200, with default header values.
A successful response.
func NewListSearchNamesOK ¶
func NewListSearchNamesOK() *ListSearchNamesOK
NewListSearchNamesOK creates a ListSearchNamesOK with default headers values
func (*ListSearchNamesOK) Code ¶ added in v1.22.0
func (o *ListSearchNamesOK) Code() int
Code gets the status code for the list search names o k response
func (*ListSearchNamesOK) Error ¶
func (o *ListSearchNamesOK) Error() string
func (*ListSearchNamesOK) GetPayload ¶
func (o *ListSearchNamesOK) GetPayload() *service_model.V1ListSearchesResponse
func (*ListSearchNamesOK) IsClientError ¶ added in v1.21.0
func (o *ListSearchNamesOK) IsClientError() bool
IsClientError returns true when this list search names o k response has a 4xx status code
func (*ListSearchNamesOK) IsCode ¶ added in v1.21.0
func (o *ListSearchNamesOK) IsCode(code int) bool
IsCode returns true when this list search names o k response a status code equal to that given
func (*ListSearchNamesOK) IsRedirect ¶ added in v1.21.0
func (o *ListSearchNamesOK) IsRedirect() bool
IsRedirect returns true when this list search names o k response has a 3xx status code
func (*ListSearchNamesOK) IsServerError ¶ added in v1.21.0
func (o *ListSearchNamesOK) IsServerError() bool
IsServerError returns true when this list search names o k response has a 5xx status code
func (*ListSearchNamesOK) IsSuccess ¶ added in v1.21.0
func (o *ListSearchNamesOK) IsSuccess() bool
IsSuccess returns true when this list search names o k response has a 2xx status code
func (*ListSearchNamesOK) String ¶ added in v1.21.0
func (o *ListSearchNamesOK) String() string
type ListSearchNamesParams ¶
type ListSearchNamesParams struct { /* Bookmarks. Filter by bookmarks. */ Bookmarks *bool /* Limit. Limit size. Format: int32 */ Limit *int32 /* Mode. Mode of the search. */ Mode *string /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSearchNamesParams contains all the parameters to send to the API endpoint
for the list search names operation. Typically these are written to a http.Request.
func NewListSearchNamesParams ¶
func NewListSearchNamesParams() *ListSearchNamesParams
NewListSearchNamesParams creates a new ListSearchNamesParams 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 NewListSearchNamesParamsWithContext ¶
func NewListSearchNamesParamsWithContext(ctx context.Context) *ListSearchNamesParams
NewListSearchNamesParamsWithContext creates a new ListSearchNamesParams object with the ability to set a context for a request.
func NewListSearchNamesParamsWithHTTPClient ¶
func NewListSearchNamesParamsWithHTTPClient(client *http.Client) *ListSearchNamesParams
NewListSearchNamesParamsWithHTTPClient creates a new ListSearchNamesParams object with the ability to set a custom HTTPClient for a request.
func NewListSearchNamesParamsWithTimeout ¶
func NewListSearchNamesParamsWithTimeout(timeout time.Duration) *ListSearchNamesParams
NewListSearchNamesParamsWithTimeout creates a new ListSearchNamesParams object with the ability to set a timeout on a request.
func (*ListSearchNamesParams) SetBookmarks ¶
func (o *ListSearchNamesParams) SetBookmarks(bookmarks *bool)
SetBookmarks adds the bookmarks to the list search names params
func (*ListSearchNamesParams) SetContext ¶
func (o *ListSearchNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the list search names params
func (*ListSearchNamesParams) SetDefaults ¶
func (o *ListSearchNamesParams) SetDefaults()
SetDefaults hydrates default values in the list search names params (not the query body).
All values with no default are reset to their zero value.
func (*ListSearchNamesParams) SetHTTPClient ¶
func (o *ListSearchNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list search names params
func (*ListSearchNamesParams) SetLimit ¶
func (o *ListSearchNamesParams) SetLimit(limit *int32)
SetLimit adds the limit to the list search names params
func (*ListSearchNamesParams) SetMode ¶
func (o *ListSearchNamesParams) SetMode(mode *string)
SetMode adds the mode to the list search names params
func (*ListSearchNamesParams) SetNoPage ¶
func (o *ListSearchNamesParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list search names params
func (*ListSearchNamesParams) SetOffset ¶
func (o *ListSearchNamesParams) SetOffset(offset *int32)
SetOffset adds the offset to the list search names params
func (*ListSearchNamesParams) SetOwner ¶
func (o *ListSearchNamesParams) SetOwner(owner string)
SetOwner adds the owner to the list search names params
func (*ListSearchNamesParams) SetQuery ¶
func (o *ListSearchNamesParams) SetQuery(query *string)
SetQuery adds the query to the list search names params
func (*ListSearchNamesParams) SetSort ¶
func (o *ListSearchNamesParams) SetSort(sort *string)
SetSort adds the sort to the list search names params
func (*ListSearchNamesParams) SetTimeout ¶
func (o *ListSearchNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list search names params
func (*ListSearchNamesParams) WithBookmarks ¶
func (o *ListSearchNamesParams) WithBookmarks(bookmarks *bool) *ListSearchNamesParams
WithBookmarks adds the bookmarks to the list search names params
func (*ListSearchNamesParams) WithContext ¶
func (o *ListSearchNamesParams) WithContext(ctx context.Context) *ListSearchNamesParams
WithContext adds the context to the list search names params
func (*ListSearchNamesParams) WithDefaults ¶
func (o *ListSearchNamesParams) WithDefaults() *ListSearchNamesParams
WithDefaults hydrates default values in the list search names params (not the query body).
All values with no default are reset to their zero value.
func (*ListSearchNamesParams) WithHTTPClient ¶
func (o *ListSearchNamesParams) WithHTTPClient(client *http.Client) *ListSearchNamesParams
WithHTTPClient adds the HTTPClient to the list search names params
func (*ListSearchNamesParams) WithLimit ¶
func (o *ListSearchNamesParams) WithLimit(limit *int32) *ListSearchNamesParams
WithLimit adds the limit to the list search names params
func (*ListSearchNamesParams) WithMode ¶
func (o *ListSearchNamesParams) WithMode(mode *string) *ListSearchNamesParams
WithMode adds the mode to the list search names params
func (*ListSearchNamesParams) WithNoPage ¶
func (o *ListSearchNamesParams) WithNoPage(noPage *bool) *ListSearchNamesParams
WithNoPage adds the noPage to the list search names params
func (*ListSearchNamesParams) WithOffset ¶
func (o *ListSearchNamesParams) WithOffset(offset *int32) *ListSearchNamesParams
WithOffset adds the offset to the list search names params
func (*ListSearchNamesParams) WithOwner ¶
func (o *ListSearchNamesParams) WithOwner(owner string) *ListSearchNamesParams
WithOwner adds the owner to the list search names params
func (*ListSearchNamesParams) WithQuery ¶
func (o *ListSearchNamesParams) WithQuery(query *string) *ListSearchNamesParams
WithQuery adds the query to the list search names params
func (*ListSearchNamesParams) WithSort ¶
func (o *ListSearchNamesParams) WithSort(sort *string) *ListSearchNamesParams
WithSort adds the sort to the list search names params
func (*ListSearchNamesParams) WithTimeout ¶
func (o *ListSearchNamesParams) WithTimeout(timeout time.Duration) *ListSearchNamesParams
WithTimeout adds the timeout to the list search names params
func (*ListSearchNamesParams) WriteToRequest ¶
func (o *ListSearchNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSearchNamesReader ¶
type ListSearchNamesReader struct {
// contains filtered or unexported fields
}
ListSearchNamesReader is a Reader for the ListSearchNames structure.
func (*ListSearchNamesReader) ReadResponse ¶
func (o *ListSearchNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSearchesDefault ¶
type ListSearchesDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListSearchesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListSearchesDefault ¶
func NewListSearchesDefault(code int) *ListSearchesDefault
NewListSearchesDefault creates a ListSearchesDefault with default headers values
func (*ListSearchesDefault) Code ¶
func (o *ListSearchesDefault) Code() int
Code gets the status code for the list searches default response
func (*ListSearchesDefault) Error ¶
func (o *ListSearchesDefault) Error() string
func (*ListSearchesDefault) GetPayload ¶
func (o *ListSearchesDefault) GetPayload() *service_model.RuntimeError
func (*ListSearchesDefault) IsClientError ¶ added in v1.21.0
func (o *ListSearchesDefault) IsClientError() bool
IsClientError returns true when this list searches default response has a 4xx status code
func (*ListSearchesDefault) IsCode ¶ added in v1.21.0
func (o *ListSearchesDefault) IsCode(code int) bool
IsCode returns true when this list searches default response a status code equal to that given
func (*ListSearchesDefault) IsRedirect ¶ added in v1.21.0
func (o *ListSearchesDefault) IsRedirect() bool
IsRedirect returns true when this list searches default response has a 3xx status code
func (*ListSearchesDefault) IsServerError ¶ added in v1.21.0
func (o *ListSearchesDefault) IsServerError() bool
IsServerError returns true when this list searches default response has a 5xx status code
func (*ListSearchesDefault) IsSuccess ¶ added in v1.21.0
func (o *ListSearchesDefault) IsSuccess() bool
IsSuccess returns true when this list searches default response has a 2xx status code
func (*ListSearchesDefault) String ¶ added in v1.21.0
func (o *ListSearchesDefault) String() string
type ListSearchesForbidden ¶
type ListSearchesForbidden struct {
Payload interface{}
}
ListSearchesForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListSearchesForbidden ¶
func NewListSearchesForbidden() *ListSearchesForbidden
NewListSearchesForbidden creates a ListSearchesForbidden with default headers values
func (*ListSearchesForbidden) Code ¶ added in v1.22.0
func (o *ListSearchesForbidden) Code() int
Code gets the status code for the list searches forbidden response
func (*ListSearchesForbidden) Error ¶
func (o *ListSearchesForbidden) Error() string
func (*ListSearchesForbidden) GetPayload ¶
func (o *ListSearchesForbidden) GetPayload() interface{}
func (*ListSearchesForbidden) IsClientError ¶ added in v1.21.0
func (o *ListSearchesForbidden) IsClientError() bool
IsClientError returns true when this list searches forbidden response has a 4xx status code
func (*ListSearchesForbidden) IsCode ¶ added in v1.21.0
func (o *ListSearchesForbidden) IsCode(code int) bool
IsCode returns true when this list searches forbidden response a status code equal to that given
func (*ListSearchesForbidden) IsRedirect ¶ added in v1.21.0
func (o *ListSearchesForbidden) IsRedirect() bool
IsRedirect returns true when this list searches forbidden response has a 3xx status code
func (*ListSearchesForbidden) IsServerError ¶ added in v1.21.0
func (o *ListSearchesForbidden) IsServerError() bool
IsServerError returns true when this list searches forbidden response has a 5xx status code
func (*ListSearchesForbidden) IsSuccess ¶ added in v1.21.0
func (o *ListSearchesForbidden) IsSuccess() bool
IsSuccess returns true when this list searches forbidden response has a 2xx status code
func (*ListSearchesForbidden) String ¶ added in v1.21.0
func (o *ListSearchesForbidden) String() string
type ListSearchesNoContent ¶
type ListSearchesNoContent struct {
Payload interface{}
}
ListSearchesNoContent describes a response with status code 204, with default header values.
No content.
func NewListSearchesNoContent ¶
func NewListSearchesNoContent() *ListSearchesNoContent
NewListSearchesNoContent creates a ListSearchesNoContent with default headers values
func (*ListSearchesNoContent) Code ¶ added in v1.22.0
func (o *ListSearchesNoContent) Code() int
Code gets the status code for the list searches no content response
func (*ListSearchesNoContent) Error ¶
func (o *ListSearchesNoContent) Error() string
func (*ListSearchesNoContent) GetPayload ¶
func (o *ListSearchesNoContent) GetPayload() interface{}
func (*ListSearchesNoContent) IsClientError ¶ added in v1.21.0
func (o *ListSearchesNoContent) IsClientError() bool
IsClientError returns true when this list searches no content response has a 4xx status code
func (*ListSearchesNoContent) IsCode ¶ added in v1.21.0
func (o *ListSearchesNoContent) IsCode(code int) bool
IsCode returns true when this list searches no content response a status code equal to that given
func (*ListSearchesNoContent) IsRedirect ¶ added in v1.21.0
func (o *ListSearchesNoContent) IsRedirect() bool
IsRedirect returns true when this list searches no content response has a 3xx status code
func (*ListSearchesNoContent) IsServerError ¶ added in v1.21.0
func (o *ListSearchesNoContent) IsServerError() bool
IsServerError returns true when this list searches no content response has a 5xx status code
func (*ListSearchesNoContent) IsSuccess ¶ added in v1.21.0
func (o *ListSearchesNoContent) IsSuccess() bool
IsSuccess returns true when this list searches no content response has a 2xx status code
func (*ListSearchesNoContent) String ¶ added in v1.21.0
func (o *ListSearchesNoContent) String() string
type ListSearchesNotFound ¶
type ListSearchesNotFound struct {
Payload interface{}
}
ListSearchesNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListSearchesNotFound ¶
func NewListSearchesNotFound() *ListSearchesNotFound
NewListSearchesNotFound creates a ListSearchesNotFound with default headers values
func (*ListSearchesNotFound) Code ¶ added in v1.22.0
func (o *ListSearchesNotFound) Code() int
Code gets the status code for the list searches not found response
func (*ListSearchesNotFound) Error ¶
func (o *ListSearchesNotFound) Error() string
func (*ListSearchesNotFound) GetPayload ¶
func (o *ListSearchesNotFound) GetPayload() interface{}
func (*ListSearchesNotFound) IsClientError ¶ added in v1.21.0
func (o *ListSearchesNotFound) IsClientError() bool
IsClientError returns true when this list searches not found response has a 4xx status code
func (*ListSearchesNotFound) IsCode ¶ added in v1.21.0
func (o *ListSearchesNotFound) IsCode(code int) bool
IsCode returns true when this list searches not found response a status code equal to that given
func (*ListSearchesNotFound) IsRedirect ¶ added in v1.21.0
func (o *ListSearchesNotFound) IsRedirect() bool
IsRedirect returns true when this list searches not found response has a 3xx status code
func (*ListSearchesNotFound) IsServerError ¶ added in v1.21.0
func (o *ListSearchesNotFound) IsServerError() bool
IsServerError returns true when this list searches not found response has a 5xx status code
func (*ListSearchesNotFound) IsSuccess ¶ added in v1.21.0
func (o *ListSearchesNotFound) IsSuccess() bool
IsSuccess returns true when this list searches not found response has a 2xx status code
func (*ListSearchesNotFound) String ¶ added in v1.21.0
func (o *ListSearchesNotFound) String() string
type ListSearchesOK ¶
type ListSearchesOK struct {
Payload *service_model.V1ListSearchesResponse
}
ListSearchesOK describes a response with status code 200, with default header values.
A successful response.
func NewListSearchesOK ¶
func NewListSearchesOK() *ListSearchesOK
NewListSearchesOK creates a ListSearchesOK with default headers values
func (*ListSearchesOK) Code ¶ added in v1.22.0
func (o *ListSearchesOK) Code() int
Code gets the status code for the list searches o k response
func (*ListSearchesOK) Error ¶
func (o *ListSearchesOK) Error() string
func (*ListSearchesOK) GetPayload ¶
func (o *ListSearchesOK) GetPayload() *service_model.V1ListSearchesResponse
func (*ListSearchesOK) IsClientError ¶ added in v1.21.0
func (o *ListSearchesOK) IsClientError() bool
IsClientError returns true when this list searches o k response has a 4xx status code
func (*ListSearchesOK) IsCode ¶ added in v1.21.0
func (o *ListSearchesOK) IsCode(code int) bool
IsCode returns true when this list searches o k response a status code equal to that given
func (*ListSearchesOK) IsRedirect ¶ added in v1.21.0
func (o *ListSearchesOK) IsRedirect() bool
IsRedirect returns true when this list searches o k response has a 3xx status code
func (*ListSearchesOK) IsServerError ¶ added in v1.21.0
func (o *ListSearchesOK) IsServerError() bool
IsServerError returns true when this list searches o k response has a 5xx status code
func (*ListSearchesOK) IsSuccess ¶ added in v1.21.0
func (o *ListSearchesOK) IsSuccess() bool
IsSuccess returns true when this list searches o k response has a 2xx status code
func (*ListSearchesOK) String ¶ added in v1.21.0
func (o *ListSearchesOK) String() string
type ListSearchesParams ¶
type ListSearchesParams struct { /* Bookmarks. Filter by bookmarks. */ Bookmarks *bool /* Limit. Limit size. Format: int32 */ Limit *int32 /* Mode. Mode of the search. */ Mode *string /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSearchesParams contains all the parameters to send to the API endpoint
for the list searches operation. Typically these are written to a http.Request.
func NewListSearchesParams ¶
func NewListSearchesParams() *ListSearchesParams
NewListSearchesParams creates a new ListSearchesParams 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 NewListSearchesParamsWithContext ¶
func NewListSearchesParamsWithContext(ctx context.Context) *ListSearchesParams
NewListSearchesParamsWithContext creates a new ListSearchesParams object with the ability to set a context for a request.
func NewListSearchesParamsWithHTTPClient ¶
func NewListSearchesParamsWithHTTPClient(client *http.Client) *ListSearchesParams
NewListSearchesParamsWithHTTPClient creates a new ListSearchesParams object with the ability to set a custom HTTPClient for a request.
func NewListSearchesParamsWithTimeout ¶
func NewListSearchesParamsWithTimeout(timeout time.Duration) *ListSearchesParams
NewListSearchesParamsWithTimeout creates a new ListSearchesParams object with the ability to set a timeout on a request.
func (*ListSearchesParams) SetBookmarks ¶
func (o *ListSearchesParams) SetBookmarks(bookmarks *bool)
SetBookmarks adds the bookmarks to the list searches params
func (*ListSearchesParams) SetContext ¶
func (o *ListSearchesParams) SetContext(ctx context.Context)
SetContext adds the context to the list searches params
func (*ListSearchesParams) SetDefaults ¶
func (o *ListSearchesParams) SetDefaults()
SetDefaults hydrates default values in the list searches params (not the query body).
All values with no default are reset to their zero value.
func (*ListSearchesParams) SetHTTPClient ¶
func (o *ListSearchesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list searches params
func (*ListSearchesParams) SetLimit ¶
func (o *ListSearchesParams) SetLimit(limit *int32)
SetLimit adds the limit to the list searches params
func (*ListSearchesParams) SetMode ¶
func (o *ListSearchesParams) SetMode(mode *string)
SetMode adds the mode to the list searches params
func (*ListSearchesParams) SetNoPage ¶
func (o *ListSearchesParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list searches params
func (*ListSearchesParams) SetOffset ¶
func (o *ListSearchesParams) SetOffset(offset *int32)
SetOffset adds the offset to the list searches params
func (*ListSearchesParams) SetOwner ¶
func (o *ListSearchesParams) SetOwner(owner string)
SetOwner adds the owner to the list searches params
func (*ListSearchesParams) SetQuery ¶
func (o *ListSearchesParams) SetQuery(query *string)
SetQuery adds the query to the list searches params
func (*ListSearchesParams) SetSort ¶
func (o *ListSearchesParams) SetSort(sort *string)
SetSort adds the sort to the list searches params
func (*ListSearchesParams) SetTimeout ¶
func (o *ListSearchesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list searches params
func (*ListSearchesParams) WithBookmarks ¶
func (o *ListSearchesParams) WithBookmarks(bookmarks *bool) *ListSearchesParams
WithBookmarks adds the bookmarks to the list searches params
func (*ListSearchesParams) WithContext ¶
func (o *ListSearchesParams) WithContext(ctx context.Context) *ListSearchesParams
WithContext adds the context to the list searches params
func (*ListSearchesParams) WithDefaults ¶
func (o *ListSearchesParams) WithDefaults() *ListSearchesParams
WithDefaults hydrates default values in the list searches params (not the query body).
All values with no default are reset to their zero value.
func (*ListSearchesParams) WithHTTPClient ¶
func (o *ListSearchesParams) WithHTTPClient(client *http.Client) *ListSearchesParams
WithHTTPClient adds the HTTPClient to the list searches params
func (*ListSearchesParams) WithLimit ¶
func (o *ListSearchesParams) WithLimit(limit *int32) *ListSearchesParams
WithLimit adds the limit to the list searches params
func (*ListSearchesParams) WithMode ¶
func (o *ListSearchesParams) WithMode(mode *string) *ListSearchesParams
WithMode adds the mode to the list searches params
func (*ListSearchesParams) WithNoPage ¶
func (o *ListSearchesParams) WithNoPage(noPage *bool) *ListSearchesParams
WithNoPage adds the noPage to the list searches params
func (*ListSearchesParams) WithOffset ¶
func (o *ListSearchesParams) WithOffset(offset *int32) *ListSearchesParams
WithOffset adds the offset to the list searches params
func (*ListSearchesParams) WithOwner ¶
func (o *ListSearchesParams) WithOwner(owner string) *ListSearchesParams
WithOwner adds the owner to the list searches params
func (*ListSearchesParams) WithQuery ¶
func (o *ListSearchesParams) WithQuery(query *string) *ListSearchesParams
WithQuery adds the query to the list searches params
func (*ListSearchesParams) WithSort ¶
func (o *ListSearchesParams) WithSort(sort *string) *ListSearchesParams
WithSort adds the sort to the list searches params
func (*ListSearchesParams) WithTimeout ¶
func (o *ListSearchesParams) WithTimeout(timeout time.Duration) *ListSearchesParams
WithTimeout adds the timeout to the list searches params
func (*ListSearchesParams) WriteToRequest ¶
func (o *ListSearchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSearchesReader ¶
type ListSearchesReader struct {
// contains filtered or unexported fields
}
ListSearchesReader is a Reader for the ListSearches structure.
func (*ListSearchesReader) ReadResponse ¶
func (o *ListSearchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchSearchDefault ¶
type PatchSearchDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
PatchSearchDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPatchSearchDefault ¶
func NewPatchSearchDefault(code int) *PatchSearchDefault
NewPatchSearchDefault creates a PatchSearchDefault with default headers values
func (*PatchSearchDefault) Code ¶
func (o *PatchSearchDefault) Code() int
Code gets the status code for the patch search default response
func (*PatchSearchDefault) Error ¶
func (o *PatchSearchDefault) Error() string
func (*PatchSearchDefault) GetPayload ¶
func (o *PatchSearchDefault) GetPayload() *service_model.RuntimeError
func (*PatchSearchDefault) IsClientError ¶ added in v1.21.0
func (o *PatchSearchDefault) IsClientError() bool
IsClientError returns true when this patch search default response has a 4xx status code
func (*PatchSearchDefault) IsCode ¶ added in v1.21.0
func (o *PatchSearchDefault) IsCode(code int) bool
IsCode returns true when this patch search default response a status code equal to that given
func (*PatchSearchDefault) IsRedirect ¶ added in v1.21.0
func (o *PatchSearchDefault) IsRedirect() bool
IsRedirect returns true when this patch search default response has a 3xx status code
func (*PatchSearchDefault) IsServerError ¶ added in v1.21.0
func (o *PatchSearchDefault) IsServerError() bool
IsServerError returns true when this patch search default response has a 5xx status code
func (*PatchSearchDefault) IsSuccess ¶ added in v1.21.0
func (o *PatchSearchDefault) IsSuccess() bool
IsSuccess returns true when this patch search default response has a 2xx status code
func (*PatchSearchDefault) String ¶ added in v1.21.0
func (o *PatchSearchDefault) String() string
type PatchSearchForbidden ¶
type PatchSearchForbidden struct {
Payload interface{}
}
PatchSearchForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewPatchSearchForbidden ¶
func NewPatchSearchForbidden() *PatchSearchForbidden
NewPatchSearchForbidden creates a PatchSearchForbidden with default headers values
func (*PatchSearchForbidden) Code ¶ added in v1.22.0
func (o *PatchSearchForbidden) Code() int
Code gets the status code for the patch search forbidden response
func (*PatchSearchForbidden) Error ¶
func (o *PatchSearchForbidden) Error() string
func (*PatchSearchForbidden) GetPayload ¶
func (o *PatchSearchForbidden) GetPayload() interface{}
func (*PatchSearchForbidden) IsClientError ¶ added in v1.21.0
func (o *PatchSearchForbidden) IsClientError() bool
IsClientError returns true when this patch search forbidden response has a 4xx status code
func (*PatchSearchForbidden) IsCode ¶ added in v1.21.0
func (o *PatchSearchForbidden) IsCode(code int) bool
IsCode returns true when this patch search forbidden response a status code equal to that given
func (*PatchSearchForbidden) IsRedirect ¶ added in v1.21.0
func (o *PatchSearchForbidden) IsRedirect() bool
IsRedirect returns true when this patch search forbidden response has a 3xx status code
func (*PatchSearchForbidden) IsServerError ¶ added in v1.21.0
func (o *PatchSearchForbidden) IsServerError() bool
IsServerError returns true when this patch search forbidden response has a 5xx status code
func (*PatchSearchForbidden) IsSuccess ¶ added in v1.21.0
func (o *PatchSearchForbidden) IsSuccess() bool
IsSuccess returns true when this patch search forbidden response has a 2xx status code
func (*PatchSearchForbidden) String ¶ added in v1.21.0
func (o *PatchSearchForbidden) String() string
type PatchSearchNoContent ¶
type PatchSearchNoContent struct {
Payload interface{}
}
PatchSearchNoContent describes a response with status code 204, with default header values.
No content.
func NewPatchSearchNoContent ¶
func NewPatchSearchNoContent() *PatchSearchNoContent
NewPatchSearchNoContent creates a PatchSearchNoContent with default headers values
func (*PatchSearchNoContent) Code ¶ added in v1.22.0
func (o *PatchSearchNoContent) Code() int
Code gets the status code for the patch search no content response
func (*PatchSearchNoContent) Error ¶
func (o *PatchSearchNoContent) Error() string
func (*PatchSearchNoContent) GetPayload ¶
func (o *PatchSearchNoContent) GetPayload() interface{}
func (*PatchSearchNoContent) IsClientError ¶ added in v1.21.0
func (o *PatchSearchNoContent) IsClientError() bool
IsClientError returns true when this patch search no content response has a 4xx status code
func (*PatchSearchNoContent) IsCode ¶ added in v1.21.0
func (o *PatchSearchNoContent) IsCode(code int) bool
IsCode returns true when this patch search no content response a status code equal to that given
func (*PatchSearchNoContent) IsRedirect ¶ added in v1.21.0
func (o *PatchSearchNoContent) IsRedirect() bool
IsRedirect returns true when this patch search no content response has a 3xx status code
func (*PatchSearchNoContent) IsServerError ¶ added in v1.21.0
func (o *PatchSearchNoContent) IsServerError() bool
IsServerError returns true when this patch search no content response has a 5xx status code
func (*PatchSearchNoContent) IsSuccess ¶ added in v1.21.0
func (o *PatchSearchNoContent) IsSuccess() bool
IsSuccess returns true when this patch search no content response has a 2xx status code
func (*PatchSearchNoContent) String ¶ added in v1.21.0
func (o *PatchSearchNoContent) String() string
type PatchSearchNotFound ¶
type PatchSearchNotFound struct {
Payload interface{}
}
PatchSearchNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewPatchSearchNotFound ¶
func NewPatchSearchNotFound() *PatchSearchNotFound
NewPatchSearchNotFound creates a PatchSearchNotFound with default headers values
func (*PatchSearchNotFound) Code ¶ added in v1.22.0
func (o *PatchSearchNotFound) Code() int
Code gets the status code for the patch search not found response
func (*PatchSearchNotFound) Error ¶
func (o *PatchSearchNotFound) Error() string
func (*PatchSearchNotFound) GetPayload ¶
func (o *PatchSearchNotFound) GetPayload() interface{}
func (*PatchSearchNotFound) IsClientError ¶ added in v1.21.0
func (o *PatchSearchNotFound) IsClientError() bool
IsClientError returns true when this patch search not found response has a 4xx status code
func (*PatchSearchNotFound) IsCode ¶ added in v1.21.0
func (o *PatchSearchNotFound) IsCode(code int) bool
IsCode returns true when this patch search not found response a status code equal to that given
func (*PatchSearchNotFound) IsRedirect ¶ added in v1.21.0
func (o *PatchSearchNotFound) IsRedirect() bool
IsRedirect returns true when this patch search not found response has a 3xx status code
func (*PatchSearchNotFound) IsServerError ¶ added in v1.21.0
func (o *PatchSearchNotFound) IsServerError() bool
IsServerError returns true when this patch search not found response has a 5xx status code
func (*PatchSearchNotFound) IsSuccess ¶ added in v1.21.0
func (o *PatchSearchNotFound) IsSuccess() bool
IsSuccess returns true when this patch search not found response has a 2xx status code
func (*PatchSearchNotFound) String ¶ added in v1.21.0
func (o *PatchSearchNotFound) String() string
type PatchSearchOK ¶
type PatchSearchOK struct {
Payload *service_model.V1Search
}
PatchSearchOK describes a response with status code 200, with default header values.
A successful response.
func NewPatchSearchOK ¶
func NewPatchSearchOK() *PatchSearchOK
NewPatchSearchOK creates a PatchSearchOK with default headers values
func (*PatchSearchOK) Code ¶ added in v1.22.0
func (o *PatchSearchOK) Code() int
Code gets the status code for the patch search o k response
func (*PatchSearchOK) Error ¶
func (o *PatchSearchOK) Error() string
func (*PatchSearchOK) GetPayload ¶
func (o *PatchSearchOK) GetPayload() *service_model.V1Search
func (*PatchSearchOK) IsClientError ¶ added in v1.21.0
func (o *PatchSearchOK) IsClientError() bool
IsClientError returns true when this patch search o k response has a 4xx status code
func (*PatchSearchOK) IsCode ¶ added in v1.21.0
func (o *PatchSearchOK) IsCode(code int) bool
IsCode returns true when this patch search o k response a status code equal to that given
func (*PatchSearchOK) IsRedirect ¶ added in v1.21.0
func (o *PatchSearchOK) IsRedirect() bool
IsRedirect returns true when this patch search o k response has a 3xx status code
func (*PatchSearchOK) IsServerError ¶ added in v1.21.0
func (o *PatchSearchOK) IsServerError() bool
IsServerError returns true when this patch search o k response has a 5xx status code
func (*PatchSearchOK) IsSuccess ¶ added in v1.21.0
func (o *PatchSearchOK) IsSuccess() bool
IsSuccess returns true when this patch search o k response has a 2xx status code
func (*PatchSearchOK) String ¶ added in v1.21.0
func (o *PatchSearchOK) String() string
type PatchSearchParams ¶
type PatchSearchParams struct { /* Body. Search body */ Body *service_model.V1Search /* Owner. Owner of the namespace */ Owner string /* SearchUUID. UUID */ SearchUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchSearchParams contains all the parameters to send to the API endpoint
for the patch search operation. Typically these are written to a http.Request.
func NewPatchSearchParams ¶
func NewPatchSearchParams() *PatchSearchParams
NewPatchSearchParams creates a new PatchSearchParams 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 NewPatchSearchParamsWithContext ¶
func NewPatchSearchParamsWithContext(ctx context.Context) *PatchSearchParams
NewPatchSearchParamsWithContext creates a new PatchSearchParams object with the ability to set a context for a request.
func NewPatchSearchParamsWithHTTPClient ¶
func NewPatchSearchParamsWithHTTPClient(client *http.Client) *PatchSearchParams
NewPatchSearchParamsWithHTTPClient creates a new PatchSearchParams object with the ability to set a custom HTTPClient for a request.
func NewPatchSearchParamsWithTimeout ¶
func NewPatchSearchParamsWithTimeout(timeout time.Duration) *PatchSearchParams
NewPatchSearchParamsWithTimeout creates a new PatchSearchParams object with the ability to set a timeout on a request.
func (*PatchSearchParams) SetBody ¶
func (o *PatchSearchParams) SetBody(body *service_model.V1Search)
SetBody adds the body to the patch search params
func (*PatchSearchParams) SetContext ¶
func (o *PatchSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the patch search params
func (*PatchSearchParams) SetDefaults ¶
func (o *PatchSearchParams) SetDefaults()
SetDefaults hydrates default values in the patch search params (not the query body).
All values with no default are reset to their zero value.
func (*PatchSearchParams) SetHTTPClient ¶
func (o *PatchSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch search params
func (*PatchSearchParams) SetOwner ¶
func (o *PatchSearchParams) SetOwner(owner string)
SetOwner adds the owner to the patch search params
func (*PatchSearchParams) SetSearchUUID ¶
func (o *PatchSearchParams) SetSearchUUID(searchUUID string)
SetSearchUUID adds the searchUuid to the patch search params
func (*PatchSearchParams) SetTimeout ¶
func (o *PatchSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch search params
func (*PatchSearchParams) WithBody ¶
func (o *PatchSearchParams) WithBody(body *service_model.V1Search) *PatchSearchParams
WithBody adds the body to the patch search params
func (*PatchSearchParams) WithContext ¶
func (o *PatchSearchParams) WithContext(ctx context.Context) *PatchSearchParams
WithContext adds the context to the patch search params
func (*PatchSearchParams) WithDefaults ¶
func (o *PatchSearchParams) WithDefaults() *PatchSearchParams
WithDefaults hydrates default values in the patch search params (not the query body).
All values with no default are reset to their zero value.
func (*PatchSearchParams) WithHTTPClient ¶
func (o *PatchSearchParams) WithHTTPClient(client *http.Client) *PatchSearchParams
WithHTTPClient adds the HTTPClient to the patch search params
func (*PatchSearchParams) WithOwner ¶
func (o *PatchSearchParams) WithOwner(owner string) *PatchSearchParams
WithOwner adds the owner to the patch search params
func (*PatchSearchParams) WithSearchUUID ¶
func (o *PatchSearchParams) WithSearchUUID(searchUUID string) *PatchSearchParams
WithSearchUUID adds the searchUUID to the patch search params
func (*PatchSearchParams) WithTimeout ¶
func (o *PatchSearchParams) WithTimeout(timeout time.Duration) *PatchSearchParams
WithTimeout adds the timeout to the patch search params
func (*PatchSearchParams) WriteToRequest ¶
func (o *PatchSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchSearchReader ¶
type PatchSearchReader struct {
// contains filtered or unexported fields
}
PatchSearchReader is a Reader for the PatchSearch structure.
func (*PatchSearchReader) ReadResponse ¶
func (o *PatchSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSearchDefault ¶
type UpdateSearchDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdateSearchDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateSearchDefault ¶
func NewUpdateSearchDefault(code int) *UpdateSearchDefault
NewUpdateSearchDefault creates a UpdateSearchDefault with default headers values
func (*UpdateSearchDefault) Code ¶
func (o *UpdateSearchDefault) Code() int
Code gets the status code for the update search default response
func (*UpdateSearchDefault) Error ¶
func (o *UpdateSearchDefault) Error() string
func (*UpdateSearchDefault) GetPayload ¶
func (o *UpdateSearchDefault) GetPayload() *service_model.RuntimeError
func (*UpdateSearchDefault) IsClientError ¶ added in v1.21.0
func (o *UpdateSearchDefault) IsClientError() bool
IsClientError returns true when this update search default response has a 4xx status code
func (*UpdateSearchDefault) IsCode ¶ added in v1.21.0
func (o *UpdateSearchDefault) IsCode(code int) bool
IsCode returns true when this update search default response a status code equal to that given
func (*UpdateSearchDefault) IsRedirect ¶ added in v1.21.0
func (o *UpdateSearchDefault) IsRedirect() bool
IsRedirect returns true when this update search default response has a 3xx status code
func (*UpdateSearchDefault) IsServerError ¶ added in v1.21.0
func (o *UpdateSearchDefault) IsServerError() bool
IsServerError returns true when this update search default response has a 5xx status code
func (*UpdateSearchDefault) IsSuccess ¶ added in v1.21.0
func (o *UpdateSearchDefault) IsSuccess() bool
IsSuccess returns true when this update search default response has a 2xx status code
func (*UpdateSearchDefault) String ¶ added in v1.21.0
func (o *UpdateSearchDefault) String() string
type UpdateSearchForbidden ¶
type UpdateSearchForbidden struct {
Payload interface{}
}
UpdateSearchForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdateSearchForbidden ¶
func NewUpdateSearchForbidden() *UpdateSearchForbidden
NewUpdateSearchForbidden creates a UpdateSearchForbidden with default headers values
func (*UpdateSearchForbidden) Code ¶ added in v1.22.0
func (o *UpdateSearchForbidden) Code() int
Code gets the status code for the update search forbidden response
func (*UpdateSearchForbidden) Error ¶
func (o *UpdateSearchForbidden) Error() string
func (*UpdateSearchForbidden) GetPayload ¶
func (o *UpdateSearchForbidden) GetPayload() interface{}
func (*UpdateSearchForbidden) IsClientError ¶ added in v1.21.0
func (o *UpdateSearchForbidden) IsClientError() bool
IsClientError returns true when this update search forbidden response has a 4xx status code
func (*UpdateSearchForbidden) IsCode ¶ added in v1.21.0
func (o *UpdateSearchForbidden) IsCode(code int) bool
IsCode returns true when this update search forbidden response a status code equal to that given
func (*UpdateSearchForbidden) IsRedirect ¶ added in v1.21.0
func (o *UpdateSearchForbidden) IsRedirect() bool
IsRedirect returns true when this update search forbidden response has a 3xx status code
func (*UpdateSearchForbidden) IsServerError ¶ added in v1.21.0
func (o *UpdateSearchForbidden) IsServerError() bool
IsServerError returns true when this update search forbidden response has a 5xx status code
func (*UpdateSearchForbidden) IsSuccess ¶ added in v1.21.0
func (o *UpdateSearchForbidden) IsSuccess() bool
IsSuccess returns true when this update search forbidden response has a 2xx status code
func (*UpdateSearchForbidden) String ¶ added in v1.21.0
func (o *UpdateSearchForbidden) String() string
type UpdateSearchNoContent ¶
type UpdateSearchNoContent struct {
Payload interface{}
}
UpdateSearchNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdateSearchNoContent ¶
func NewUpdateSearchNoContent() *UpdateSearchNoContent
NewUpdateSearchNoContent creates a UpdateSearchNoContent with default headers values
func (*UpdateSearchNoContent) Code ¶ added in v1.22.0
func (o *UpdateSearchNoContent) Code() int
Code gets the status code for the update search no content response
func (*UpdateSearchNoContent) Error ¶
func (o *UpdateSearchNoContent) Error() string
func (*UpdateSearchNoContent) GetPayload ¶
func (o *UpdateSearchNoContent) GetPayload() interface{}
func (*UpdateSearchNoContent) IsClientError ¶ added in v1.21.0
func (o *UpdateSearchNoContent) IsClientError() bool
IsClientError returns true when this update search no content response has a 4xx status code
func (*UpdateSearchNoContent) IsCode ¶ added in v1.21.0
func (o *UpdateSearchNoContent) IsCode(code int) bool
IsCode returns true when this update search no content response a status code equal to that given
func (*UpdateSearchNoContent) IsRedirect ¶ added in v1.21.0
func (o *UpdateSearchNoContent) IsRedirect() bool
IsRedirect returns true when this update search no content response has a 3xx status code
func (*UpdateSearchNoContent) IsServerError ¶ added in v1.21.0
func (o *UpdateSearchNoContent) IsServerError() bool
IsServerError returns true when this update search no content response has a 5xx status code
func (*UpdateSearchNoContent) IsSuccess ¶ added in v1.21.0
func (o *UpdateSearchNoContent) IsSuccess() bool
IsSuccess returns true when this update search no content response has a 2xx status code
func (*UpdateSearchNoContent) String ¶ added in v1.21.0
func (o *UpdateSearchNoContent) String() string
type UpdateSearchNotFound ¶
type UpdateSearchNotFound struct {
Payload interface{}
}
UpdateSearchNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdateSearchNotFound ¶
func NewUpdateSearchNotFound() *UpdateSearchNotFound
NewUpdateSearchNotFound creates a UpdateSearchNotFound with default headers values
func (*UpdateSearchNotFound) Code ¶ added in v1.22.0
func (o *UpdateSearchNotFound) Code() int
Code gets the status code for the update search not found response
func (*UpdateSearchNotFound) Error ¶
func (o *UpdateSearchNotFound) Error() string
func (*UpdateSearchNotFound) GetPayload ¶
func (o *UpdateSearchNotFound) GetPayload() interface{}
func (*UpdateSearchNotFound) IsClientError ¶ added in v1.21.0
func (o *UpdateSearchNotFound) IsClientError() bool
IsClientError returns true when this update search not found response has a 4xx status code
func (*UpdateSearchNotFound) IsCode ¶ added in v1.21.0
func (o *UpdateSearchNotFound) IsCode(code int) bool
IsCode returns true when this update search not found response a status code equal to that given
func (*UpdateSearchNotFound) IsRedirect ¶ added in v1.21.0
func (o *UpdateSearchNotFound) IsRedirect() bool
IsRedirect returns true when this update search not found response has a 3xx status code
func (*UpdateSearchNotFound) IsServerError ¶ added in v1.21.0
func (o *UpdateSearchNotFound) IsServerError() bool
IsServerError returns true when this update search not found response has a 5xx status code
func (*UpdateSearchNotFound) IsSuccess ¶ added in v1.21.0
func (o *UpdateSearchNotFound) IsSuccess() bool
IsSuccess returns true when this update search not found response has a 2xx status code
func (*UpdateSearchNotFound) String ¶ added in v1.21.0
func (o *UpdateSearchNotFound) String() string
type UpdateSearchOK ¶
type UpdateSearchOK struct {
Payload *service_model.V1Search
}
UpdateSearchOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateSearchOK ¶
func NewUpdateSearchOK() *UpdateSearchOK
NewUpdateSearchOK creates a UpdateSearchOK with default headers values
func (*UpdateSearchOK) Code ¶ added in v1.22.0
func (o *UpdateSearchOK) Code() int
Code gets the status code for the update search o k response
func (*UpdateSearchOK) Error ¶
func (o *UpdateSearchOK) Error() string
func (*UpdateSearchOK) GetPayload ¶
func (o *UpdateSearchOK) GetPayload() *service_model.V1Search
func (*UpdateSearchOK) IsClientError ¶ added in v1.21.0
func (o *UpdateSearchOK) IsClientError() bool
IsClientError returns true when this update search o k response has a 4xx status code
func (*UpdateSearchOK) IsCode ¶ added in v1.21.0
func (o *UpdateSearchOK) IsCode(code int) bool
IsCode returns true when this update search o k response a status code equal to that given
func (*UpdateSearchOK) IsRedirect ¶ added in v1.21.0
func (o *UpdateSearchOK) IsRedirect() bool
IsRedirect returns true when this update search o k response has a 3xx status code
func (*UpdateSearchOK) IsServerError ¶ added in v1.21.0
func (o *UpdateSearchOK) IsServerError() bool
IsServerError returns true when this update search o k response has a 5xx status code
func (*UpdateSearchOK) IsSuccess ¶ added in v1.21.0
func (o *UpdateSearchOK) IsSuccess() bool
IsSuccess returns true when this update search o k response has a 2xx status code
func (*UpdateSearchOK) String ¶ added in v1.21.0
func (o *UpdateSearchOK) String() string
type UpdateSearchParams ¶
type UpdateSearchParams struct { /* Body. Search body */ Body *service_model.V1Search /* Owner. Owner of the namespace */ Owner string /* SearchUUID. UUID */ SearchUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSearchParams contains all the parameters to send to the API endpoint
for the update search operation. Typically these are written to a http.Request.
func NewUpdateSearchParams ¶
func NewUpdateSearchParams() *UpdateSearchParams
NewUpdateSearchParams creates a new UpdateSearchParams 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 NewUpdateSearchParamsWithContext ¶
func NewUpdateSearchParamsWithContext(ctx context.Context) *UpdateSearchParams
NewUpdateSearchParamsWithContext creates a new UpdateSearchParams object with the ability to set a context for a request.
func NewUpdateSearchParamsWithHTTPClient ¶
func NewUpdateSearchParamsWithHTTPClient(client *http.Client) *UpdateSearchParams
NewUpdateSearchParamsWithHTTPClient creates a new UpdateSearchParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSearchParamsWithTimeout ¶
func NewUpdateSearchParamsWithTimeout(timeout time.Duration) *UpdateSearchParams
NewUpdateSearchParamsWithTimeout creates a new UpdateSearchParams object with the ability to set a timeout on a request.
func (*UpdateSearchParams) SetBody ¶
func (o *UpdateSearchParams) SetBody(body *service_model.V1Search)
SetBody adds the body to the update search params
func (*UpdateSearchParams) SetContext ¶
func (o *UpdateSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the update search params
func (*UpdateSearchParams) SetDefaults ¶
func (o *UpdateSearchParams) SetDefaults()
SetDefaults hydrates default values in the update search params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSearchParams) SetHTTPClient ¶
func (o *UpdateSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update search params
func (*UpdateSearchParams) SetOwner ¶
func (o *UpdateSearchParams) SetOwner(owner string)
SetOwner adds the owner to the update search params
func (*UpdateSearchParams) SetSearchUUID ¶
func (o *UpdateSearchParams) SetSearchUUID(searchUUID string)
SetSearchUUID adds the searchUuid to the update search params
func (*UpdateSearchParams) SetTimeout ¶
func (o *UpdateSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update search params
func (*UpdateSearchParams) WithBody ¶
func (o *UpdateSearchParams) WithBody(body *service_model.V1Search) *UpdateSearchParams
WithBody adds the body to the update search params
func (*UpdateSearchParams) WithContext ¶
func (o *UpdateSearchParams) WithContext(ctx context.Context) *UpdateSearchParams
WithContext adds the context to the update search params
func (*UpdateSearchParams) WithDefaults ¶
func (o *UpdateSearchParams) WithDefaults() *UpdateSearchParams
WithDefaults hydrates default values in the update search params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSearchParams) WithHTTPClient ¶
func (o *UpdateSearchParams) WithHTTPClient(client *http.Client) *UpdateSearchParams
WithHTTPClient adds the HTTPClient to the update search params
func (*UpdateSearchParams) WithOwner ¶
func (o *UpdateSearchParams) WithOwner(owner string) *UpdateSearchParams
WithOwner adds the owner to the update search params
func (*UpdateSearchParams) WithSearchUUID ¶
func (o *UpdateSearchParams) WithSearchUUID(searchUUID string) *UpdateSearchParams
WithSearchUUID adds the searchUUID to the update search params
func (*UpdateSearchParams) WithTimeout ¶
func (o *UpdateSearchParams) WithTimeout(timeout time.Duration) *UpdateSearchParams
WithTimeout adds the timeout to the update search params
func (*UpdateSearchParams) WriteToRequest ¶
func (o *UpdateSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSearchReader ¶
type UpdateSearchReader struct {
// contains filtered or unexported fields
}
UpdateSearchReader is a Reader for the UpdateSearch structure.
func (*UpdateSearchReader) ReadResponse ¶
func (o *UpdateSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_search_parameters.go
- create_search_responses.go
- delete_search_parameters.go
- delete_search_responses.go
- get_search_parameters.go
- get_search_responses.go
- list_search_names_parameters.go
- list_search_names_responses.go
- list_searches_parameters.go
- list_searches_responses.go
- patch_search_parameters.go
- patch_search_responses.go
- searches_v1_client.go
- update_search_parameters.go
- update_search_responses.go