saved_searches

package
v0.0.0-...-4387d94 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for saved searches API

func (*Client) DeleteV1SavedSearchesResourceTypeSavedSearchID

DeleteV1SavedSearchesResourceTypeSavedSearchID deletes a specific saved search

Delete a specific saved search

func (*Client) GetV1SavedSearchesResourceType

func (a *Client) GetV1SavedSearchesResourceType(params *GetV1SavedSearchesResourceTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SavedSearchesResourceTypeOK, error)

GetV1SavedSearchesResourceType lists save searches

Lists save searches

func (*Client) GetV1SavedSearchesResourceTypeSavedSearchID

GetV1SavedSearchesResourceTypeSavedSearchID retrieves a specific save search

Retrieve a specific save search

func (*Client) PatchV1SavedSearchesResourceTypeSavedSearchID

PatchV1SavedSearchesResourceTypeSavedSearchID updates a specific saved search

Update a specific saved search

func (*Client) PostV1SavedSearchesResourceType

PostV1SavedSearchesResourceType creates saved search

Create a new saved search for a particular resource type

func (*Client) SetTransport

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

SetTransport changes the transport on the client

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 saved searches API client.

type DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent

type DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent struct {
}

DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent describes a response with status code 204, with default header values.

Delete a specific saved search

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent() *DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent

NewDeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent creates a DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent with default headers values

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent) Error

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent) IsClientError

IsClientError returns true when this delete v1 saved searches resource type saved search Id no content response has a 4xx status code

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent) IsCode

IsCode returns true when this delete v1 saved searches resource type saved search Id no content response a status code equal to that given

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 saved searches resource type saved search Id no content response has a 3xx status code

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent) IsServerError

IsServerError returns true when this delete v1 saved searches resource type saved search Id no content response has a 5xx status code

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 saved searches resource type saved search Id no content response has a 2xx status code

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDNoContent) String

type DeleteV1SavedSearchesResourceTypeSavedSearchIDParams

type DeleteV1SavedSearchesResourceTypeSavedSearchIDParams struct {

	// ResourceType.
	ResourceType string

	// SavedSearchID.
	SavedSearchID string

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

DeleteV1SavedSearchesResourceTypeSavedSearchIDParams contains all the parameters to send to the API endpoint

for the delete v1 saved searches resource type saved search Id operation.

Typically these are written to a http.Request.

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParams

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParams() *DeleteV1SavedSearchesResourceTypeSavedSearchIDParams

NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParams creates a new DeleteV1SavedSearchesResourceTypeSavedSearchIDParams 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 NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext(ctx context.Context) *DeleteV1SavedSearchesResourceTypeSavedSearchIDParams

NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext creates a new DeleteV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a context for a request.

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient(client *http.Client) *DeleteV1SavedSearchesResourceTypeSavedSearchIDParams

NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient creates a new DeleteV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout

func NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout(timeout time.Duration) *DeleteV1SavedSearchesResourceTypeSavedSearchIDParams

NewDeleteV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout creates a new DeleteV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a timeout on a request.

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetContext

SetContext adds the context to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 saved searches resource type saved search Id params (not the query body).

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

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetResourceType

func (o *DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetSavedSearchID

func (o *DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetSavedSearchID(savedSearchID string)

SetSavedSearchID adds the savedSearchId to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) WithContext

WithContext adds the context to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 saved searches resource type saved search Id params (not the query body).

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

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) WithResourceType

WithResourceType adds the resourceType to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) WithSavedSearchID

WithSavedSearchID adds the savedSearchID to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 saved searches resource type saved search Id params

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1SavedSearchesResourceTypeSavedSearchIDReader

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

DeleteV1SavedSearchesResourceTypeSavedSearchIDReader is a Reader for the DeleteV1SavedSearchesResourceTypeSavedSearchID structure.

