saved_trace_search

package
v1.0.0-pre.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 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 saved trace search API

func (*Client) CreateSavedTraceSearch

func (a *Client) CreateSavedTraceSearch(params *CreateSavedTraceSearchParams, opts ...ClientOption) (*CreateSavedTraceSearchOK, error)
CreateSavedTraceSearch ***

Saved Trace Searches ***

func (*Client) DeleteSavedTraceSearch

func (a *Client) DeleteSavedTraceSearch(params *DeleteSavedTraceSearchParams, opts ...ClientOption) (*DeleteSavedTraceSearchOK, error)

DeleteSavedTraceSearch delete saved trace search API

func (*Client) ListSavedTraceSearches

func (a *Client) ListSavedTraceSearches(params *ListSavedTraceSearchesParams, opts ...ClientOption) (*ListSavedTraceSearchesOK, error)

ListSavedTraceSearches list saved trace searches API

func (*Client) ReadSavedTraceSearch

func (a *Client) ReadSavedTraceSearch(params *ReadSavedTraceSearchParams, opts ...ClientOption) (*ReadSavedTraceSearchOK, error)

ReadSavedTraceSearch read saved trace search API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSavedTraceSearch

func (a *Client) UpdateSavedTraceSearch(params *UpdateSavedTraceSearchParams, opts ...ClientOption) (*UpdateSavedTraceSearchOK, error)

