saved_search

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 10 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 search API

func (*Client) GetTasksSearchPhp

func (a *Client) GetTasksSearchPhp(params *GetTasksSearchPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTasksSearchPhpOK, error)

GetTasksSearchPhp get tasks search php API

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

type ClientService interface {
	GetTasksSearchPhp(params *GetTasksSearchPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTasksSearchPhpOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new saved search API client.

type GetTasksSearchPhpOK

type GetTasksSearchPhpOK struct {
	Payload map[string]models.SavedSearch
}

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

ok

func NewGetTasksSearchPhpOK

func NewGetTasksSearchPhpOK() *GetTasksSearchPhpOK

NewGetTasksSearchPhpOK creates a GetTasksSearchPhpOK with default headers values

func (*GetTasksSearchPhpOK) Error

func (o *GetTasksSearchPhpOK) Error() string

func (*GetTasksSearchPhpOK) GetPayload

func (o *GetTasksSearchPhpOK) GetPayload() map[string]models.SavedSearch

type GetTasksSearchPhpParams

type GetTasksSearchPhpParams struct {
	Context    ccontext.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTasksSearchPhpParams contains all the parameters to send to the API endpoint

for the get tasks search php operation.

Typically these are written to a http.Request.

func NewGetTasksSearchPhpParams

func NewGetTasksSearchPhpParams() *GetTasksSearchPhpParams

NewGetTasksSearchPhpParams creates a new GetTasksSearchPhpParams 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 NewGetTasksSearchPhpParamsWithContext

func NewGetTasksSearchPhpParamsWithContext(ctx ccontext.Context) *GetTasksSearchPhpParams

NewGetTasksSearchPhpParamsWithContext creates a new GetTasksSearchPhpParams object with the ability to set a context for a request.

func NewGetTasksSearchPhpParamsWithHTTPClient

func NewGetTasksSearchPhpParamsWithHTTPClient(client *http.Client) *GetTasksSearchPhpParams

NewGetTasksSearchPhpParamsWithHTTPClient creates a new GetTasksSearchPhpParams object with the ability to set a custom HTTPClient for a request.

func NewGetTasksSearchPhpParamsWithTimeout

func NewGetTasksSearchPhpParamsWithTimeout(timeout time.Duration) *GetTasksSearchPhpParams

NewGetTasksSearchPhpParamsWithTimeout creates a new GetTasksSearchPhpParams object with the ability to set a timeout on a request.

func (*GetTasksSearchPhpParams) SetContext

func (o *GetTasksSearchPhpParams) SetContext(ctx ccontext.Context)

SetContext adds the context to the get tasks search php params

func (*GetTasksSearchPhpParams) SetDefaults

func (o *GetTasksSearchPhpParams) SetDefaults()

SetDefaults hydrates default values in the get tasks search php params (not the query body).

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

func (*GetTasksSearchPhpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tasks search php params

func (*GetTasksSearchPhpParams) SetTimeout

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

SetTimeout adds the timeout to the get tasks search php params

func (*GetTasksSearchPhpParams) WithContext

WithContext adds the context to the get tasks search php params

func (*GetTasksSearchPhpParams) WithDefaults

WithDefaults hydrates default values in the get tasks search php params (not the query body).

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

func (*GetTasksSearchPhpParams) WithHTTPClient

func (o *GetTasksSearchPhpParams) WithHTTPClient(client *http.Client) *GetTasksSearchPhpParams

WithHTTPClient adds the HTTPClient to the get tasks search php params

func (*GetTasksSearchPhpParams) WithTimeout

WithTimeout adds the timeout to the get tasks search php params

func (*GetTasksSearchPhpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTasksSearchPhpReader

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

GetTasksSearchPhpReader is a Reader for the GetTasksSearchPhp structure.

func (*GetTasksSearchPhpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTasksSearchPhpServiceUnavailable

type GetTasksSearchPhpServiceUnavailable struct {
	Payload *models.Error
}

GetTasksSearchPhpServiceUnavailable describes a response with status code 503, with default header values.

ServiceUnavailable

func NewGetTasksSearchPhpServiceUnavailable

func NewGetTasksSearchPhpServiceUnavailable() *GetTasksSearchPhpServiceUnavailable

NewGetTasksSearchPhpServiceUnavailable creates a GetTasksSearchPhpServiceUnavailable with default headers values

func (*GetTasksSearchPhpServiceUnavailable) Error

func (*GetTasksSearchPhpServiceUnavailable) GetPayload

type GetTasksSearchPhpTooManyRequests

type GetTasksSearchPhpTooManyRequests struct {
	Payload *models.Error
}

GetTasksSearchPhpTooManyRequests describes a response with status code 429, with default header values.

TooManyRequests

func NewGetTasksSearchPhpTooManyRequests

func NewGetTasksSearchPhpTooManyRequests() *GetTasksSearchPhpTooManyRequests

NewGetTasksSearchPhpTooManyRequests creates a GetTasksSearchPhpTooManyRequests with default headers values

func (*GetTasksSearchPhpTooManyRequests) Error

func (*GetTasksSearchPhpTooManyRequests) GetPayload

type GetTasksSearchPhpUnauthorized

type GetTasksSearchPhpUnauthorized struct {
	Payload *models.Error
}

GetTasksSearchPhpUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetTasksSearchPhpUnauthorized

func NewGetTasksSearchPhpUnauthorized() *GetTasksSearchPhpUnauthorized

NewGetTasksSearchPhpUnauthorized creates a GetTasksSearchPhpUnauthorized with default headers values

func (*GetTasksSearchPhpUnauthorized) Error

func (*GetTasksSearchPhpUnauthorized) GetPayload

func (o *GetTasksSearchPhpUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

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