func (*DeleteV1SavedSearchesResourceTypeSavedSearchIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1SavedSearchesResourceTypeOK

type GetV1SavedSearchesResourceTypeOK struct {
	Payload *models.SavedSearchEntity
}

GetV1SavedSearchesResourceTypeOK describes a response with status code 200, with default header values.

Lists save searches

func NewGetV1SavedSearchesResourceTypeOK

func NewGetV1SavedSearchesResourceTypeOK() *GetV1SavedSearchesResourceTypeOK

NewGetV1SavedSearchesResourceTypeOK creates a GetV1SavedSearchesResourceTypeOK with default headers values

func (*GetV1SavedSearchesResourceTypeOK) Error

func (*GetV1SavedSearchesResourceTypeOK) GetPayload

func (*GetV1SavedSearchesResourceTypeOK) IsClientError

func (o *GetV1SavedSearchesResourceTypeOK) IsClientError() bool

IsClientError returns true when this get v1 saved searches resource type o k response has a 4xx status code

func (*GetV1SavedSearchesResourceTypeOK) IsCode

func (o *GetV1SavedSearchesResourceTypeOK) IsCode(code int) bool

IsCode returns true when this get v1 saved searches resource type o k response a status code equal to that given

func (*GetV1SavedSearchesResourceTypeOK) IsRedirect

func (o *GetV1SavedSearchesResourceTypeOK) IsRedirect() bool

IsRedirect returns true when this get v1 saved searches resource type o k response has a 3xx status code

func (*GetV1SavedSearchesResourceTypeOK) IsServerError

func (o *GetV1SavedSearchesResourceTypeOK) IsServerError() bool

IsServerError returns true when this get v1 saved searches resource type o k response has a 5xx status code

func (*GetV1SavedSearchesResourceTypeOK) IsSuccess

func (o *GetV1SavedSearchesResourceTypeOK) IsSuccess() bool

IsSuccess returns true when this get v1 saved searches resource type o k response has a 2xx status code

func (*GetV1SavedSearchesResourceTypeOK) String

type GetV1SavedSearchesResourceTypeParams

type GetV1SavedSearchesResourceTypeParams struct {

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

	/* Query.

	   Filter saved searches with a query on their name
	*/
	Query *string

	// ResourceType.
	ResourceType string

	/* UserID.

	   The user ID used to filter saved searches.
	*/
	UserID *string

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

GetV1SavedSearchesResourceTypeParams contains all the parameters to send to the API endpoint

for the get v1 saved searches resource type operation.

Typically these are written to a http.Request.

func NewGetV1SavedSearchesResourceTypeParams

func NewGetV1SavedSearchesResourceTypeParams() *GetV1SavedSearchesResourceTypeParams

NewGetV1SavedSearchesResourceTypeParams creates a new GetV1SavedSearchesResourceTypeParams 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 NewGetV1SavedSearchesResourceTypeParamsWithContext

func NewGetV1SavedSearchesResourceTypeParamsWithContext(ctx context.Context) *GetV1SavedSearchesResourceTypeParams

NewGetV1SavedSearchesResourceTypeParamsWithContext creates a new GetV1SavedSearchesResourceTypeParams object with the ability to set a context for a request.

func NewGetV1SavedSearchesResourceTypeParamsWithHTTPClient

func NewGetV1SavedSearchesResourceTypeParamsWithHTTPClient(client *http.Client) *GetV1SavedSearchesResourceTypeParams

NewGetV1SavedSearchesResourceTypeParamsWithHTTPClient creates a new GetV1SavedSearchesResourceTypeParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1SavedSearchesResourceTypeParamsWithTimeout

func NewGetV1SavedSearchesResourceTypeParamsWithTimeout(timeout time.Duration) *GetV1SavedSearchesResourceTypeParams

NewGetV1SavedSearchesResourceTypeParamsWithTimeout creates a new GetV1SavedSearchesResourceTypeParams object with the ability to set a timeout on a request.

func (*GetV1SavedSearchesResourceTypeParams) SetContext

SetContext adds the context to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) SetDefaults

func (o *GetV1SavedSearchesResourceTypeParams) SetDefaults()

SetDefaults hydrates default values in the get v1 saved searches resource type params (not the query body).

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

func (*GetV1SavedSearchesResourceTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) SetPage

func (o *GetV1SavedSearchesResourceTypeParams) SetPage(page *int32)

SetPage adds the page to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) SetPerPage

func (o *GetV1SavedSearchesResourceTypeParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) SetQuery

func (o *GetV1SavedSearchesResourceTypeParams) SetQuery(query *string)

SetQuery adds the query to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) SetResourceType

func (o *GetV1SavedSearchesResourceTypeParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) SetUserID

func (o *GetV1SavedSearchesResourceTypeParams) SetUserID(userID *string)

SetUserID adds the userId to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithContext

WithContext adds the context to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithDefaults

WithDefaults hydrates default values in the get v1 saved searches resource type params (not the query body).

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

