searches_v1

package
v0.0.0-...-13a6dad Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

CreateSearch creates search

func (*Client) DeleteSearch

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

ListSearchNames lists search names

func (*Client) ListSearches

ListSearches lists searches

func (*Client) PatchSearch

PatchSearch patches search

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSearch

UpdateSearch updates search

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

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

func (o *CreateSearchForbidden) Error() string

func (*CreateSearchForbidden) GetPayload

func (o *CreateSearchForbidden) GetPayload() interface{}

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

func (o *CreateSearchNoContent) Error() string

func (*CreateSearchNoContent) GetPayload

func (o *CreateSearchNoContent) GetPayload() interface{}

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

func (o *CreateSearchNotFound) Error() string

func (*CreateSearchNotFound) GetPayload

func (o *CreateSearchNotFound) GetPayload() interface{}

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

func (o *CreateSearchOK) Error() string

func (*CreateSearchOK) GetPayload

func (o *CreateSearchOK) GetPayload() *service_model.V1Search

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

WithBody adds the body to the create search params

func (*CreateSearchParams) WithContext

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

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

func (o *DeleteSearchForbidden) Error() string

func (*DeleteSearchForbidden) GetPayload

func (o *DeleteSearchForbidden) GetPayload() interface{}

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

func (o *DeleteSearchNoContent) Error() string

func (*DeleteSearchNoContent) GetPayload

func (o *DeleteSearchNoContent) GetPayload() interface{}

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

func (o *DeleteSearchNotFound) Error() string

func (*DeleteSearchNotFound) GetPayload

func (o *DeleteSearchNotFound) GetPayload() interface{}

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

func (o *DeleteSearchOK) Error() 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

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

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

func (o *GetSearchForbidden) Error() string

func (*GetSearchForbidden) GetPayload

func (o *GetSearchForbidden) GetPayload() interface{}

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

func (o *GetSearchNoContent) Error() string

func (*GetSearchNoContent) GetPayload

func (o *GetSearchNoContent) GetPayload() interface{}

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

func (o *GetSearchNotFound) Error() string

func (*GetSearchNotFound) GetPayload

func (o *GetSearchNotFound) GetPayload() interface{}

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

func (o *GetSearchOK) Error() string

func (*GetSearchOK) GetPayload

func (o *GetSearchOK) GetPayload() *service_model.V1Search

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

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

func (o *ListSearchNamesForbidden) Error() string

func (*ListSearchNamesForbidden) GetPayload

func (o *ListSearchNamesForbidden) GetPayload() interface{}

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

func (o *ListSearchNamesNoContent) Error() string

func (*ListSearchNamesNoContent) GetPayload

func (o *ListSearchNamesNoContent) GetPayload() interface{}

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

func (o *ListSearchNamesNotFound) Error() string

func (*ListSearchNamesNotFound) GetPayload

func (o *ListSearchNamesNotFound) GetPayload() interface{}

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

func (o *ListSearchNamesOK) Error() string

func (*ListSearchNamesOK) GetPayload

type ListSearchNamesParams

type ListSearchNamesParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* 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) 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) 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) WithContext

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

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

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

func (o *ListSearchesForbidden) Error() string

func (*ListSearchesForbidden) GetPayload

func (o *ListSearchesForbidden) GetPayload() interface{}

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

func (o *ListSearchesNoContent) Error() string

func (*ListSearchesNoContent) GetPayload

func (o *ListSearchesNoContent) GetPayload() interface{}

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

func (o *ListSearchesNotFound) Error() string

func (*ListSearchesNotFound) GetPayload

func (o *ListSearchesNotFound) GetPayload() interface{}

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

func (o *ListSearchesOK) Error() string

func (*ListSearchesOK) GetPayload

type ListSearchesParams

type ListSearchesParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* 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) 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) 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) WithContext

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

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

func (o *PatchSearchForbidden) Error() string

func (*PatchSearchForbidden) GetPayload

func (o *PatchSearchForbidden) GetPayload() interface{}

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

func (o *PatchSearchNoContent) Error() string

func (*PatchSearchNoContent) GetPayload

func (o *PatchSearchNoContent) GetPayload() interface{}

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

func (o *PatchSearchNotFound) Error() string

func (*PatchSearchNotFound) GetPayload

func (o *PatchSearchNotFound) GetPayload() interface{}

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

func (o *PatchSearchOK) Error() string

func (*PatchSearchOK) GetPayload

func (o *PatchSearchOK) GetPayload() *service_model.V1Search

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

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

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

func (o *UpdateSearchForbidden) Error() string

func (*UpdateSearchForbidden) GetPayload

func (o *UpdateSearchForbidden) GetPayload() interface{}

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

func (o *UpdateSearchNoContent) Error() string

func (*UpdateSearchNoContent) GetPayload

func (o *UpdateSearchNoContent) GetPayload() interface{}

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

func (o *UpdateSearchNotFound) Error() string

func (*UpdateSearchNotFound) GetPayload

func (o *UpdateSearchNotFound) GetPayload() interface{}

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

func (o *UpdateSearchOK) Error() string

func (*UpdateSearchOK) GetPayload

func (o *UpdateSearchOK) GetPayload() *service_model.V1Search

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

WithBody adds the body to the update search params

func (*UpdateSearchParams) WithContext

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.

Jump to

Keyboard shortcuts

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