Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSavedTraceSearch(params *CreateSavedTraceSearchParams, opts ...ClientOption) (*CreateSavedTraceSearchOK, error)
- func (a *Client) DeleteSavedTraceSearch(params *DeleteSavedTraceSearchParams, opts ...ClientOption) (*DeleteSavedTraceSearchOK, error)
- func (a *Client) ListSavedTraceSearches(params *ListSavedTraceSearchesParams, opts ...ClientOption) (*ListSavedTraceSearchesOK, error)
- func (a *Client) ReadSavedTraceSearch(params *ReadSavedTraceSearchParams, opts ...ClientOption) (*ReadSavedTraceSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSavedTraceSearch(params *UpdateSavedTraceSearchParams, opts ...ClientOption) (*UpdateSavedTraceSearchOK, error)
- type ClientOption
- type ClientService
- type CreateSavedTraceSearchBadRequest
- func (o *CreateSavedTraceSearchBadRequest) Code() int
- func (o *CreateSavedTraceSearchBadRequest) Error() string
- func (o *CreateSavedTraceSearchBadRequest) GetPayload() *models.APIError
- func (o *CreateSavedTraceSearchBadRequest) IsClientError() bool
- func (o *CreateSavedTraceSearchBadRequest) IsCode(code int) bool
- func (o *CreateSavedTraceSearchBadRequest) IsRedirect() bool
- func (o *CreateSavedTraceSearchBadRequest) IsServerError() bool
- func (o *CreateSavedTraceSearchBadRequest) IsSuccess() bool
- func (o *CreateSavedTraceSearchBadRequest) String() string
- type CreateSavedTraceSearchConflict
- func (o *CreateSavedTraceSearchConflict) Code() int
- func (o *CreateSavedTraceSearchConflict) Error() string
- func (o *CreateSavedTraceSearchConflict) GetPayload() *models.APIError
- func (o *CreateSavedTraceSearchConflict) IsClientError() bool
- func (o *CreateSavedTraceSearchConflict) IsCode(code int) bool
- func (o *CreateSavedTraceSearchConflict) IsRedirect() bool
- func (o *CreateSavedTraceSearchConflict) IsServerError() bool
- func (o *CreateSavedTraceSearchConflict) IsSuccess() bool
- func (o *CreateSavedTraceSearchConflict) String() string
- type CreateSavedTraceSearchDefault
- func (o *CreateSavedTraceSearchDefault) Code() int
- func (o *CreateSavedTraceSearchDefault) Error() string
- func (o *CreateSavedTraceSearchDefault) GetPayload() models.GenericError
- func (o *CreateSavedTraceSearchDefault) IsClientError() bool
- func (o *CreateSavedTraceSearchDefault) IsCode(code int) bool
- func (o *CreateSavedTraceSearchDefault) IsRedirect() bool
- func (o *CreateSavedTraceSearchDefault) IsServerError() bool
- func (o *CreateSavedTraceSearchDefault) IsSuccess() bool
- func (o *CreateSavedTraceSearchDefault) String() string
- type CreateSavedTraceSearchInternalServerError
- func (o *CreateSavedTraceSearchInternalServerError) Code() int
- func (o *CreateSavedTraceSearchInternalServerError) Error() string
- func (o *CreateSavedTraceSearchInternalServerError) GetPayload() *models.APIError
- func (o *CreateSavedTraceSearchInternalServerError) IsClientError() bool
- func (o *CreateSavedTraceSearchInternalServerError) IsCode(code int) bool
- func (o *CreateSavedTraceSearchInternalServerError) IsRedirect() bool
- func (o *CreateSavedTraceSearchInternalServerError) IsServerError() bool
- func (o *CreateSavedTraceSearchInternalServerError) IsSuccess() bool
- func (o *CreateSavedTraceSearchInternalServerError) String() string
- type CreateSavedTraceSearchOK
- func (o *CreateSavedTraceSearchOK) Code() int
- func (o *CreateSavedTraceSearchOK) Error() string
- func (o *CreateSavedTraceSearchOK) GetPayload() *models.ConfigunstableCreateSavedTraceSearchResponse
- func (o *CreateSavedTraceSearchOK) IsClientError() bool
- func (o *CreateSavedTraceSearchOK) IsCode(code int) bool
- func (o *CreateSavedTraceSearchOK) IsRedirect() bool
- func (o *CreateSavedTraceSearchOK) IsServerError() bool
- func (o *CreateSavedTraceSearchOK) IsSuccess() bool
- func (o *CreateSavedTraceSearchOK) String() string
- type CreateSavedTraceSearchParams
- func NewCreateSavedTraceSearchParams() *CreateSavedTraceSearchParams
- func NewCreateSavedTraceSearchParamsWithContext(ctx context.Context) *CreateSavedTraceSearchParams
- func NewCreateSavedTraceSearchParamsWithHTTPClient(client *http.Client) *CreateSavedTraceSearchParams
- func NewCreateSavedTraceSearchParamsWithTimeout(timeout time.Duration) *CreateSavedTraceSearchParams
- func (o *CreateSavedTraceSearchParams) SetBody(body *models.ConfigunstableCreateSavedTraceSearchRequest)
- func (o *CreateSavedTraceSearchParams) SetContext(ctx context.Context)
- func (o *CreateSavedTraceSearchParams) SetDefaults()
- func (o *CreateSavedTraceSearchParams) SetHTTPClient(client *http.Client)
- func (o *CreateSavedTraceSearchParams) SetTimeout(timeout time.Duration)
- func (o *CreateSavedTraceSearchParams) WithBody(body *models.ConfigunstableCreateSavedTraceSearchRequest) *CreateSavedTraceSearchParams
- func (o *CreateSavedTraceSearchParams) WithContext(ctx context.Context) *CreateSavedTraceSearchParams
- func (o *CreateSavedTraceSearchParams) WithDefaults() *CreateSavedTraceSearchParams
- func (o *CreateSavedTraceSearchParams) WithHTTPClient(client *http.Client) *CreateSavedTraceSearchParams
- func (o *CreateSavedTraceSearchParams) WithTimeout(timeout time.Duration) *CreateSavedTraceSearchParams
- func (o *CreateSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSavedTraceSearchReader
- type DeleteSavedTraceSearchBadRequest
- func (o *DeleteSavedTraceSearchBadRequest) Code() int
- func (o *DeleteSavedTraceSearchBadRequest) Error() string
- func (o *DeleteSavedTraceSearchBadRequest) GetPayload() *models.APIError
- func (o *DeleteSavedTraceSearchBadRequest) IsClientError() bool
- func (o *DeleteSavedTraceSearchBadRequest) IsCode(code int) bool
- func (o *DeleteSavedTraceSearchBadRequest) IsRedirect() bool
- func (o *DeleteSavedTraceSearchBadRequest) IsServerError() bool
- func (o *DeleteSavedTraceSearchBadRequest) IsSuccess() bool
- func (o *DeleteSavedTraceSearchBadRequest) String() string
- type DeleteSavedTraceSearchDefault
- func (o *DeleteSavedTraceSearchDefault) Code() int
- func (o *DeleteSavedTraceSearchDefault) Error() string
- func (o *DeleteSavedTraceSearchDefault) GetPayload() models.GenericError
- func (o *DeleteSavedTraceSearchDefault) IsClientError() bool
- func (o *DeleteSavedTraceSearchDefault) IsCode(code int) bool
- func (o *DeleteSavedTraceSearchDefault) IsRedirect() bool
- func (o *DeleteSavedTraceSearchDefault) IsServerError() bool
- func (o *DeleteSavedTraceSearchDefault) IsSuccess() bool
- func (o *DeleteSavedTraceSearchDefault) String() string
- type DeleteSavedTraceSearchInternalServerError
- func (o *DeleteSavedTraceSearchInternalServerError) Code() int
- func (o *DeleteSavedTraceSearchInternalServerError) Error() string
- func (o *DeleteSavedTraceSearchInternalServerError) GetPayload() *models.APIError
- func (o *DeleteSavedTraceSearchInternalServerError) IsClientError() bool
- func (o *DeleteSavedTraceSearchInternalServerError) IsCode(code int) bool
- func (o *DeleteSavedTraceSearchInternalServerError) IsRedirect() bool
- func (o *DeleteSavedTraceSearchInternalServerError) IsServerError() bool
- func (o *DeleteSavedTraceSearchInternalServerError) IsSuccess() bool
- func (o *DeleteSavedTraceSearchInternalServerError) String() string
- type DeleteSavedTraceSearchNotFound
- func (o *DeleteSavedTraceSearchNotFound) Code() int
- func (o *DeleteSavedTraceSearchNotFound) Error() string
- func (o *DeleteSavedTraceSearchNotFound) GetPayload() *models.APIError
- func (o *DeleteSavedTraceSearchNotFound) IsClientError() bool
- func (o *DeleteSavedTraceSearchNotFound) IsCode(code int) bool
- func (o *DeleteSavedTraceSearchNotFound) IsRedirect() bool
- func (o *DeleteSavedTraceSearchNotFound) IsServerError() bool
- func (o *DeleteSavedTraceSearchNotFound) IsSuccess() bool
- func (o *DeleteSavedTraceSearchNotFound) String() string
- type DeleteSavedTraceSearchOK
- func (o *DeleteSavedTraceSearchOK) Code() int
- func (o *DeleteSavedTraceSearchOK) Error() string
- func (o *DeleteSavedTraceSearchOK) GetPayload() models.ConfigunstableDeleteSavedTraceSearchResponse
- func (o *DeleteSavedTraceSearchOK) IsClientError() bool
- func (o *DeleteSavedTraceSearchOK) IsCode(code int) bool
- func (o *DeleteSavedTraceSearchOK) IsRedirect() bool
- func (o *DeleteSavedTraceSearchOK) IsServerError() bool
- func (o *DeleteSavedTraceSearchOK) IsSuccess() bool
- func (o *DeleteSavedTraceSearchOK) String() string
- type DeleteSavedTraceSearchParams
- func NewDeleteSavedTraceSearchParams() *DeleteSavedTraceSearchParams
- func NewDeleteSavedTraceSearchParamsWithContext(ctx context.Context) *DeleteSavedTraceSearchParams
- func NewDeleteSavedTraceSearchParamsWithHTTPClient(client *http.Client) *DeleteSavedTraceSearchParams
- func NewDeleteSavedTraceSearchParamsWithTimeout(timeout time.Duration) *DeleteSavedTraceSearchParams
- func (o *DeleteSavedTraceSearchParams) SetContext(ctx context.Context)
- func (o *DeleteSavedTraceSearchParams) SetDefaults()
- func (o *DeleteSavedTraceSearchParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSavedTraceSearchParams) SetSlug(slug string)
- func (o *DeleteSavedTraceSearchParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSavedTraceSearchParams) WithContext(ctx context.Context) *DeleteSavedTraceSearchParams
- func (o *DeleteSavedTraceSearchParams) WithDefaults() *DeleteSavedTraceSearchParams
- func (o *DeleteSavedTraceSearchParams) WithHTTPClient(client *http.Client) *DeleteSavedTraceSearchParams
- func (o *DeleteSavedTraceSearchParams) WithSlug(slug string) *DeleteSavedTraceSearchParams
- func (o *DeleteSavedTraceSearchParams) WithTimeout(timeout time.Duration) *DeleteSavedTraceSearchParams
- func (o *DeleteSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSavedTraceSearchReader
- type ListSavedTraceSearchesDefault
- func (o *ListSavedTraceSearchesDefault) Code() int
- func (o *ListSavedTraceSearchesDefault) Error() string
- func (o *ListSavedTraceSearchesDefault) GetPayload() models.GenericError
- func (o *ListSavedTraceSearchesDefault) IsClientError() bool
- func (o *ListSavedTraceSearchesDefault) IsCode(code int) bool
- func (o *ListSavedTraceSearchesDefault) IsRedirect() bool
- func (o *ListSavedTraceSearchesDefault) IsServerError() bool
- func (o *ListSavedTraceSearchesDefault) IsSuccess() bool
- func (o *ListSavedTraceSearchesDefault) String() string
- type ListSavedTraceSearchesInternalServerError
- func (o *ListSavedTraceSearchesInternalServerError) Code() int
- func (o *ListSavedTraceSearchesInternalServerError) Error() string
- func (o *ListSavedTraceSearchesInternalServerError) GetPayload() *models.APIError
- func (o *ListSavedTraceSearchesInternalServerError) IsClientError() bool
- func (o *ListSavedTraceSearchesInternalServerError) IsCode(code int) bool
- func (o *ListSavedTraceSearchesInternalServerError) IsRedirect() bool
- func (o *ListSavedTraceSearchesInternalServerError) IsServerError() bool
- func (o *ListSavedTraceSearchesInternalServerError) IsSuccess() bool
- func (o *ListSavedTraceSearchesInternalServerError) String() string
- type ListSavedTraceSearchesOK
- func (o *ListSavedTraceSearchesOK) Code() int
- func (o *ListSavedTraceSearchesOK) Error() string
- func (o *ListSavedTraceSearchesOK) GetPayload() *models.ConfigunstableListSavedTraceSearchesResponse
- func (o *ListSavedTraceSearchesOK) IsClientError() bool
- func (o *ListSavedTraceSearchesOK) IsCode(code int) bool
- func (o *ListSavedTraceSearchesOK) IsRedirect() bool
- func (o *ListSavedTraceSearchesOK) IsServerError() bool
- func (o *ListSavedTraceSearchesOK) IsSuccess() bool
- func (o *ListSavedTraceSearchesOK) String() string
- type ListSavedTraceSearchesParams
- func NewListSavedTraceSearchesParams() *ListSavedTraceSearchesParams
- func NewListSavedTraceSearchesParamsWithContext(ctx context.Context) *ListSavedTraceSearchesParams
- func NewListSavedTraceSearchesParamsWithHTTPClient(client *http.Client) *ListSavedTraceSearchesParams
- func NewListSavedTraceSearchesParamsWithTimeout(timeout time.Duration) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) SetContext(ctx context.Context)
- func (o *ListSavedTraceSearchesParams) SetCreatedBy(createdBy *string)
- func (o *ListSavedTraceSearchesParams) SetDefaults()
- func (o *ListSavedTraceSearchesParams) SetHTTPClient(client *http.Client)
- func (o *ListSavedTraceSearchesParams) SetNames(names []string)
- func (o *ListSavedTraceSearchesParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListSavedTraceSearchesParams) SetPageToken(pageToken *string)
- func (o *ListSavedTraceSearchesParams) SetSlugs(slugs []string)
- func (o *ListSavedTraceSearchesParams) SetTimeout(timeout time.Duration)
- func (o *ListSavedTraceSearchesParams) WithContext(ctx context.Context) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithCreatedBy(createdBy *string) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithDefaults() *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithHTTPClient(client *http.Client) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithNames(names []string) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithPageMaxSize(pageMaxSize *int64) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithPageToken(pageToken *string) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithSlugs(slugs []string) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WithTimeout(timeout time.Duration) *ListSavedTraceSearchesParams
- func (o *ListSavedTraceSearchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSavedTraceSearchesReader
- type ReadSavedTraceSearchDefault
- func (o *ReadSavedTraceSearchDefault) Code() int
- func (o *ReadSavedTraceSearchDefault) Error() string
- func (o *ReadSavedTraceSearchDefault) GetPayload() models.GenericError
- func (o *ReadSavedTraceSearchDefault) IsClientError() bool
- func (o *ReadSavedTraceSearchDefault) IsCode(code int) bool
- func (o *ReadSavedTraceSearchDefault) IsRedirect() bool
- func (o *ReadSavedTraceSearchDefault) IsServerError() bool
- func (o *ReadSavedTraceSearchDefault) IsSuccess() bool
- func (o *ReadSavedTraceSearchDefault) String() string
- type ReadSavedTraceSearchInternalServerError
- func (o *ReadSavedTraceSearchInternalServerError) Code() int
- func (o *ReadSavedTraceSearchInternalServerError) Error() string
- func (o *ReadSavedTraceSearchInternalServerError) GetPayload() *models.APIError
- func (o *ReadSavedTraceSearchInternalServerError) IsClientError() bool
- func (o *ReadSavedTraceSearchInternalServerError) IsCode(code int) bool
- func (o *ReadSavedTraceSearchInternalServerError) IsRedirect() bool
- func (o *ReadSavedTraceSearchInternalServerError) IsServerError() bool
- func (o *ReadSavedTraceSearchInternalServerError) IsSuccess() bool
- func (o *ReadSavedTraceSearchInternalServerError) String() string
- type ReadSavedTraceSearchNotFound
- func (o *ReadSavedTraceSearchNotFound) Code() int
- func (o *ReadSavedTraceSearchNotFound) Error() string
- func (o *ReadSavedTraceSearchNotFound) GetPayload() *models.APIError
- func (o *ReadSavedTraceSearchNotFound) IsClientError() bool
- func (o *ReadSavedTraceSearchNotFound) IsCode(code int) bool
- func (o *ReadSavedTraceSearchNotFound) IsRedirect() bool
- func (o *ReadSavedTraceSearchNotFound) IsServerError() bool
- func (o *ReadSavedTraceSearchNotFound) IsSuccess() bool
- func (o *ReadSavedTraceSearchNotFound) String() string
- type ReadSavedTraceSearchOK
- func (o *ReadSavedTraceSearchOK) Code() int
- func (o *ReadSavedTraceSearchOK) Error() string
- func (o *ReadSavedTraceSearchOK) GetPayload() *models.ConfigunstableReadSavedTraceSearchResponse
- func (o *ReadSavedTraceSearchOK) IsClientError() bool
- func (o *ReadSavedTraceSearchOK) IsCode(code int) bool
- func (o *ReadSavedTraceSearchOK) IsRedirect() bool
- func (o *ReadSavedTraceSearchOK) IsServerError() bool
- func (o *ReadSavedTraceSearchOK) IsSuccess() bool
- func (o *ReadSavedTraceSearchOK) String() string
- type ReadSavedTraceSearchParams
- func NewReadSavedTraceSearchParams() *ReadSavedTraceSearchParams
- func NewReadSavedTraceSearchParamsWithContext(ctx context.Context) *ReadSavedTraceSearchParams
- func NewReadSavedTraceSearchParamsWithHTTPClient(client *http.Client) *ReadSavedTraceSearchParams
- func NewReadSavedTraceSearchParamsWithTimeout(timeout time.Duration) *ReadSavedTraceSearchParams
- func (o *ReadSavedTraceSearchParams) SetContext(ctx context.Context)
- func (o *ReadSavedTraceSearchParams) SetDefaults()
- func (o *ReadSavedTraceSearchParams) SetHTTPClient(client *http.Client)
- func (o *ReadSavedTraceSearchParams) SetSlug(slug string)
- func (o *ReadSavedTraceSearchParams) SetTimeout(timeout time.Duration)
- func (o *ReadSavedTraceSearchParams) WithContext(ctx context.Context) *ReadSavedTraceSearchParams
- func (o *ReadSavedTraceSearchParams) WithDefaults() *ReadSavedTraceSearchParams
- func (o *ReadSavedTraceSearchParams) WithHTTPClient(client *http.Client) *ReadSavedTraceSearchParams
- func (o *ReadSavedTraceSearchParams) WithSlug(slug string) *ReadSavedTraceSearchParams
- func (o *ReadSavedTraceSearchParams) WithTimeout(timeout time.Duration) *ReadSavedTraceSearchParams
- func (o *ReadSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadSavedTraceSearchReader
- type UpdateSavedTraceSearchBadRequest
- func (o *UpdateSavedTraceSearchBadRequest) Code() int
- func (o *UpdateSavedTraceSearchBadRequest) Error() string
- func (o *UpdateSavedTraceSearchBadRequest) GetPayload() *models.APIError
- func (o *UpdateSavedTraceSearchBadRequest) IsClientError() bool
- func (o *UpdateSavedTraceSearchBadRequest) IsCode(code int) bool
- func (o *UpdateSavedTraceSearchBadRequest) IsRedirect() bool
- func (o *UpdateSavedTraceSearchBadRequest) IsServerError() bool
- func (o *UpdateSavedTraceSearchBadRequest) IsSuccess() bool
- func (o *UpdateSavedTraceSearchBadRequest) String() string
- type UpdateSavedTraceSearchBody
- func (o *UpdateSavedTraceSearchBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateSavedTraceSearchBody) MarshalBinary() ([]byte, error)
- func (o *UpdateSavedTraceSearchBody) UnmarshalBinary(b []byte) error
- func (o *UpdateSavedTraceSearchBody) Validate(formats strfmt.Registry) error
- type UpdateSavedTraceSearchConflict
- func (o *UpdateSavedTraceSearchConflict) Code() int
- func (o *UpdateSavedTraceSearchConflict) Error() string
- func (o *UpdateSavedTraceSearchConflict) GetPayload() *models.APIError
- func (o *UpdateSavedTraceSearchConflict) IsClientError() bool
- func (o *UpdateSavedTraceSearchConflict) IsCode(code int) bool
- func (o *UpdateSavedTraceSearchConflict) IsRedirect() bool
- func (o *UpdateSavedTraceSearchConflict) IsServerError() bool
- func (o *UpdateSavedTraceSearchConflict) IsSuccess() bool
- func (o *UpdateSavedTraceSearchConflict) String() string
- type UpdateSavedTraceSearchDefault
- func (o *UpdateSavedTraceSearchDefault) Code() int
- func (o *UpdateSavedTraceSearchDefault) Error() string
- func (o *UpdateSavedTraceSearchDefault) GetPayload() models.GenericError
- func (o *UpdateSavedTraceSearchDefault) IsClientError() bool
- func (o *UpdateSavedTraceSearchDefault) IsCode(code int) bool
- func (o *UpdateSavedTraceSearchDefault) IsRedirect() bool
- func (o *UpdateSavedTraceSearchDefault) IsServerError() bool
- func (o *UpdateSavedTraceSearchDefault) IsSuccess() bool
- func (o *UpdateSavedTraceSearchDefault) String() string
- type UpdateSavedTraceSearchInternalServerError
- func (o *UpdateSavedTraceSearchInternalServerError) Code() int
- func (o *UpdateSavedTraceSearchInternalServerError) Error() string
- func (o *UpdateSavedTraceSearchInternalServerError) GetPayload() *models.APIError
- func (o *UpdateSavedTraceSearchInternalServerError) IsClientError() bool
- func (o *UpdateSavedTraceSearchInternalServerError) IsCode(code int) bool
- func (o *UpdateSavedTraceSearchInternalServerError) IsRedirect() bool
- func (o *UpdateSavedTraceSearchInternalServerError) IsServerError() bool
- func (o *UpdateSavedTraceSearchInternalServerError) IsSuccess() bool
- func (o *UpdateSavedTraceSearchInternalServerError) String() string
- type UpdateSavedTraceSearchNotFound
- func (o *UpdateSavedTraceSearchNotFound) Code() int
- func (o *UpdateSavedTraceSearchNotFound) Error() string
- func (o *UpdateSavedTraceSearchNotFound) GetPayload() *models.APIError
- func (o *UpdateSavedTraceSearchNotFound) IsClientError() bool
- func (o *UpdateSavedTraceSearchNotFound) IsCode(code int) bool
- func (o *UpdateSavedTraceSearchNotFound) IsRedirect() bool
- func (o *UpdateSavedTraceSearchNotFound) IsServerError() bool
- func (o *UpdateSavedTraceSearchNotFound) IsSuccess() bool
- func (o *UpdateSavedTraceSearchNotFound) String() string
- type UpdateSavedTraceSearchOK
- func (o *UpdateSavedTraceSearchOK) Code() int
- func (o *UpdateSavedTraceSearchOK) Error() string
- func (o *UpdateSavedTraceSearchOK) GetPayload() *models.ConfigunstableUpdateSavedTraceSearchResponse
- func (o *UpdateSavedTraceSearchOK) IsClientError() bool
- func (o *UpdateSavedTraceSearchOK) IsCode(code int) bool
- func (o *UpdateSavedTraceSearchOK) IsRedirect() bool
- func (o *UpdateSavedTraceSearchOK) IsServerError() bool
- func (o *UpdateSavedTraceSearchOK) IsSuccess() bool
- func (o *UpdateSavedTraceSearchOK) String() string
- type UpdateSavedTraceSearchParams
- func NewUpdateSavedTraceSearchParams() *UpdateSavedTraceSearchParams
- func NewUpdateSavedTraceSearchParamsWithContext(ctx context.Context) *UpdateSavedTraceSearchParams
- func NewUpdateSavedTraceSearchParamsWithHTTPClient(client *http.Client) *UpdateSavedTraceSearchParams
- func NewUpdateSavedTraceSearchParamsWithTimeout(timeout time.Duration) *UpdateSavedTraceSearchParams
- func (o *UpdateSavedTraceSearchParams) SetBody(body UpdateSavedTraceSearchBody)
- func (o *UpdateSavedTraceSearchParams) SetContext(ctx context.Context)
- func (o *UpdateSavedTraceSearchParams) SetDefaults()
- func (o *UpdateSavedTraceSearchParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSavedTraceSearchParams) SetSlug(slug string)
- func (o *UpdateSavedTraceSearchParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSavedTraceSearchParams) WithBody(body UpdateSavedTraceSearchBody) *UpdateSavedTraceSearchParams
- func (o *UpdateSavedTraceSearchParams) WithContext(ctx context.Context) *UpdateSavedTraceSearchParams
- func (o *UpdateSavedTraceSearchParams) WithDefaults() *UpdateSavedTraceSearchParams
- func (o *UpdateSavedTraceSearchParams) WithHTTPClient(client *http.Client) *UpdateSavedTraceSearchParams
- func (o *UpdateSavedTraceSearchParams) WithSlug(slug string) *UpdateSavedTraceSearchParams
- func (o *UpdateSavedTraceSearchParams) WithTimeout(timeout time.Duration) *UpdateSavedTraceSearchParams
- func (o *UpdateSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSavedTraceSearchReader
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 ¶
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 ¶
func (o *CreateSavedTraceSearchBadRequest) Code() int
Code gets the status code for the create saved trace search bad request response
func (*CreateSavedTraceSearchBadRequest) Error ¶
func (o *CreateSavedTraceSearchBadRequest) Error() string
func (*CreateSavedTraceSearchBadRequest) GetPayload ¶
func (o *CreateSavedTraceSearchBadRequest) GetPayload() *models.APIError
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 ¶
func (o *CreateSavedTraceSearchBadRequest) String() string
type CreateSavedTraceSearchConflict ¶
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 ¶
func (o *CreateSavedTraceSearchConflict) Code() int
Code gets the status code for the create saved trace search conflict response
func (*CreateSavedTraceSearchConflict) Error ¶
func (o *CreateSavedTraceSearchConflict) Error() string
func (*CreateSavedTraceSearchConflict) GetPayload ¶
func (o *CreateSavedTraceSearchConflict) GetPayload() *models.APIError
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 ¶
func (o *CreateSavedTraceSearchConflict) String() 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 ¶
func (o *CreateSavedTraceSearchDefault) Code() int
Code gets the status code for the create saved trace search default response
func (*CreateSavedTraceSearchDefault) Error ¶
func (o *CreateSavedTraceSearchDefault) Error() string
func (*CreateSavedTraceSearchDefault) GetPayload ¶
func (o *CreateSavedTraceSearchDefault) GetPayload() models.GenericError
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 ¶
func (o *CreateSavedTraceSearchDefault) String() string
type CreateSavedTraceSearchInternalServerError ¶
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 ¶
func (o *CreateSavedTraceSearchInternalServerError) Code() int
Code gets the status code for the create saved trace search internal server error response
func (*CreateSavedTraceSearchInternalServerError) Error ¶
func (o *CreateSavedTraceSearchInternalServerError) Error() string
func (*CreateSavedTraceSearchInternalServerError) GetPayload ¶
func (o *CreateSavedTraceSearchInternalServerError) GetPayload() *models.APIError
func (*CreateSavedTraceSearchInternalServerError) IsClientError ¶
func (o *CreateSavedTraceSearchInternalServerError) IsClientError() bool
IsClientError returns true when this create saved trace search internal server error response has a 4xx status code
func (*CreateSavedTraceSearchInternalServerError) IsCode ¶
func (o *CreateSavedTraceSearchInternalServerError) IsCode(code int) bool
IsCode returns true when this create saved trace search internal server error response a status code equal to that given
func (*CreateSavedTraceSearchInternalServerError) IsRedirect ¶
func (o *CreateSavedTraceSearchInternalServerError) IsRedirect() bool
IsRedirect returns true when this create saved trace search internal server error response has a 3xx status code
func (*CreateSavedTraceSearchInternalServerError) IsServerError ¶
func (o *CreateSavedTraceSearchInternalServerError) IsServerError() bool
IsServerError returns true when this create saved trace search internal server error response has a 5xx status code
func (*CreateSavedTraceSearchInternalServerError) IsSuccess ¶
func (o *CreateSavedTraceSearchInternalServerError) IsSuccess() bool
IsSuccess returns true when this create saved trace search internal server error response has a 2xx status code
func (*CreateSavedTraceSearchInternalServerError) String ¶
func (o *CreateSavedTraceSearchInternalServerError) String() 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 (o *CreateSavedTraceSearchOK) GetPayload() *models.ConfigunstableCreateSavedTraceSearchResponse
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 ¶
func (o *CreateSavedTraceSearchParams) SetBody(body *models.ConfigunstableCreateSavedTraceSearchRequest)
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 ¶
func (o *CreateSavedTraceSearchParams) WithBody(body *models.ConfigunstableCreateSavedTraceSearchRequest) *CreateSavedTraceSearchParams
WithBody adds the body to the create saved trace search params
func (*CreateSavedTraceSearchParams) WithContext ¶
func (o *CreateSavedTraceSearchParams) WithContext(ctx context.Context) *CreateSavedTraceSearchParams
WithContext adds the context to the create saved trace search params
func (*CreateSavedTraceSearchParams) WithDefaults ¶
func (o *CreateSavedTraceSearchParams) WithDefaults() *CreateSavedTraceSearchParams
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 ¶
func (o *CreateSavedTraceSearchParams) WithHTTPClient(client *http.Client) *CreateSavedTraceSearchParams
WithHTTPClient adds the HTTPClient to the create saved trace search params
func (*CreateSavedTraceSearchParams) WithTimeout ¶
func (o *CreateSavedTraceSearchParams) WithTimeout(timeout time.Duration) *CreateSavedTraceSearchParams
WithTimeout adds the timeout to the create saved trace search params
func (*CreateSavedTraceSearchParams) WriteToRequest ¶
func (o *CreateSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *DeleteSavedTraceSearchBadRequest) Code() int
Code gets the status code for the delete saved trace search bad request response
func (*DeleteSavedTraceSearchBadRequest) Error ¶
func (o *DeleteSavedTraceSearchBadRequest) Error() string
func (*DeleteSavedTraceSearchBadRequest) GetPayload ¶
func (o *DeleteSavedTraceSearchBadRequest) GetPayload() *models.APIError
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 ¶
func (o *DeleteSavedTraceSearchBadRequest) String() 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 ¶
func (o *DeleteSavedTraceSearchDefault) Code() int
Code gets the status code for the delete saved trace search default response
func (*DeleteSavedTraceSearchDefault) Error ¶
func (o *DeleteSavedTraceSearchDefault) Error() string
func (*DeleteSavedTraceSearchDefault) GetPayload ¶
func (o *DeleteSavedTraceSearchDefault) GetPayload() models.GenericError
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 ¶
func (o *DeleteSavedTraceSearchDefault) String() string
type DeleteSavedTraceSearchInternalServerError ¶
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 ¶
func (o *DeleteSavedTraceSearchInternalServerError) Code() int
Code gets the status code for the delete saved trace search internal server error response
func (*DeleteSavedTraceSearchInternalServerError) Error ¶
func (o *DeleteSavedTraceSearchInternalServerError) Error() string
func (*DeleteSavedTraceSearchInternalServerError) GetPayload ¶
func (o *DeleteSavedTraceSearchInternalServerError) GetPayload() *models.APIError
func (*DeleteSavedTraceSearchInternalServerError) IsClientError ¶
func (o *DeleteSavedTraceSearchInternalServerError) IsClientError() bool
IsClientError returns true when this delete saved trace search internal server error response has a 4xx status code
func (*DeleteSavedTraceSearchInternalServerError) IsCode ¶
func (o *DeleteSavedTraceSearchInternalServerError) IsCode(code int) bool
IsCode returns true when this delete saved trace search internal server error response a status code equal to that given
func (*DeleteSavedTraceSearchInternalServerError) IsRedirect ¶
func (o *DeleteSavedTraceSearchInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete saved trace search internal server error response has a 3xx status code
func (*DeleteSavedTraceSearchInternalServerError) IsServerError ¶
func (o *DeleteSavedTraceSearchInternalServerError) IsServerError() bool
IsServerError returns true when this delete saved trace search internal server error response has a 5xx status code
func (*DeleteSavedTraceSearchInternalServerError) IsSuccess ¶
func (o *DeleteSavedTraceSearchInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete saved trace search internal server error response has a 2xx status code
func (*DeleteSavedTraceSearchInternalServerError) String ¶
func (o *DeleteSavedTraceSearchInternalServerError) String() string
type DeleteSavedTraceSearchNotFound ¶
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 ¶
func (o *DeleteSavedTraceSearchNotFound) Code() int
Code gets the status code for the delete saved trace search not found response
func (*DeleteSavedTraceSearchNotFound) Error ¶
func (o *DeleteSavedTraceSearchNotFound) Error() string
func (*DeleteSavedTraceSearchNotFound) GetPayload ¶
func (o *DeleteSavedTraceSearchNotFound) GetPayload() *models.APIError
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 ¶
func (o *DeleteSavedTraceSearchNotFound) String() 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 (o *DeleteSavedTraceSearchOK) GetPayload() models.ConfigunstableDeleteSavedTraceSearchResponse
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 ¶
func (o *DeleteSavedTraceSearchParams) WithContext(ctx context.Context) *DeleteSavedTraceSearchParams
WithContext adds the context to the delete saved trace search params
func (*DeleteSavedTraceSearchParams) WithDefaults ¶
func (o *DeleteSavedTraceSearchParams) WithDefaults() *DeleteSavedTraceSearchParams
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 ¶
func (o *DeleteSavedTraceSearchParams) WithHTTPClient(client *http.Client) *DeleteSavedTraceSearchParams
WithHTTPClient adds the HTTPClient to the delete saved trace search params
func (*DeleteSavedTraceSearchParams) WithSlug ¶
func (o *DeleteSavedTraceSearchParams) WithSlug(slug string) *DeleteSavedTraceSearchParams
WithSlug adds the slug to the delete saved trace search params
func (*DeleteSavedTraceSearchParams) WithTimeout ¶
func (o *DeleteSavedTraceSearchParams) WithTimeout(timeout time.Duration) *DeleteSavedTraceSearchParams
WithTimeout adds the timeout to the delete saved trace search params
func (*DeleteSavedTraceSearchParams) WriteToRequest ¶
func (o *DeleteSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListSavedTraceSearchesDefault) Code() int
Code gets the status code for the list saved trace searches default response
func (*ListSavedTraceSearchesDefault) Error ¶
func (o *ListSavedTraceSearchesDefault) Error() string
func (*ListSavedTraceSearchesDefault) GetPayload ¶
func (o *ListSavedTraceSearchesDefault) GetPayload() models.GenericError
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 ¶
func (o *ListSavedTraceSearchesDefault) String() string
type ListSavedTraceSearchesInternalServerError ¶
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 ¶
func (o *ListSavedTraceSearchesInternalServerError) Code() int
Code gets the status code for the list saved trace searches internal server error response
func (*ListSavedTraceSearchesInternalServerError) Error ¶
func (o *ListSavedTraceSearchesInternalServerError) Error() string
func (*ListSavedTraceSearchesInternalServerError) GetPayload ¶
func (o *ListSavedTraceSearchesInternalServerError) GetPayload() *models.APIError
func (*ListSavedTraceSearchesInternalServerError) IsClientError ¶
func (o *ListSavedTraceSearchesInternalServerError) IsClientError() bool
IsClientError returns true when this list saved trace searches internal server error response has a 4xx status code
func (*ListSavedTraceSearchesInternalServerError) IsCode ¶
func (o *ListSavedTraceSearchesInternalServerError) IsCode(code int) bool
IsCode returns true when this list saved trace searches internal server error response a status code equal to that given
func (*ListSavedTraceSearchesInternalServerError) IsRedirect ¶
func (o *ListSavedTraceSearchesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list saved trace searches internal server error response has a 3xx status code
func (*ListSavedTraceSearchesInternalServerError) IsServerError ¶
func (o *ListSavedTraceSearchesInternalServerError) IsServerError() bool
IsServerError returns true when this list saved trace searches internal server error response has a 5xx status code
func (*ListSavedTraceSearchesInternalServerError) IsSuccess ¶
func (o *ListSavedTraceSearchesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list saved trace searches internal server error response has a 2xx status code
func (*ListSavedTraceSearchesInternalServerError) String ¶
func (o *ListSavedTraceSearchesInternalServerError) String() 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 (o *ListSavedTraceSearchesOK) GetPayload() *models.ConfigunstableListSavedTraceSearchesResponse
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 ¶
func (o *ListSavedTraceSearchesParams) WithContext(ctx context.Context) *ListSavedTraceSearchesParams
WithContext adds the context to the list saved trace searches params
func (*ListSavedTraceSearchesParams) WithCreatedBy ¶
func (o *ListSavedTraceSearchesParams) WithCreatedBy(createdBy *string) *ListSavedTraceSearchesParams
WithCreatedBy adds the createdBy to the list saved trace searches params
func (*ListSavedTraceSearchesParams) WithDefaults ¶
func (o *ListSavedTraceSearchesParams) WithDefaults() *ListSavedTraceSearchesParams
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 ¶
func (o *ListSavedTraceSearchesParams) WithHTTPClient(client *http.Client) *ListSavedTraceSearchesParams
WithHTTPClient adds the HTTPClient to the list saved trace searches params
func (*ListSavedTraceSearchesParams) WithNames ¶
func (o *ListSavedTraceSearchesParams) WithNames(names []string) *ListSavedTraceSearchesParams
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 ¶
func (o *ListSavedTraceSearchesParams) WithPageToken(pageToken *string) *ListSavedTraceSearchesParams
WithPageToken adds the pageToken to the list saved trace searches params
func (*ListSavedTraceSearchesParams) WithSlugs ¶
func (o *ListSavedTraceSearchesParams) WithSlugs(slugs []string) *ListSavedTraceSearchesParams
WithSlugs adds the slugs to the list saved trace searches params
func (*ListSavedTraceSearchesParams) WithTimeout ¶
func (o *ListSavedTraceSearchesParams) WithTimeout(timeout time.Duration) *ListSavedTraceSearchesParams
WithTimeout adds the timeout to the list saved trace searches params
func (*ListSavedTraceSearchesParams) WriteToRequest ¶
func (o *ListSavedTraceSearchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ReadSavedTraceSearchDefault) Error() string
func (*ReadSavedTraceSearchDefault) GetPayload ¶
func (o *ReadSavedTraceSearchDefault) GetPayload() models.GenericError
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 ¶
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 ¶
func (o *ReadSavedTraceSearchInternalServerError) Code() int
Code gets the status code for the read saved trace search internal server error response
func (*ReadSavedTraceSearchInternalServerError) Error ¶
func (o *ReadSavedTraceSearchInternalServerError) Error() string
func (*ReadSavedTraceSearchInternalServerError) GetPayload ¶
func (o *ReadSavedTraceSearchInternalServerError) GetPayload() *models.APIError
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 ¶
func (o *ReadSavedTraceSearchInternalServerError) IsCode(code int) bool
IsCode returns true when this read saved trace search internal server error response a status code equal to that given
func (*ReadSavedTraceSearchInternalServerError) IsRedirect ¶
func (o *ReadSavedTraceSearchInternalServerError) IsRedirect() bool
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 ¶
func (o *ReadSavedTraceSearchInternalServerError) IsSuccess() bool
IsSuccess returns true when this read saved trace search internal server error response has a 2xx status code
func (*ReadSavedTraceSearchInternalServerError) String ¶
func (o *ReadSavedTraceSearchInternalServerError) String() string
type ReadSavedTraceSearchNotFound ¶
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 ¶
func (o *ReadSavedTraceSearchNotFound) Code() int
Code gets the status code for the read saved trace search not found response
func (*ReadSavedTraceSearchNotFound) Error ¶
func (o *ReadSavedTraceSearchNotFound) Error() string
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 ¶
func (o *ReadSavedTraceSearchNotFound) String() 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 (o *ReadSavedTraceSearchOK) GetPayload() *models.ConfigunstableReadSavedTraceSearchResponse
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 ¶
func (o *ReadSavedTraceSearchParams) WithContext(ctx context.Context) *ReadSavedTraceSearchParams
WithContext adds the context to the read saved trace search params
func (*ReadSavedTraceSearchParams) WithDefaults ¶
func (o *ReadSavedTraceSearchParams) WithDefaults() *ReadSavedTraceSearchParams
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 ¶
func (o *ReadSavedTraceSearchParams) WithHTTPClient(client *http.Client) *ReadSavedTraceSearchParams
WithHTTPClient adds the HTTPClient to the read saved trace search params
func (*ReadSavedTraceSearchParams) WithSlug ¶
func (o *ReadSavedTraceSearchParams) WithSlug(slug string) *ReadSavedTraceSearchParams
WithSlug adds the slug to the read saved trace search params
func (*ReadSavedTraceSearchParams) WithTimeout ¶
func (o *ReadSavedTraceSearchParams) WithTimeout(timeout time.Duration) *ReadSavedTraceSearchParams
WithTimeout adds the timeout to the read saved trace search params
func (*ReadSavedTraceSearchParams) WriteToRequest ¶
func (o *ReadSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *UpdateSavedTraceSearchBadRequest) Code() int
Code gets the status code for the update saved trace search bad request response
func (*UpdateSavedTraceSearchBadRequest) Error ¶
func (o *UpdateSavedTraceSearchBadRequest) Error() string
func (*UpdateSavedTraceSearchBadRequest) GetPayload ¶
func (o *UpdateSavedTraceSearchBadRequest) GetPayload() *models.APIError
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 ¶
func (o *UpdateSavedTraceSearchBadRequest) String() 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
type UpdateSavedTraceSearchConflict ¶
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 ¶
func (o *UpdateSavedTraceSearchConflict) Code() int
Code gets the status code for the update saved trace search conflict response
func (*UpdateSavedTraceSearchConflict) Error ¶
func (o *UpdateSavedTraceSearchConflict) Error() string
func (*UpdateSavedTraceSearchConflict) GetPayload ¶
func (o *UpdateSavedTraceSearchConflict) GetPayload() *models.APIError
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 ¶
func (o *UpdateSavedTraceSearchConflict) String() 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 ¶
func (o *UpdateSavedTraceSearchDefault) Code() int
Code gets the status code for the update saved trace search default response
func (*UpdateSavedTraceSearchDefault) Error ¶
func (o *UpdateSavedTraceSearchDefault) Error() string
func (*UpdateSavedTraceSearchDefault) GetPayload ¶
func (o *UpdateSavedTraceSearchDefault) GetPayload() models.GenericError
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 ¶
func (o *UpdateSavedTraceSearchDefault) String() string
type UpdateSavedTraceSearchInternalServerError ¶
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 ¶
func (o *UpdateSavedTraceSearchInternalServerError) Code() int
Code gets the status code for the update saved trace search internal server error response
func (*UpdateSavedTraceSearchInternalServerError) Error ¶
func (o *UpdateSavedTraceSearchInternalServerError) Error() string
func (*UpdateSavedTraceSearchInternalServerError) GetPayload ¶
func (o *UpdateSavedTraceSearchInternalServerError) GetPayload() *models.APIError
func (*UpdateSavedTraceSearchInternalServerError) IsClientError ¶
func (o *UpdateSavedTraceSearchInternalServerError) IsClientError() bool
IsClientError returns true when this update saved trace search internal server error response has a 4xx status code
func (*UpdateSavedTraceSearchInternalServerError) IsCode ¶
func (o *UpdateSavedTraceSearchInternalServerError) IsCode(code int) bool
IsCode returns true when this update saved trace search internal server error response a status code equal to that given
func (*UpdateSavedTraceSearchInternalServerError) IsRedirect ¶
func (o *UpdateSavedTraceSearchInternalServerError) IsRedirect() bool
IsRedirect returns true when this update saved trace search internal server error response has a 3xx status code
func (*UpdateSavedTraceSearchInternalServerError) IsServerError ¶
func (o *UpdateSavedTraceSearchInternalServerError) IsServerError() bool
IsServerError returns true when this update saved trace search internal server error response has a 5xx status code
func (*UpdateSavedTraceSearchInternalServerError) IsSuccess ¶
func (o *UpdateSavedTraceSearchInternalServerError) IsSuccess() bool
IsSuccess returns true when this update saved trace search internal server error response has a 2xx status code
func (*UpdateSavedTraceSearchInternalServerError) String ¶
func (o *UpdateSavedTraceSearchInternalServerError) String() string
type UpdateSavedTraceSearchNotFound ¶
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 ¶
func (o *UpdateSavedTraceSearchNotFound) Code() int
Code gets the status code for the update saved trace search not found response
func (*UpdateSavedTraceSearchNotFound) Error ¶
func (o *UpdateSavedTraceSearchNotFound) Error() string
func (*UpdateSavedTraceSearchNotFound) GetPayload ¶
func (o *UpdateSavedTraceSearchNotFound) GetPayload() *models.APIError
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 ¶
func (o *UpdateSavedTraceSearchNotFound) String() 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 (o *UpdateSavedTraceSearchOK) GetPayload() *models.ConfigunstableUpdateSavedTraceSearchResponse
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 ¶
func (o *UpdateSavedTraceSearchParams) SetBody(body UpdateSavedTraceSearchBody)
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 ¶
func (o *UpdateSavedTraceSearchParams) WithBody(body UpdateSavedTraceSearchBody) *UpdateSavedTraceSearchParams
WithBody adds the body to the update saved trace search params
func (*UpdateSavedTraceSearchParams) WithContext ¶
func (o *UpdateSavedTraceSearchParams) WithContext(ctx context.Context) *UpdateSavedTraceSearchParams
WithContext adds the context to the update saved trace search params
func (*UpdateSavedTraceSearchParams) WithDefaults ¶
func (o *UpdateSavedTraceSearchParams) WithDefaults() *UpdateSavedTraceSearchParams
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 ¶
func (o *UpdateSavedTraceSearchParams) WithHTTPClient(client *http.Client) *UpdateSavedTraceSearchParams
WithHTTPClient adds the HTTPClient to the update saved trace search params
func (*UpdateSavedTraceSearchParams) WithSlug ¶
func (o *UpdateSavedTraceSearchParams) WithSlug(slug string) *UpdateSavedTraceSearchParams
WithSlug adds the slug to the update saved trace search params
func (*UpdateSavedTraceSearchParams) WithTimeout ¶
func (o *UpdateSavedTraceSearchParams) WithTimeout(timeout time.Duration) *UpdateSavedTraceSearchParams
WithTimeout adds the timeout to the update saved trace search params
func (*UpdateSavedTraceSearchParams) WriteToRequest ¶
func (o *UpdateSavedTraceSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_saved_trace_search_parameters.go
- create_saved_trace_search_responses.go
- delete_saved_trace_search_parameters.go
- delete_saved_trace_search_responses.go
- list_saved_trace_searches_parameters.go
- list_saved_trace_searches_responses.go
- read_saved_trace_search_parameters.go
- read_saved_trace_search_responses.go
- saved_trace_search_client.go
- update_saved_trace_search_parameters.go
- update_saved_trace_search_responses.go