func (*GetV1SavedSearchesResourceTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithPage

WithPage adds the page to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithPerPage

WithPerPage adds the perPage to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithQuery

WithQuery adds the query to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithResourceType

WithResourceType adds the resourceType to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithTimeout

WithTimeout adds the timeout to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WithUserID

WithUserID adds the userID to the get v1 saved searches resource type params

func (*GetV1SavedSearchesResourceTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1SavedSearchesResourceTypeReader

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

GetV1SavedSearchesResourceTypeReader is a Reader for the GetV1SavedSearchesResourceType structure.

func (*GetV1SavedSearchesResourceTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1SavedSearchesResourceTypeSavedSearchIDOK

type GetV1SavedSearchesResourceTypeSavedSearchIDOK struct {
	Payload *models.SavedSearchEntity
}

GetV1SavedSearchesResourceTypeSavedSearchIDOK describes a response with status code 200, with default header values.

Retrieve a specific save search

func NewGetV1SavedSearchesResourceTypeSavedSearchIDOK

func NewGetV1SavedSearchesResourceTypeSavedSearchIDOK() *GetV1SavedSearchesResourceTypeSavedSearchIDOK

NewGetV1SavedSearchesResourceTypeSavedSearchIDOK creates a GetV1SavedSearchesResourceTypeSavedSearchIDOK with default headers values

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) Error

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) GetPayload

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) IsClientError

IsClientError returns true when this get v1 saved searches resource type saved search Id o k response has a 4xx status code

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) IsCode

IsCode returns true when this get v1 saved searches resource type saved search Id o k response a status code equal to that given

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) IsRedirect

IsRedirect returns true when this get v1 saved searches resource type saved search Id o k response has a 3xx status code

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) IsServerError

IsServerError returns true when this get v1 saved searches resource type saved search Id o k response has a 5xx status code

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) IsSuccess

IsSuccess returns true when this get v1 saved searches resource type saved search Id o k response has a 2xx status code

func (*GetV1SavedSearchesResourceTypeSavedSearchIDOK) String

type GetV1SavedSearchesResourceTypeSavedSearchIDParams

type GetV1SavedSearchesResourceTypeSavedSearchIDParams struct {

	// ResourceType.
	ResourceType string

	// SavedSearchID.
	SavedSearchID string

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

GetV1SavedSearchesResourceTypeSavedSearchIDParams contains all the parameters to send to the API endpoint

for the get v1 saved searches resource type saved search Id operation.

Typically these are written to a http.Request.

func NewGetV1SavedSearchesResourceTypeSavedSearchIDParams

func NewGetV1SavedSearchesResourceTypeSavedSearchIDParams() *GetV1SavedSearchesResourceTypeSavedSearchIDParams

NewGetV1SavedSearchesResourceTypeSavedSearchIDParams creates a new GetV1SavedSearchesResourceTypeSavedSearchIDParams 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 NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext

func NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext(ctx context.Context) *GetV1SavedSearchesResourceTypeSavedSearchIDParams

NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext creates a new GetV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a context for a request.

func NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient

func NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient(client *http.Client) *GetV1SavedSearchesResourceTypeSavedSearchIDParams

NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient creates a new GetV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout

func NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout(timeout time.Duration) *GetV1SavedSearchesResourceTypeSavedSearchIDParams

NewGetV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout creates a new GetV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a timeout on a request.

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetContext

SetContext adds the context to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 saved searches resource type saved search Id params (not the query body).

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

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetResourceType

func (o *GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetSavedSearchID

func (o *GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetSavedSearchID(savedSearchID string)

SetSavedSearchID adds the savedSearchId to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) WithContext

WithContext adds the context to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 saved searches resource type saved search Id params (not the query body).

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

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) WithResourceType

WithResourceType adds the resourceType to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) WithSavedSearchID

WithSavedSearchID adds the savedSearchID to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 saved searches resource type saved search Id params

func (*GetV1SavedSearchesResourceTypeSavedSearchIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1SavedSearchesResourceTypeSavedSearchIDReader

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

GetV1SavedSearchesResourceTypeSavedSearchIDReader is a Reader for the GetV1SavedSearchesResourceTypeSavedSearchID structure.

func (*GetV1SavedSearchesResourceTypeSavedSearchIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1SavedSearchesResourceTypeSavedSearchIDOK

type PatchV1SavedSearchesResourceTypeSavedSearchIDOK struct {
	Payload *models.SavedSearchEntity
}

PatchV1SavedSearchesResourceTypeSavedSearchIDOK describes a response with status code 200, with default header values.

Update a specific saved search

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDOK

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDOK() *PatchV1SavedSearchesResourceTypeSavedSearchIDOK

NewPatchV1SavedSearchesResourceTypeSavedSearchIDOK creates a PatchV1SavedSearchesResourceTypeSavedSearchIDOK with default headers values

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) Error

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) GetPayload

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) IsClientError

IsClientError returns true when this patch v1 saved searches resource type saved search Id o k response has a 4xx status code

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) IsCode