UpdateSavedTraceSearch update saved trace search API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateSavedTraceSearch(params *CreateSavedTraceSearchParams, opts ...ClientOption) (*CreateSavedTraceSearchOK, error)

	DeleteSavedTraceSearch(params *DeleteSavedTraceSearchParams, opts ...ClientOption) (*DeleteSavedTraceSearchOK, error)

	ListSavedTraceSearches(params *ListSavedTraceSearchesParams, opts ...ClientOption) (*ListSavedTraceSearchesOK, error)

	ReadSavedTraceSearch(params *ReadSavedTraceSearchParams, opts ...ClientOption) (*ReadSavedTraceSearchOK, error)

	UpdateSavedTraceSearch(params *UpdateSavedTraceSearchParams, opts ...ClientOption) (*UpdateSavedTraceSearchOK, 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 trace search API client.

type CreateSavedTraceSearchBadRequest

type CreateSavedTraceSearchBadRequest struct {
	Payload *models.APIError
}

CreateSavedTraceSearchBadRequest describes a response with status code 400, with default header values.

Cannot create the SavedTraceSearch because the request is invalid.

func NewCreateSavedTraceSearchBadRequest

func NewCreateSavedTraceSearchBadRequest() *CreateSavedTraceSearchBadRequest

NewCreateSavedTraceSearchBadRequest creates a CreateSavedTraceSearchBadRequest with default headers values

func (*CreateSavedTraceSearchBadRequest) Code

Code gets the status code for the create saved trace search bad request response

func (*CreateSavedTraceSearchBadRequest) Error

func (*CreateSavedTraceSearchBadRequest) GetPayload

func (*CreateSavedTraceSearchBadRequest) IsClientError

func (o *CreateSavedTraceSearchBadRequest) IsClientError() bool

IsClientError returns true when this create saved trace search bad request response has a 4xx status code

func (*CreateSavedTraceSearchBadRequest) IsCode

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

IsCode returns true when this create saved trace search bad request response a status code equal to that given

func (*CreateSavedTraceSearchBadRequest) IsRedirect

func (o *CreateSavedTraceSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this create saved trace search bad request response has a 3xx status code

func (*CreateSavedTraceSearchBadRequest) IsServerError

func (o *CreateSavedTraceSearchBadRequest) IsServerError() bool

IsServerError returns true when this create saved trace search bad request response has a 5xx status code

func (*CreateSavedTraceSearchBadRequest) IsSuccess

func (o *CreateSavedTraceSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this create saved trace search bad request response has a 2xx status code

func (*CreateSavedTraceSearchBadRequest) String

type CreateSavedTraceSearchConflict

type CreateSavedTraceSearchConflict struct {
	Payload *models.APIError
}

CreateSavedTraceSearchConflict describes a response with status code 409, with default header values.

Cannot create the SavedTraceSearch because there is a conflict with an existing SavedTraceSearch.

func NewCreateSavedTraceSearchConflict

func NewCreateSavedTraceSearchConflict() *CreateSavedTraceSearchConflict

NewCreateSavedTraceSearchConflict creates a CreateSavedTraceSearchConflict with default headers values

func (*CreateSavedTraceSearchConflict) Code

Code gets the status code for the create saved trace search conflict response

func (*CreateSavedTraceSearchConflict) Error

func (*CreateSavedTraceSearchConflict) GetPayload

func (*CreateSavedTraceSearchConflict) IsClientError

func (o *CreateSavedTraceSearchConflict) IsClientError() bool

IsClientError returns true when this create saved trace search conflict response has a 4xx status code

func (*CreateSavedTraceSearchConflict) IsCode

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

IsCode returns true when this create saved trace search conflict response a status code equal to that given

func (*CreateSavedTraceSearchConflict) IsRedirect

func (o *CreateSavedTraceSearchConflict) IsRedirect() bool

IsRedirect returns true when this create saved trace search conflict response has a 3xx status code

func (*CreateSavedTraceSearchConflict) IsServerError

func (o *CreateSavedTraceSearchConflict) IsServerError() bool

IsServerError returns true when this create saved trace search conflict response has a 5xx status code

func (*CreateSavedTraceSearchConflict) IsSuccess

func (o *CreateSavedTraceSearchConflict) IsSuccess() bool

IsSuccess returns true when this create saved trace search conflict response has a 2xx status code

func (*CreateSavedTraceSearchConflict) String

type CreateSavedTraceSearchDefault

type CreateSavedTraceSearchDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateSavedTraceSearchDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateSavedTraceSearchDefault

func NewCreateSavedTraceSearchDefault(code int) *CreateSavedTraceSearchDefault

NewCreateSavedTraceSearchDefault creates a CreateSavedTraceSearchDefault with default headers values

func (*CreateSavedTraceSearchDefault) Code

Code gets the status code for the create saved trace search default response

func (*CreateSavedTraceSearchDefault) Error

func (*CreateSavedTraceSearchDefault) GetPayload

func (*CreateSavedTraceSearchDefault) IsClientError

func (o *CreateSavedTraceSearchDefault) IsClientError() bool

IsClientError returns true when this create saved trace search default response has a 4xx status code

func (*CreateSavedTraceSearchDefault) IsCode

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

IsCode returns true when this create saved trace search default response a status code equal to that given

func (*CreateSavedTraceSearchDefault) IsRedirect

func (o *CreateSavedTraceSearchDefault) IsRedirect() bool

IsRedirect returns true when this create saved trace search default response has a 3xx status code

func (*CreateSavedTraceSearchDefault) IsServerError

func (o *CreateSavedTraceSearchDefault) IsServerError() bool

IsServerError returns true when this create saved trace search default response has a 5xx status code

func (*CreateSavedTraceSearchDefault) IsSuccess

func (o *CreateSavedTraceSearchDefault) IsSuccess() bool

IsSuccess returns true when this create saved trace search default response has a 2xx status code

func (*CreateSavedTraceSearchDefault) String

type CreateSavedTraceSearchInternalServerError

type CreateSavedTraceSearchInternalServerError struct {
	Payload *models.APIError
}

CreateSavedTraceSearchInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewCreateSavedTraceSearchInternalServerError

func NewCreateSavedTraceSearchInternalServerError() *CreateSavedTraceSearchInternalServerError

NewCreateSavedTraceSearchInternalServerError creates a CreateSavedTraceSearchInternalServerError with default headers values

func (*CreateSavedTraceSearchInternalServerError) Code

Code gets the status code for the create saved trace search internal server error response

func (*CreateSavedTraceSearchInternalServerError) Error

func (*CreateSavedTraceSearchInternalServerError) GetPayload

func (*CreateSavedTraceSearchInternalServerError) IsClientError

IsClientError returns true when this create saved trace search internal server error response has a 4xx status code

func (*CreateSavedTraceSearchInternalServerError) IsCode

IsCode returns true when this create saved trace search internal server error response a status code equal to that given

func (*CreateSavedTraceSearchInternalServerError) IsRedirect

IsRedirect returns true when this create saved trace search internal server error response has a 3xx status code

func (*CreateSavedTraceSearchInternalServerError) IsServerError

IsServerError returns true when this create saved trace search internal server error response has a 5xx status code

func (*CreateSavedTraceSearchInternalServerError) IsSuccess

IsSuccess returns true when this create saved trace search internal server error response has a 2xx status code

func (*CreateSavedTraceSearchInternalServerError) String

type CreateSavedTraceSearchOK

type CreateSavedTraceSearchOK struct {
	Payload *models.ConfigunstableCreateSavedTraceSearchResponse
}

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

A successful response containing the created SavedTraceSearch.

func NewCreateSavedTraceSearchOK

func NewCreateSavedTraceSearchOK() *CreateSavedTraceSearchOK

NewCreateSavedTraceSearchOK creates a CreateSavedTraceSearchOK with default headers values

func (*CreateSavedTraceSearchOK) Code

func (o *CreateSavedTraceSearchOK) Code() int

Code gets the status code for the create saved trace search o k response

func (*CreateSavedTraceSearchOK) Error

func (o *CreateSavedTraceSearchOK) Error() string

func (*CreateSavedTraceSearchOK) GetPayload

func (*CreateSavedTraceSearchOK) IsClientError

func (o *CreateSavedTraceSearchOK) IsClientError() bool

IsClientError returns true when this create saved trace search o k response has a 4xx status code

func (*CreateSavedTraceSearchOK) IsCode

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

IsCode returns true when this create saved trace search o k response a status code equal to that given

func (*CreateSavedTraceSearchOK) IsRedirect

func (o *CreateSavedTraceSearchOK) IsRedirect() bool

IsRedirect returns true when this create saved trace search o k response has a 3xx status code

func (*CreateSavedTraceSearchOK) IsServerError

func (o *CreateSavedTraceSearchOK) IsServerError() bool

IsServerError returns true when this create saved trace search o k response has a 5xx status code

func (*CreateSavedTraceSearchOK) IsSuccess

func (o *CreateSavedTraceSearchOK) IsSuccess() bool

IsSuccess returns true when this create saved trace search o k response has a 2xx status code

func (*CreateSavedTraceSearchOK) String

func (o *CreateSavedTraceSearchOK) String() string

type CreateSavedTraceSearchParams

type CreateSavedTraceSearchParams struct {

	// Body.
	Body *models.ConfigunstableCreateSavedTraceSearchRequest

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

CreateSavedTraceSearchParams contains all the parameters to send to the API endpoint

for the create saved trace search operation.

Typically these are written to a http.Request.

func NewCreateSavedTraceSearchParams

func NewCreateSavedTraceSearchParams() *CreateSavedTraceSearchParams

NewCreateSavedTraceSearchParams creates a new CreateSavedTraceSearchParams 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 NewCreateSavedTraceSearchParamsWithContext

func NewCreateSavedTraceSearchParamsWithContext(ctx context.Context) *CreateSavedTraceSearchParams

NewCreateSavedTraceSearchParamsWithContext creates a new CreateSavedTraceSearchParams object with the ability to set a context for a request.

func NewCreateSavedTraceSearchParamsWithHTTPClient

func NewCreateSavedTraceSearchParamsWithHTTPClient(client *http.Client) *CreateSavedTraceSearchParams

NewCreateSavedTraceSearchParamsWithHTTPClient creates a new CreateSavedTraceSearchParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSavedTraceSearchParamsWithTimeout

func NewCreateSavedTraceSearchParamsWithTimeout(timeout time.Duration) *CreateSavedTraceSearchParams

NewCreateSavedTraceSearchParamsWithTimeout creates a new CreateSavedTraceSearchParams object with the ability to set a timeout on a request.

func (*CreateSavedTraceSearchParams) SetBody

SetBody adds the body to the create saved trace search params

func (*CreateSavedTraceSearchParams) SetContext

func (o *CreateSavedTraceSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the create saved trace search params

func (*CreateSavedTraceSearchParams) SetDefaults

func (o *CreateSavedTraceSearchParams) SetDefaults()

SetDefaults hydrates default values in the create saved trace search params (not the query body).

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

func (*CreateSavedTraceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create saved trace search params

func (*CreateSavedTraceSearchParams) SetTimeout

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

SetTimeout adds the timeout to the create saved trace search params

func (*CreateSavedTraceSearchParams) WithBody

WithBody adds the body to the create saved trace search params

func (*CreateSavedTraceSearchParams) WithContext

WithContext adds the context to the create saved trace search params

func (*CreateSavedTraceSearchParams) WithDefaults

WithDefaults hydrates default values in the create saved trace search params (not the query body).

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

func (*CreateSavedTraceSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create saved trace search params

func (*CreateSavedTraceSearchParams) WithTimeout

WithTimeout adds the timeout to the create saved trace search params

func (*CreateSavedTraceSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSavedTraceSearchReader

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

CreateSavedTraceSearchReader is a Reader for the CreateSavedTraceSearch structure.

func (*CreateSavedTraceSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSavedTraceSearchBadRequest

type DeleteSavedTraceSearchBadRequest struct {
	Payload *models.APIError
}

DeleteSavedTraceSearchBadRequest describes a response with status code 400, with default header values.

Cannot delete the SavedTraceSearch because it is in use.

func NewDeleteSavedTraceSearchBadRequest

func NewDeleteSavedTraceSearchBadRequest() *DeleteSavedTraceSearchBadRequest

NewDeleteSavedTraceSearchBadRequest creates a DeleteSavedTraceSearchBadRequest with default headers values

func (*DeleteSavedTraceSearchBadRequest) Code

Code gets the status code for the delete saved trace search bad request response

func (*DeleteSavedTraceSearchBadRequest) Error

func (*DeleteSavedTraceSearchBadRequest) GetPayload

func (*DeleteSavedTraceSearchBadRequest) IsClientError

func (o *DeleteSavedTraceSearchBadRequest) IsClientError() bool

IsClientError returns true when this delete saved trace search bad request response has a 4xx status code

func (*DeleteSavedTraceSearchBadRequest) IsCode

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

IsCode returns true when this delete saved trace search bad request response a status code equal to that given

func (*DeleteSavedTraceSearchBadRequest) IsRedirect

func (o *DeleteSavedTraceSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this delete saved trace search bad request response has a 3xx status code

func (*DeleteSavedTraceSearchBadRequest) IsServerError

func (o *DeleteSavedTraceSearchBadRequest) IsServerError() bool

IsServerError returns true when this delete saved trace search bad request response has a 5xx status code

func (*DeleteSavedTraceSearchBadRequest) IsSuccess

func (o *DeleteSavedTraceSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this delete saved trace search bad request response has a 2xx status code

func (*DeleteSavedTraceSearchBadRequest) String

type DeleteSavedTraceSearchDefault

type DeleteSavedTraceSearchDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteSavedTraceSearchDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteSavedTraceSearchDefault

func NewDeleteSavedTraceSearchDefault(code int) *DeleteSavedTraceSearchDefault

NewDeleteSavedTraceSearchDefault creates a DeleteSavedTraceSearchDefault with default headers values

func (*DeleteSavedTraceSearchDefault) Code

Code gets the status code for the delete saved trace search default response

func (*DeleteSavedTraceSearchDefault) Error

func (*DeleteSavedTraceSearchDefault) GetPayload

func (*DeleteSavedTraceSearchDefault) IsClientError

func (o *DeleteSavedTraceSearchDefault) IsClientError() bool

IsClientError returns true when this delete saved trace search default response has a 4xx status code

func (*DeleteSavedTraceSearchDefault) IsCode

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

IsCode returns true when this delete saved trace search default response a status code equal to that given

func (*DeleteSavedTraceSearchDefault) IsRedirect

func (o *DeleteSavedTraceSearchDefault) IsRedirect() bool

IsRedirect returns true when this delete saved trace search default response has a 3xx status code

func (*DeleteSavedTraceSearchDefault) IsServerError

func (o *DeleteSavedTraceSearchDefault) IsServerError() bool

IsServerError returns true when this delete saved trace search default response has a 5xx status code

func (*DeleteSavedTraceSearchDefault) IsSuccess

func (o *DeleteSavedTraceSearchDefault) IsSuccess() bool

IsSuccess returns true when this delete saved trace search default response has a 2xx status code

func (*DeleteSavedTraceSearchDefault) String

type DeleteSavedTraceSearchInternalServerError

type DeleteSavedTraceSearchInternalServerError struct {
	Payload *models.APIError
}

DeleteSavedTraceSearchInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewDeleteSavedTraceSearchInternalServerError

func NewDeleteSavedTraceSearchInternalServerError() *DeleteSavedTraceSearchInternalServerError

NewDeleteSavedTraceSearchInternalServerError creates a DeleteSavedTraceSearchInternalServerError with default headers values

func (*DeleteSavedTraceSearchInternalServerError) Code

Code gets the status code for the delete saved trace search internal server error response

func (*DeleteSavedTraceSearchInternalServerError) Error

func (*DeleteSavedTraceSearchInternalServerError) GetPayload

func (*DeleteSavedTraceSearchInternalServerError) IsClientError

IsClientError returns true when this delete saved trace search internal server error response has a 4xx status code

func (*DeleteSavedTraceSearchInternalServerError) IsCode

IsCode returns true when this delete saved trace search internal server error response a status code equal to that given

func (*DeleteSavedTraceSearchInternalServerError) IsRedirect

IsRedirect returns true when this delete saved trace search internal server error response has a 3xx status code

func (*DeleteSavedTraceSearchInternalServerError) IsServerError

IsServerError returns true when this delete saved trace search internal server error response has a 5xx status code

func (*DeleteSavedTraceSearchInternalServerError) IsSuccess

IsSuccess returns true when this delete saved trace search internal server error response has a 2xx status code

func (*DeleteSavedTraceSearchInternalServerError) String

type DeleteSavedTraceSearchNotFound

type DeleteSavedTraceSearchNotFound struct {
	Payload *models.APIError
}

DeleteSavedTraceSearchNotFound describes a response with status code 404, with default header values.

Cannot delete the SavedTraceSearch because the slug does not exist.

func NewDeleteSavedTraceSearchNotFound

func NewDeleteSavedTraceSearchNotFound() *DeleteSavedTraceSearchNotFound

NewDeleteSavedTraceSearchNotFound creates a DeleteSavedTraceSearchNotFound with default headers values

func (*DeleteSavedTraceSearchNotFound) Code

Code gets the status code for the delete saved trace search not found response

func (*DeleteSavedTraceSearchNotFound) Error

func (*DeleteSavedTraceSearchNotFound) GetPayload

func (*DeleteSavedTraceSearchNotFound) IsClientError

func (o *DeleteSavedTraceSearchNotFound) IsClientError() bool

IsClientError returns true when this delete saved trace search not found response has a 4xx status code

func (*DeleteSavedTraceSearchNotFound) IsCode

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

IsCode returns true when this delete saved trace search not found response a status code equal to that given

func (*DeleteSavedTraceSearchNotFound) IsRedirect

func (o *DeleteSavedTraceSearchNotFound) IsRedirect() bool

IsRedirect returns true when this delete saved trace search not found response has a 3xx status code

func (*DeleteSavedTraceSearchNotFound) IsServerError

func (o *DeleteSavedTraceSearchNotFound) IsServerError() bool

IsServerError returns true when this delete saved trace search not found response has a 5xx status code

func (*DeleteSavedTraceSearchNotFound) IsSuccess

func (o *DeleteSavedTraceSearchNotFound) IsSuccess() bool

IsSuccess returns true when this delete saved trace search not found response has a 2xx status code

func (*DeleteSavedTraceSearchNotFound) String

type DeleteSavedTraceSearchOK

type DeleteSavedTraceSearchOK struct {
	Payload models.ConfigunstableDeleteSavedTraceSearchResponse
}

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

A successful response.

func NewDeleteSavedTraceSearchOK

func NewDeleteSavedTraceSearchOK() *DeleteSavedTraceSearchOK

NewDeleteSavedTraceSearchOK creates a DeleteSavedTraceSearchOK with default headers values

func (*DeleteSavedTraceSearchOK) Code

func (o *DeleteSavedTraceSearchOK) Code() int

Code gets the status code for the delete saved trace search o k response

func (*DeleteSavedTraceSearchOK) Error

func (o *DeleteSavedTraceSearchOK) Error() string

func (*DeleteSavedTraceSearchOK) GetPayload

func (*DeleteSavedTraceSearchOK) IsClientError

func (o *DeleteSavedTraceSearchOK) IsClientError() bool

IsClientError returns true when this delete saved trace search o k response has a 4xx status code

func (*DeleteSavedTraceSearchOK) IsCode

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

IsCode returns true when this delete saved trace search o k response a status code equal to that given

func (*DeleteSavedTraceSearchOK) IsRedirect

func (o *DeleteSavedTraceSearchOK) IsRedirect() bool

IsRedirect returns true when this delete saved trace search o k response has a 3xx status code

func (*DeleteSavedTraceSearchOK) IsServerError

func (o *DeleteSavedTraceSearchOK) IsServerError() bool

IsServerError returns true when this delete saved trace search o k response has a 5xx status code

func (*DeleteSavedTraceSearchOK) IsSuccess

func (o *DeleteSavedTraceSearchOK) IsSuccess() bool

IsSuccess returns true when this delete saved trace search o k response has a 2xx status code

func (*DeleteSavedTraceSearchOK) String

func (o *DeleteSavedTraceSearchOK) String() string

type DeleteSavedTraceSearchParams

type DeleteSavedTraceSearchParams struct {

	// Slug.
	Slug string

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

DeleteSavedTraceSearchParams contains all the parameters to send to the API endpoint

for the delete saved trace search operation.

Typically these are written to a http.Request.

func NewDeleteSavedTraceSearchParams

func NewDeleteSavedTraceSearchParams() *DeleteSavedTraceSearchParams

NewDeleteSavedTraceSearchParams creates a new DeleteSavedTraceSearchParams 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 NewDeleteSavedTraceSearchParamsWithContext

func NewDeleteSavedTraceSearchParamsWithContext(ctx context.Context) *DeleteSavedTraceSearchParams

NewDeleteSavedTraceSearchParamsWithContext creates a new DeleteSavedTraceSearchParams object with the ability to set a context for a request.

func NewDeleteSavedTraceSearchParamsWithHTTPClient

func NewDeleteSavedTraceSearchParamsWithHTTPClient(client *http.Client) *DeleteSavedTraceSearchParams

NewDeleteSavedTraceSearchParamsWithHTTPClient creates a new DeleteSavedTraceSearchParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSavedTraceSearchParamsWithTimeout

func NewDeleteSavedTraceSearchParamsWithTimeout(timeout time.Duration) *DeleteSavedTraceSearchParams

NewDeleteSavedTraceSearchParamsWithTimeout creates a new DeleteSavedTraceSearchParams object with the ability to set a timeout on a request.

func (*DeleteSavedTraceSearchParams) SetContext

func (o *DeleteSavedTraceSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) SetDefaults

func (o *DeleteSavedTraceSearchParams) SetDefaults()

SetDefaults hydrates default values in the delete saved trace search params (not the query body).

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

func (*DeleteSavedTraceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) SetSlug

func (o *DeleteSavedTraceSearchParams) SetSlug(slug string)

SetSlug adds the slug to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) SetTimeout

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

SetTimeout adds the timeout to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) WithContext

WithContext adds the context to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) WithDefaults

WithDefaults hydrates default values in the delete saved trace search params (not the query body).

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

func (*DeleteSavedTraceSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) WithSlug

WithSlug adds the slug to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) WithTimeout

WithTimeout adds the timeout to the delete saved trace search params

func (*DeleteSavedTraceSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSavedTraceSearchReader

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

DeleteSavedTraceSearchReader is a Reader for the DeleteSavedTraceSearch structure.

func (*DeleteSavedTraceSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSavedTraceSearchesDefault

type ListSavedTraceSearchesDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListSavedTraceSearchesDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListSavedTraceSearchesDefault

func NewListSavedTraceSearchesDefault(code int) *ListSavedTraceSearchesDefault

NewListSavedTraceSearchesDefault creates a ListSavedTraceSearchesDefault with default headers values

func (*ListSavedTraceSearchesDefault) Code

Code gets the status code for the list saved trace searches default response

func (*ListSavedTraceSearchesDefault) Error

func (*ListSavedTraceSearchesDefault) GetPayload

func (*ListSavedTraceSearchesDefault) IsClientError

func (o *ListSavedTraceSearchesDefault) IsClientError() bool

IsClientError returns true when this list saved trace searches default response has a 4xx status code

func (*ListSavedTraceSearchesDefault) IsCode

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

IsCode returns true when this list saved trace searches default response a status code equal to that given

func (*ListSavedTraceSearchesDefault) IsRedirect

func (o *ListSavedTraceSearchesDefault) IsRedirect() bool

IsRedirect returns true when this list saved trace searches default response has a 3xx status code

func (*ListSavedTraceSearchesDefault) IsServerError

func (o *ListSavedTraceSearchesDefault) IsServerError() bool

IsServerError returns true when this list saved trace searches default response has a 5xx status code

func (*ListSavedTraceSearchesDefault) IsSuccess

func (o *ListSavedTraceSearchesDefault) IsSuccess() bool

IsSuccess returns true when this list saved trace searches default response has a 2xx status code

func (*ListSavedTraceSearchesDefault) String

type ListSavedTraceSearchesInternalServerError

type ListSavedTraceSearchesInternalServerError struct {
	Payload *models.APIError
}

ListSavedTraceSearchesInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListSavedTraceSearchesInternalServerError

func NewListSavedTraceSearchesInternalServerError() *ListSavedTraceSearchesInternalServerError

NewListSavedTraceSearchesInternalServerError creates a ListSavedTraceSearchesInternalServerError with default headers values

func (*ListSavedTraceSearchesInternalServerError) Code

Code gets the status code for the list saved trace searches internal server error response

func (*ListSavedTraceSearchesInternalServerError) Error

func (*ListSavedTraceSearchesInternalServerError) GetPayload

func (*ListSavedTraceSearchesInternalServerError) IsClientError

IsClientError returns true when this list saved trace searches internal server error response has a 4xx status code

func (*ListSavedTraceSearchesInternalServerError) IsCode

IsCode returns true when this list saved trace searches internal server error response a status code equal to that given

func (*ListSavedTraceSearchesInternalServerError) IsRedirect

IsRedirect returns true when this list saved trace searches internal server error response has a 3xx status code

func (*ListSavedTraceSearchesInternalServerError) IsServerError

IsServerError returns true when this list saved trace searches internal server error response has a 5xx status code

func (*ListSavedTraceSearchesInternalServerError) IsSuccess

IsSuccess returns true when this list saved trace searches internal server error response has a 2xx status code

func (*ListSavedTraceSearchesInternalServerError) String

type ListSavedTraceSearchesOK

type ListSavedTraceSearchesOK struct {
	Payload *models.ConfigunstableListSavedTraceSearchesResponse
}

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

A successful response.

func NewListSavedTraceSearchesOK

func NewListSavedTraceSearchesOK() *ListSavedTraceSearchesOK

NewListSavedTraceSearchesOK creates a ListSavedTraceSearchesOK with default headers values

func (*ListSavedTraceSearchesOK) Code

func (o *ListSavedTraceSearchesOK) Code() int

Code gets the status code for the list saved trace searches o k response

func (*ListSavedTraceSearchesOK) Error

func (o *ListSavedTraceSearchesOK) Error() string

func (*ListSavedTraceSearchesOK) GetPayload

func (*ListSavedTraceSearchesOK) IsClientError

func (o *ListSavedTraceSearchesOK) IsClientError() bool

IsClientError returns true when this list saved trace searches o k response has a 4xx status code

func (*ListSavedTraceSearchesOK) IsCode

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

IsCode returns true when this list saved trace searches o k response a status code equal to that given

func (*ListSavedTraceSearchesOK) IsRedirect

func (o *ListSavedTraceSearchesOK) IsRedirect() bool

IsRedirect returns true when this list saved trace searches o k response has a 3xx status code

func (*ListSavedTraceSearchesOK) IsServerError

func (o *ListSavedTraceSearchesOK) IsServerError() bool

IsServerError returns true when this list saved trace searches o k response has a 5xx status code

func (*ListSavedTraceSearchesOK) IsSuccess

func (o *ListSavedTraceSearchesOK) IsSuccess() bool

IsSuccess returns true when this list saved trace searches o k response has a 2xx status code

func (*ListSavedTraceSearchesOK) String

func (o *ListSavedTraceSearchesOK) String() string

type ListSavedTraceSearchesParams

type ListSavedTraceSearchesParams struct {

	/* CreatedBy.

	   Optional filter: creator email address.
	*/
	CreatedBy *string

	/* Names.

	   Filters results by name, where any SavedTraceSearch with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any SavedTraceSearch with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

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

ListSavedTraceSearchesParams contains all the parameters to send to the API endpoint

for the list saved trace searches operation.

Typically these are written to a http.Request.

func NewListSavedTraceSearchesParams

func NewListSavedTraceSearchesParams() *ListSavedTraceSearchesParams

NewListSavedTraceSearchesParams creates a new ListSavedTraceSearchesParams 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 NewListSavedTraceSearchesParamsWithContext

func NewListSavedTraceSearchesParamsWithContext(ctx context.Context) *ListSavedTraceSearchesParams

NewListSavedTraceSearchesParamsWithContext creates a new ListSavedTraceSearchesParams object with the ability to set a context for a request.

func NewListSavedTraceSearchesParamsWithHTTPClient

func NewListSavedTraceSearchesParamsWithHTTPClient(client *http.Client) *ListSavedTraceSearchesParams

NewListSavedTraceSearchesParamsWithHTTPClient creates a new ListSavedTraceSearchesParams object with the ability to set a custom HTTPClient for a request.

func NewListSavedTraceSearchesParamsWithTimeout

func NewListSavedTraceSearchesParamsWithTimeout(timeout time.Duration) *ListSavedTraceSearchesParams

NewListSavedTraceSearchesParamsWithTimeout creates a new ListSavedTraceSearchesParams object with the ability to set a timeout on a request.

func (*ListSavedTraceSearchesParams) SetContext

func (o *ListSavedTraceSearchesParams) SetContext(ctx context.Context)

SetContext adds the context to the list saved trace searches params

func (*ListSavedTraceSearchesParams) SetCreatedBy

func (o *ListSavedTraceSearchesParams) SetCreatedBy(createdBy *string)

SetCreatedBy adds the createdBy to the list saved trace searches params

func (*ListSavedTraceSearchesParams) SetDefaults

func (o *ListSavedTraceSearchesParams) SetDefaults()

SetDefaults hydrates default values in the list saved trace searches params (not the query body).

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

func (*ListSavedTraceSearchesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list saved trace searches params

func (*ListSavedTraceSearchesParams) SetNames

func (o *ListSavedTraceSearchesParams) SetNames(names []string)

SetNames adds the names to the list saved trace searches params

func (*ListSavedTraceSearchesParams) SetPageMaxSize

func (o *ListSavedTraceSearchesParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list saved trace searches params

func (*ListSavedTraceSearchesParams) SetPageToken

func (o *ListSavedTraceSearchesParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list saved trace searches params

func (*ListSavedTraceSearchesParams) SetSlugs

func (o *ListSavedTraceSearchesParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list saved trace searches params

func (*ListSavedTraceSearchesParams) SetTimeout

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

SetTimeout adds the timeout to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithContext

WithContext adds the context to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithCreatedBy

WithCreatedBy adds the createdBy to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithDefaults

WithDefaults hydrates default values in the list saved trace searches params (not the query body).

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

func (*ListSavedTraceSearchesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithNames

WithNames adds the names to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithPageMaxSize

func (o *ListSavedTraceSearchesParams) WithPageMaxSize(pageMaxSize *int64) *ListSavedTraceSearchesParams

WithPageMaxSize adds the pageMaxSize to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithPageToken

WithPageToken adds the pageToken to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithSlugs

WithSlugs adds the slugs to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WithTimeout

WithTimeout adds the timeout to the list saved trace searches params

func (*ListSavedTraceSearchesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSavedTraceSearchesReader

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

ListSavedTraceSearchesReader is a Reader for the ListSavedTraceSearches structure.

func (*ListSavedTraceSearchesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadSavedTraceSearchDefault

type ReadSavedTraceSearchDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadSavedTraceSearchDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadSavedTraceSearchDefault

func NewReadSavedTraceSearchDefault(code int) *ReadSavedTraceSearchDefault

NewReadSavedTraceSearchDefault creates a ReadSavedTraceSearchDefault with default headers values

func (*ReadSavedTraceSearchDefault) Code

func (o *ReadSavedTraceSearchDefault) Code() int

Code gets the status code for the read saved trace search default response

func (*ReadSavedTraceSearchDefault) Error

func (*ReadSavedTraceSearchDefault) GetPayload

func (*ReadSavedTraceSearchDefault) IsClientError

func (o *ReadSavedTraceSearchDefault) IsClientError() bool

IsClientError returns true when this read saved trace search default response has a 4xx status code

func (*ReadSavedTraceSearchDefault) IsCode

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

IsCode returns true when this read saved trace search default response a status code equal to that given

func (*ReadSavedTraceSearchDefault) IsRedirect

func (o *ReadSavedTraceSearchDefault) IsRedirect() bool

IsRedirect returns true when this read saved trace search default response has a 3xx status code

func (*ReadSavedTraceSearchDefault) IsServerError

func (o *ReadSavedTraceSearchDefault) IsServerError() bool

IsServerError returns true when this read saved trace search default response has a 5xx status code

func (*ReadSavedTraceSearchDefault) IsSuccess

func (o *ReadSavedTraceSearchDefault) IsSuccess() bool

IsSuccess returns true when this read saved trace search default response has a 2xx status code

func (*ReadSavedTraceSearchDefault) String

func (o *ReadSavedTraceSearchDefault) String() string

type ReadSavedTraceSearchInternalServerError

type ReadSavedTraceSearchInternalServerError struct {
	Payload *models.APIError
}

ReadSavedTraceSearchInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadSavedTraceSearchInternalServerError

func NewReadSavedTraceSearchInternalServerError() *ReadSavedTraceSearchInternalServerError

NewReadSavedTraceSearchInternalServerError creates a ReadSavedTraceSearchInternalServerError with default headers values

func (*ReadSavedTraceSearchInternalServerError) Code

Code gets the status code for the read saved trace search internal server error response

func (*ReadSavedTraceSearchInternalServerError) Error

func (*ReadSavedTraceSearchInternalServerError) GetPayload

func (*ReadSavedTraceSearchInternalServerError) IsClientError

func (o *ReadSavedTraceSearchInternalServerError) IsClientError() bool

IsClientError returns true when this read saved trace search internal server error response has a 4xx status code

func (*ReadSavedTraceSearchInternalServerError) IsCode

IsCode returns true when this read saved trace search internal server error response a status code equal to that given

func (*ReadSavedTraceSearchInternalServerError) IsRedirect

IsRedirect returns true when this read saved trace search internal server error response has a 3xx status code

func (*ReadSavedTraceSearchInternalServerError) IsServerError

func (o *ReadSavedTraceSearchInternalServerError) IsServerError() bool

IsServerError returns true when this read saved trace search internal server error response has a 5xx status code

func (*ReadSavedTraceSearchInternalServerError) IsSuccess

IsSuccess returns true when this read saved trace search internal server error response has a 2xx status code

func (*ReadSavedTraceSearchInternalServerError) String

type ReadSavedTraceSearchNotFound

type ReadSavedTraceSearchNotFound struct {
	Payload *models.APIError
}

ReadSavedTraceSearchNotFound describes a response with status code 404, with default header values.

Cannot read the SavedTraceSearch because the slug does not exist.

func NewReadSavedTraceSearchNotFound

func NewReadSavedTraceSearchNotFound() *ReadSavedTraceSearchNotFound

NewReadSavedTraceSearchNotFound creates a ReadSavedTraceSearchNotFound with default headers values

func (*ReadSavedTraceSearchNotFound) Code

Code gets the status code for the read saved trace search not found response

func (*ReadSavedTraceSearchNotFound) Error

func (*ReadSavedTraceSearchNotFound) GetPayload

func (o *ReadSavedTraceSearchNotFound) GetPayload() *models.APIError

func (*ReadSavedTraceSearchNotFound) IsClientError

func (o *ReadSavedTraceSearchNotFound) IsClientError() bool

IsClientError returns true when this read saved trace search not found response has a 4xx status code

func (*ReadSavedTraceSearchNotFound) IsCode

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

IsCode returns true when this read saved trace search not found response a status code equal to that given

func (*ReadSavedTraceSearchNotFound) IsRedirect

func (o *ReadSavedTraceSearchNotFound) IsRedirect() bool

IsRedirect returns true when this read saved trace search not found response has a 3xx status code

func (*ReadSavedTraceSearchNotFound) IsServerError

func (o *ReadSavedTraceSearchNotFound) IsServerError() bool

IsServerError returns true when this read saved trace search not found response has a 5xx status code

func (*ReadSavedTraceSearchNotFound) IsSuccess

func (o *ReadSavedTraceSearchNotFound) IsSuccess() bool

IsSuccess returns true when this read saved trace search not found response has a 2xx status code

func (*ReadSavedTraceSearchNotFound) String

type ReadSavedTraceSearchOK

type ReadSavedTraceSearchOK struct {
	Payload *models.ConfigunstableReadSavedTraceSearchResponse
}

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

A successful response.

func NewReadSavedTraceSearchOK

func NewReadSavedTraceSearchOK() *ReadSavedTraceSearchOK

NewReadSavedTraceSearchOK creates a ReadSavedTraceSearchOK with default headers values

func (*ReadSavedTraceSearchOK) Code

func (o *ReadSavedTraceSearchOK) Code() int

Code gets the status code for the read saved trace search o k response

func (*ReadSavedTraceSearchOK) Error

func (o *ReadSavedTraceSearchOK) Error() string

func (*ReadSavedTraceSearchOK) GetPayload

func (*ReadSavedTraceSearchOK) IsClientError

func (o *ReadSavedTraceSearchOK) IsClientError() bool

IsClientError returns true when this read saved trace search o k response has a 4xx status code

func (*ReadSavedTraceSearchOK) IsCode

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

IsCode returns true when this read saved trace search o k response a status code equal to that given

func (*ReadSavedTraceSearchOK) IsRedirect

func (o *ReadSavedTraceSearchOK) IsRedirect() bool

IsRedirect returns true when this read saved trace search o k response has a 3xx status code

func (*ReadSavedTraceSearchOK) IsServerError

func (o *ReadSavedTraceSearchOK) IsServerError() bool

IsServerError returns true when this read saved trace search o k response has a 5xx status code

func (*ReadSavedTraceSearchOK) IsSuccess

func (o *ReadSavedTraceSearchOK) IsSuccess() bool

IsSuccess returns true when this read saved trace search o k response has a 2xx status code

func (*ReadSavedTraceSearchOK) String

func (o *ReadSavedTraceSearchOK) String() string

type ReadSavedTraceSearchParams

type ReadSavedTraceSearchParams struct {

	// Slug.
	Slug string

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

ReadSavedTraceSearchParams contains all the parameters to send to the API endpoint

for the read saved trace search operation.

Typically these are written to a http.Request.

func NewReadSavedTraceSearchParams

func NewReadSavedTraceSearchParams() *ReadSavedTraceSearchParams

NewReadSavedTraceSearchParams creates a new ReadSavedTraceSearchParams 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 NewReadSavedTraceSearchParamsWithContext

func NewReadSavedTraceSearchParamsWithContext(ctx context.Context) *ReadSavedTraceSearchParams

NewReadSavedTraceSearchParamsWithContext creates a new ReadSavedTraceSearchParams object with the ability to set a context for a request.

func NewReadSavedTraceSearchParamsWithHTTPClient

func NewReadSavedTraceSearchParamsWithHTTPClient(client *http.Client) *ReadSavedTraceSearchParams

NewReadSavedTraceSearchParamsWithHTTPClient creates a new ReadSavedTraceSearchParams object with the ability to set a custom HTTPClient for a request.

func NewReadSavedTraceSearchParamsWithTimeout

func NewReadSavedTraceSearchParamsWithTimeout(timeout time.Duration) *ReadSavedTraceSearchParams

NewReadSavedTraceSearchParamsWithTimeout creates a new ReadSavedTraceSearchParams object with the ability to set a timeout on a request.

func (*ReadSavedTraceSearchParams) SetContext

func (o *ReadSavedTraceSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the read saved trace search params

func (*ReadSavedTraceSearchParams) SetDefaults

func (o *ReadSavedTraceSearchParams) SetDefaults()

SetDefaults hydrates default values in the read saved trace search params (not the query body).

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

func (*ReadSavedTraceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read saved trace search params

func (*ReadSavedTraceSearchParams) SetSlug

func (o *ReadSavedTraceSearchParams) SetSlug(slug string)

SetSlug adds the slug to the read saved trace search params

func (*ReadSavedTraceSearchParams) SetTimeout

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

SetTimeout adds the timeout to the read saved trace search params

func (*ReadSavedTraceSearchParams) WithContext

WithContext adds the context to the read saved trace search params

func (*ReadSavedTraceSearchParams) WithDefaults

WithDefaults hydrates default values in the read saved trace search params (not the query body).

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

func (*ReadSavedTraceSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read saved trace search params

func (*ReadSavedTraceSearchParams) WithSlug

WithSlug adds the slug to the read saved trace search params

func (*ReadSavedTraceSearchParams) WithTimeout

WithTimeout adds the timeout to the read saved trace search params

func (*ReadSavedTraceSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadSavedTraceSearchReader

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

ReadSavedTraceSearchReader is a Reader for the ReadSavedTraceSearch structure.

func (*ReadSavedTraceSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSavedTraceSearchBadRequest

type UpdateSavedTraceSearchBadRequest struct {
	Payload *models.APIError
}

UpdateSavedTraceSearchBadRequest describes a response with status code 400, with default header values.

Cannot update the SavedTraceSearch because the request is invalid.

func NewUpdateSavedTraceSearchBadRequest

func NewUpdateSavedTraceSearchBadRequest() *UpdateSavedTraceSearchBadRequest

NewUpdateSavedTraceSearchBadRequest creates a UpdateSavedTraceSearchBadRequest with default headers values

func (*UpdateSavedTraceSearchBadRequest) Code

Code gets the status code for the update saved trace search bad request response

func (*UpdateSavedTraceSearchBadRequest) Error

func (*UpdateSavedTraceSearchBadRequest) GetPayload

func (*UpdateSavedTraceSearchBadRequest) IsClientError

func (o *UpdateSavedTraceSearchBadRequest) IsClientError() bool

IsClientError returns true when this update saved trace search bad request response has a 4xx status code

func (*UpdateSavedTraceSearchBadRequest) IsCode

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

IsCode returns true when this update saved trace search bad request response a status code equal to that given

func (*UpdateSavedTraceSearchBadRequest) IsRedirect

func (o *UpdateSavedTraceSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this update saved trace search bad request response has a 3xx status code

func (*UpdateSavedTraceSearchBadRequest) IsServerError

func (o *UpdateSavedTraceSearchBadRequest) IsServerError() bool

IsServerError returns true when this update saved trace search bad request response has a 5xx status code

func (*UpdateSavedTraceSearchBadRequest) IsSuccess

func (o *UpdateSavedTraceSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this update saved trace search bad request response has a 2xx status code

func (*UpdateSavedTraceSearchBadRequest) String

type UpdateSavedTraceSearchBody

type UpdateSavedTraceSearchBody struct {

	// If true, the SavedTraceSearch will be created if it does not already exist, identified by slug. If false, an error will be returned if the SavedTraceSearch does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// saved trace search
	SavedTraceSearch *models.ConfigunstableSavedTraceSearch `json:"saved_trace_search,omitempty"`
}

UpdateSavedTraceSearchBody update saved trace search body swagger:model UpdateSavedTraceSearchBody

func (*UpdateSavedTraceSearchBody) ContextValidate

func (o *UpdateSavedTraceSearchBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update saved trace search body based on the context it is used

func (*UpdateSavedTraceSearchBody) MarshalBinary

func (o *UpdateSavedTraceSearchBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSavedTraceSearchBody) UnmarshalBinary

func (o *UpdateSavedTraceSearchBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSavedTraceSearchBody) Validate

func (o *UpdateSavedTraceSearchBody) Validate(formats strfmt.Registry) error

Validate validates this update saved trace search body

type UpdateSavedTraceSearchConflict

type UpdateSavedTraceSearchConflict struct {
	Payload *models.APIError
}

UpdateSavedTraceSearchConflict describes a response with status code 409, with default header values.

Cannot update the SavedTraceSearch because there is a conflict with an existing SavedTraceSearch.

func NewUpdateSavedTraceSearchConflict

func NewUpdateSavedTraceSearchConflict() *UpdateSavedTraceSearchConflict

NewUpdateSavedTraceSearchConflict creates a UpdateSavedTraceSearchConflict with default headers values

func (*UpdateSavedTraceSearchConflict) Code

Code gets the status code for the update saved trace search conflict response

func (*UpdateSavedTraceSearchConflict) Error

func (*UpdateSavedTraceSearchConflict) GetPayload

func (*UpdateSavedTraceSearchConflict) IsClientError

func (o *UpdateSavedTraceSearchConflict) IsClientError() bool

IsClientError returns true when this update saved trace search conflict response has a 4xx status code

func (*UpdateSavedTraceSearchConflict) IsCode

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

IsCode returns true when this update saved trace search conflict response a status code equal to that given

func (*UpdateSavedTraceSearchConflict) IsRedirect

func (o *UpdateSavedTraceSearchConflict) IsRedirect() bool

IsRedirect returns true when this update saved trace search conflict response has a 3xx status code

func (*UpdateSavedTraceSearchConflict) IsServerError

func (o *UpdateSavedTraceSearchConflict) IsServerError() bool

IsServerError returns true when this update saved trace search conflict response has a 5xx status code

func (*UpdateSavedTraceSearchConflict) IsSuccess

func (o *UpdateSavedTraceSearchConflict) IsSuccess() bool

IsSuccess returns true when this update saved trace search conflict response has a 2xx status code

func (*UpdateSavedTraceSearchConflict) String

type UpdateSavedTraceSearchDefault

type UpdateSavedTraceSearchDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateSavedTraceSearchDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateSavedTraceSearchDefault

func NewUpdateSavedTraceSearchDefault(code int) *UpdateSavedTraceSearchDefault

NewUpdateSavedTraceSearchDefault creates a UpdateSavedTraceSearchDefault with default headers values

func (*UpdateSavedTraceSearchDefault) Code

Code gets the status code for the update saved trace search default response

func (*UpdateSavedTraceSearchDefault) Error

func (*UpdateSavedTraceSearchDefault) GetPayload

func (*UpdateSavedTraceSearchDefault) IsClientError

func (o *UpdateSavedTraceSearchDefault) IsClientError() bool

IsClientError returns true when this update saved trace search default response has a 4xx status code

func (*UpdateSavedTraceSearchDefault) IsCode

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

IsCode returns true when this update saved trace search default response a status code equal to that given

func (*UpdateSavedTraceSearchDefault) IsRedirect

func (o *UpdateSavedTraceSearchDefault) IsRedirect() bool

IsRedirect returns true when this update saved trace search default response has a 3xx status code

func (*UpdateSavedTraceSearchDefault) IsServerError

func (o *UpdateSavedTraceSearchDefault) IsServerError() bool

IsServerError returns true when this update saved trace search default response has a 5xx status code

func (*UpdateSavedTraceSearchDefault) IsSuccess

func (o *UpdateSavedTraceSearchDefault) IsSuccess() bool

IsSuccess returns true when this update saved trace search default response has a 2xx status code

func (*UpdateSavedTraceSearchDefault) String

type UpdateSavedTraceSearchInternalServerError

type UpdateSavedTraceSearchInternalServerError struct {
	Payload *models.APIError
}

UpdateSavedTraceSearchInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateSavedTraceSearchInternalServerError

func NewUpdateSavedTraceSearchInternalServerError() *UpdateSavedTraceSearchInternalServerError

NewUpdateSavedTraceSearchInternalServerError creates a UpdateSavedTraceSearchInternalServerError with default headers values

func (*UpdateSavedTraceSearchInternalServerError) Code

Code gets the status code for the update saved trace search internal server error response

func (*UpdateSavedTraceSearchInternalServerError) Error

func (*UpdateSavedTraceSearchInternalServerError) GetPayload

func (*UpdateSavedTraceSearchInternalServerError) IsClientError

IsClientError returns true when this update saved trace search internal server error response has a 4xx status code

func (*UpdateSavedTraceSearchInternalServerError) IsCode

IsCode returns true when this update saved trace search internal server error response a status code equal to that given

func (*UpdateSavedTraceSearchInternalServerError) IsRedirect

IsRedirect returns true when this update saved trace search internal server error response has a 3xx status code

func (*UpdateSavedTraceSearchInternalServerError) IsServerError

IsServerError returns true when this update saved trace search internal server error response has a 5xx status code

func (*UpdateSavedTraceSearchInternalServerError) IsSuccess

IsSuccess returns true when this update saved trace search internal server error response has a 2xx status code

func (*UpdateSavedTraceSearchInternalServerError) String

type UpdateSavedTraceSearchNotFound

type UpdateSavedTraceSearchNotFound struct {
	Payload *models.APIError
}

UpdateSavedTraceSearchNotFound describes a response with status code 404, with default header values.

Cannot update the SavedTraceSearch because the slug does not exist.

func NewUpdateSavedTraceSearchNotFound

func NewUpdateSavedTraceSearchNotFound() *UpdateSavedTraceSearchNotFound

NewUpdateSavedTraceSearchNotFound creates a UpdateSavedTraceSearchNotFound with default headers values

func (*UpdateSavedTraceSearchNotFound) Code

Code gets the status code for the update saved trace search not found response

func (*UpdateSavedTraceSearchNotFound) Error

func (*UpdateSavedTraceSearchNotFound) GetPayload

func (*UpdateSavedTraceSearchNotFound) IsClientError

func (o *UpdateSavedTraceSearchNotFound) IsClientError() bool

IsClientError returns true when this update saved trace search not found response has a 4xx status code

func (*UpdateSavedTraceSearchNotFound) IsCode

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

IsCode returns true when this update saved trace search not found response a status code equal to that given

func (*UpdateSavedTraceSearchNotFound) IsRedirect

func (o *UpdateSavedTraceSearchNotFound) IsRedirect() bool

IsRedirect returns true when this update saved trace search not found response has a 3xx status code

func (*UpdateSavedTraceSearchNotFound) IsServerError

func (o *UpdateSavedTraceSearchNotFound) IsServerError() bool

IsServerError returns true when this update saved trace search not found response has a 5xx status code

func (*UpdateSavedTraceSearchNotFound) IsSuccess

func (o *UpdateSavedTraceSearchNotFound) IsSuccess() bool

IsSuccess returns true when this update saved trace search not found response has a 2xx status code

func (*UpdateSavedTraceSearchNotFound) String

type UpdateSavedTraceSearchOK

type UpdateSavedTraceSearchOK struct {
	Payload *models.ConfigunstableUpdateSavedTraceSearchResponse
}

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

A successful response containing the updated SavedTraceSearch.

func NewUpdateSavedTraceSearchOK

func NewUpdateSavedTraceSearchOK() *UpdateSavedTraceSearchOK

NewUpdateSavedTraceSearchOK creates a UpdateSavedTraceSearchOK with default headers values

func (*UpdateSavedTraceSearchOK) Code

func (o *UpdateSavedTraceSearchOK) Code() int

Code gets the status code for the update saved trace search o k response

func (*UpdateSavedTraceSearchOK) Error

func (o *UpdateSavedTraceSearchOK) Error() string

func (*UpdateSavedTraceSearchOK) GetPayload

func (*UpdateSavedTraceSearchOK) IsClientError

func (o *UpdateSavedTraceSearchOK) IsClientError() bool

IsClientError returns true when this update saved trace search o k response has a 4xx status code

func (*UpdateSavedTraceSearchOK) IsCode

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

IsCode returns true when this update saved trace search o k response a status code equal to that given

func (*UpdateSavedTraceSearchOK) IsRedirect

func (o *UpdateSavedTraceSearchOK) IsRedirect() bool

IsRedirect returns true when this update saved trace search o k response has a 3xx status code

func (*UpdateSavedTraceSearchOK) IsServerError

func (o *UpdateSavedTraceSearchOK) IsServerError() bool

IsServerError returns true when this update saved trace search o k response has a 5xx status code

func (*UpdateSavedTraceSearchOK) IsSuccess

func (o *UpdateSavedTraceSearchOK) IsSuccess() bool

IsSuccess returns true when this update saved trace search o k response has a 2xx status code

func (*UpdateSavedTraceSearchOK) String

func (o *UpdateSavedTraceSearchOK) String() string

type UpdateSavedTraceSearchParams

type UpdateSavedTraceSearchParams struct {

	// Body.
	Body UpdateSavedTraceSearchBody

	// Slug.
	Slug string

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

UpdateSavedTraceSearchParams contains all the parameters to send to the API endpoint

for the update saved trace search operation.

Typically these are written to a http.Request.

func NewUpdateSavedTraceSearchParams

func NewUpdateSavedTraceSearchParams() *UpdateSavedTraceSearchParams

NewUpdateSavedTraceSearchParams creates a new UpdateSavedTraceSearchParams 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 NewUpdateSavedTraceSearchParamsWithContext

func NewUpdateSavedTraceSearchParamsWithContext(ctx context.Context) *UpdateSavedTraceSearchParams

NewUpdateSavedTraceSearchParamsWithContext creates a new UpdateSavedTraceSearchParams object with the ability to set a context for a request.

func NewUpdateSavedTraceSearchParamsWithHTTPClient

func NewUpdateSavedTraceSearchParamsWithHTTPClient(client *http.Client) *UpdateSavedTraceSearchParams

NewUpdateSavedTraceSearchParamsWithHTTPClient creates a new UpdateSavedTraceSearchParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSavedTraceSearchParamsWithTimeout

func NewUpdateSavedTraceSearchParamsWithTimeout(timeout time.Duration) *UpdateSavedTraceSearchParams

NewUpdateSavedTraceSearchParamsWithTimeout creates a new UpdateSavedTraceSearchParams object with the ability to set a timeout on a request.

func (*UpdateSavedTraceSearchParams) SetBody

SetBody adds the body to the update saved trace search params

func (*UpdateSavedTraceSearchParams) SetContext

func (o *UpdateSavedTraceSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the update saved trace search params

func (*UpdateSavedTraceSearchParams) SetDefaults

func (o *UpdateSavedTraceSearchParams) SetDefaults()

SetDefaults hydrates default values in the update saved trace search params (not the query body).

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

func (*UpdateSavedTraceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update saved trace search params

func (*UpdateSavedTraceSearchParams) SetSlug

func (o *UpdateSavedTraceSearchParams) SetSlug(slug string)

SetSlug adds the slug to the update saved trace search params

func (*UpdateSavedTraceSearchParams) SetTimeout

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

SetTimeout adds the timeout to the update saved trace search params

func (*UpdateSavedTraceSearchParams) WithBody

WithBody adds the body to the update saved trace search params

func (*UpdateSavedTraceSearchParams) WithContext

WithContext adds the context to the update saved trace search params

func (*UpdateSavedTraceSearchParams) WithDefaults

WithDefaults hydrates default values in the update saved trace search params (not the query body).

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

func (*UpdateSavedTraceSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update saved trace search params

func (*UpdateSavedTraceSearchParams) WithSlug

WithSlug adds the slug to the update saved trace search params

func (*UpdateSavedTraceSearchParams) WithTimeout

WithTimeout adds the timeout to the update saved trace search params

func (*UpdateSavedTraceSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSavedTraceSearchReader

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

UpdateSavedTraceSearchReader is a Reader for the UpdateSavedTraceSearch structure.

func (*UpdateSavedTraceSearchReader) ReadResponse

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