IsCode returns true when this patch v1 saved searches resource type saved search Id o k response a status code equal to that given

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) IsRedirect

IsRedirect returns true when this patch v1 saved searches resource type saved search Id o k response has a 3xx status code

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) IsServerError

IsServerError returns true when this patch v1 saved searches resource type saved search Id o k response has a 5xx status code

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) IsSuccess

IsSuccess returns true when this patch v1 saved searches resource type saved search Id o k response has a 2xx status code

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDOK) String

type PatchV1SavedSearchesResourceTypeSavedSearchIDParams

type PatchV1SavedSearchesResourceTypeSavedSearchIDParams struct {

	// PatchV1SavedSearchesResourceTypeSavedSearchID.
	PatchV1SavedSearchesResourceTypeSavedSearchID *models.PatchV1SavedSearchesResourceTypeSavedSearchID

	// ResourceType.
	ResourceType string

	// SavedSearchID.
	SavedSearchID string

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

PatchV1SavedSearchesResourceTypeSavedSearchIDParams contains all the parameters to send to the API endpoint

for the patch v1 saved searches resource type saved search Id operation.

Typically these are written to a http.Request.

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDParams

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDParams() *PatchV1SavedSearchesResourceTypeSavedSearchIDParams

NewPatchV1SavedSearchesResourceTypeSavedSearchIDParams creates a new PatchV1SavedSearchesResourceTypeSavedSearchIDParams 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 NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext(ctx context.Context) *PatchV1SavedSearchesResourceTypeSavedSearchIDParams

NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithContext creates a new PatchV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a context for a request.

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient(client *http.Client) *PatchV1SavedSearchesResourceTypeSavedSearchIDParams

NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithHTTPClient creates a new PatchV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout

func NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout(timeout time.Duration) *PatchV1SavedSearchesResourceTypeSavedSearchIDParams

NewPatchV1SavedSearchesResourceTypeSavedSearchIDParamsWithTimeout creates a new PatchV1SavedSearchesResourceTypeSavedSearchIDParams object with the ability to set a timeout on a request.

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetContext

SetContext adds the context to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 saved searches resource type saved search Id params (not the query body).

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

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetPatchV1SavedSearchesResourceTypeSavedSearchID

func (o *PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetPatchV1SavedSearchesResourceTypeSavedSearchID(patchV1SavedSearchesResourceTypeSavedSearchID *models.PatchV1SavedSearchesResourceTypeSavedSearchID)

SetPatchV1SavedSearchesResourceTypeSavedSearchID adds the patchV1SavedSearchesResourceTypeSavedSearchId to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetResourceType

func (o *PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetSavedSearchID

func (o *PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetSavedSearchID(savedSearchID string)

SetSavedSearchID adds the savedSearchId to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithContext

WithContext adds the context to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 saved searches resource type saved search Id params (not the query body).

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

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithPatchV1SavedSearchesResourceTypeSavedSearchID

func (o *PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithPatchV1SavedSearchesResourceTypeSavedSearchID(patchV1SavedSearchesResourceTypeSavedSearchID *models.PatchV1SavedSearchesResourceTypeSavedSearchID) *PatchV1SavedSearchesResourceTypeSavedSearchIDParams

WithPatchV1SavedSearchesResourceTypeSavedSearchID adds the patchV1SavedSearchesResourceTypeSavedSearchID to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithResourceType

WithResourceType adds the resourceType to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithSavedSearchID

WithSavedSearchID adds the savedSearchID to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 saved searches resource type saved search Id params

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1SavedSearchesResourceTypeSavedSearchIDReader

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

PatchV1SavedSearchesResourceTypeSavedSearchIDReader is a Reader for the PatchV1SavedSearchesResourceTypeSavedSearchID structure.

func (*PatchV1SavedSearchesResourceTypeSavedSearchIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1SavedSearchesResourceTypeCreated

type PostV1SavedSearchesResourceTypeCreated struct {
	Payload *models.SavedSearchEntity
}

PostV1SavedSearchesResourceTypeCreated describes a response with status code 201, with default header values.

Create a new saved search for a particular resource type

func NewPostV1SavedSearchesResourceTypeCreated

func NewPostV1SavedSearchesResourceTypeCreated() *PostV1SavedSearchesResourceTypeCreated

NewPostV1SavedSearchesResourceTypeCreated creates a PostV1SavedSearchesResourceTypeCreated with default headers values

func (*PostV1SavedSearchesResourceTypeCreated) Error

func (*PostV1SavedSearchesResourceTypeCreated) GetPayload

func (*PostV1SavedSearchesResourceTypeCreated) IsClientError

func (o *PostV1SavedSearchesResourceTypeCreated) IsClientError() bool

IsClientError returns true when this post v1 saved searches resource type created response has a 4xx status code

func (*PostV1SavedSearchesResourceTypeCreated) IsCode

IsCode returns true when this post v1 saved searches resource type created response a status code equal to that given

func (*PostV1SavedSearchesResourceTypeCreated) IsRedirect

IsRedirect returns true when this post v1 saved searches resource type created response has a 3xx status code

func (*PostV1SavedSearchesResourceTypeCreated) IsServerError

func (o *PostV1SavedSearchesResourceTypeCreated) IsServerError() bool

IsServerError returns true when this post v1 saved searches resource type created response has a 5xx status code

func (*PostV1SavedSearchesResourceTypeCreated) IsSuccess

IsSuccess returns true when this post v1 saved searches resource type created response has a 2xx status code

func (*PostV1SavedSearchesResourceTypeCreated) String

type PostV1SavedSearchesResourceTypeParams

type PostV1SavedSearchesResourceTypeParams struct {

	// PostV1SavedSearchesResourceType.
	PostV1SavedSearchesResourceType *models.PostV1SavedSearchesResourceType

	// ResourceType.
	ResourceType string

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

PostV1SavedSearchesResourceTypeParams contains all the parameters to send to the API endpoint

for the post v1 saved searches resource type operation.

Typically these are written to a http.Request.

func NewPostV1SavedSearchesResourceTypeParams

func NewPostV1SavedSearchesResourceTypeParams() *PostV1SavedSearchesResourceTypeParams

NewPostV1SavedSearchesResourceTypeParams creates a new PostV1SavedSearchesResourceTypeParams 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 NewPostV1SavedSearchesResourceTypeParamsWithContext

func NewPostV1SavedSearchesResourceTypeParamsWithContext(ctx context.Context) *PostV1SavedSearchesResourceTypeParams

NewPostV1SavedSearchesResourceTypeParamsWithContext creates a new PostV1SavedSearchesResourceTypeParams object with the ability to set a context for a request.

func NewPostV1SavedSearchesResourceTypeParamsWithHTTPClient

func NewPostV1SavedSearchesResourceTypeParamsWithHTTPClient(client *http.Client) *PostV1SavedSearchesResourceTypeParams

NewPostV1SavedSearchesResourceTypeParamsWithHTTPClient creates a new PostV1SavedSearchesResourceTypeParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1SavedSearchesResourceTypeParamsWithTimeout

func NewPostV1SavedSearchesResourceTypeParamsWithTimeout(timeout time.Duration) *PostV1SavedSearchesResourceTypeParams

NewPostV1SavedSearchesResourceTypeParamsWithTimeout creates a new PostV1SavedSearchesResourceTypeParams object with the ability to set a timeout on a request.

func (*PostV1SavedSearchesResourceTypeParams) SetContext

SetContext adds the context to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) SetDefaults

func (o *PostV1SavedSearchesResourceTypeParams) SetDefaults()

SetDefaults hydrates default values in the post v1 saved searches resource type params (not the query body).

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

func (*PostV1SavedSearchesResourceTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) SetPostV1SavedSearchesResourceType

func (o *PostV1SavedSearchesResourceTypeParams) SetPostV1SavedSearchesResourceType(postV1SavedSearchesResourceType *models.PostV1SavedSearchesResourceType)

SetPostV1SavedSearchesResourceType adds the postV1SavedSearchesResourceType to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) SetResourceType

func (o *PostV1SavedSearchesResourceTypeParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) WithContext

WithContext adds the context to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) WithDefaults

WithDefaults hydrates default values in the post v1 saved searches resource type params (not the query body).

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

func (*PostV1SavedSearchesResourceTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) WithPostV1SavedSearchesResourceType

func (o *PostV1SavedSearchesResourceTypeParams) WithPostV1SavedSearchesResourceType(postV1SavedSearchesResourceType *models.PostV1SavedSearchesResourceType) *PostV1SavedSearchesResourceTypeParams

WithPostV1SavedSearchesResourceType adds the postV1SavedSearchesResourceType to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) WithResourceType

WithResourceType adds the resourceType to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) WithTimeout

WithTimeout adds the timeout to the post v1 saved searches resource type params

func (*PostV1SavedSearchesResourceTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1SavedSearchesResourceTypeReader

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

PostV1SavedSearchesResourceTypeReader is a Reader for the PostV1SavedSearchesResourceType structure.

func (*PostV1SavedSearchesResourceTypeReader) ReadResponse

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