Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTraceBehavior(params *CreateTraceBehaviorParams, opts ...ClientOption) (*CreateTraceBehaviorOK, error)
- func (a *Client) DeleteTraceBehavior(params *DeleteTraceBehaviorParams, opts ...ClientOption) (*DeleteTraceBehaviorOK, error)
- func (a *Client) ListTraceBehaviors(params *ListTraceBehaviorsParams, opts ...ClientOption) (*ListTraceBehaviorsOK, error)
- func (a *Client) ReadTraceBehavior(params *ReadTraceBehaviorParams, opts ...ClientOption) (*ReadTraceBehaviorOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTraceBehavior(params *UpdateTraceBehaviorParams, opts ...ClientOption) (*UpdateTraceBehaviorOK, error)
- type ClientOption
- type ClientService
- type CreateTraceBehaviorBadRequest
- func (o *CreateTraceBehaviorBadRequest) Code() int
- func (o *CreateTraceBehaviorBadRequest) Error() string
- func (o *CreateTraceBehaviorBadRequest) GetPayload() *models.APIError
- func (o *CreateTraceBehaviorBadRequest) IsClientError() bool
- func (o *CreateTraceBehaviorBadRequest) IsCode(code int) bool
- func (o *CreateTraceBehaviorBadRequest) IsRedirect() bool
- func (o *CreateTraceBehaviorBadRequest) IsServerError() bool
- func (o *CreateTraceBehaviorBadRequest) IsSuccess() bool
- func (o *CreateTraceBehaviorBadRequest) String() string
- type CreateTraceBehaviorConflict
- func (o *CreateTraceBehaviorConflict) Code() int
- func (o *CreateTraceBehaviorConflict) Error() string
- func (o *CreateTraceBehaviorConflict) GetPayload() *models.APIError
- func (o *CreateTraceBehaviorConflict) IsClientError() bool
- func (o *CreateTraceBehaviorConflict) IsCode(code int) bool
- func (o *CreateTraceBehaviorConflict) IsRedirect() bool
- func (o *CreateTraceBehaviorConflict) IsServerError() bool
- func (o *CreateTraceBehaviorConflict) IsSuccess() bool
- func (o *CreateTraceBehaviorConflict) String() string
- type CreateTraceBehaviorDefault
- func (o *CreateTraceBehaviorDefault) Code() int
- func (o *CreateTraceBehaviorDefault) Error() string
- func (o *CreateTraceBehaviorDefault) GetPayload() models.GenericError
- func (o *CreateTraceBehaviorDefault) IsClientError() bool
- func (o *CreateTraceBehaviorDefault) IsCode(code int) bool
- func (o *CreateTraceBehaviorDefault) IsRedirect() bool
- func (o *CreateTraceBehaviorDefault) IsServerError() bool
- func (o *CreateTraceBehaviorDefault) IsSuccess() bool
- func (o *CreateTraceBehaviorDefault) String() string
- type CreateTraceBehaviorInternalServerError
- func (o *CreateTraceBehaviorInternalServerError) Code() int
- func (o *CreateTraceBehaviorInternalServerError) Error() string
- func (o *CreateTraceBehaviorInternalServerError) GetPayload() *models.APIError
- func (o *CreateTraceBehaviorInternalServerError) IsClientError() bool
- func (o *CreateTraceBehaviorInternalServerError) IsCode(code int) bool
- func (o *CreateTraceBehaviorInternalServerError) IsRedirect() bool
- func (o *CreateTraceBehaviorInternalServerError) IsServerError() bool
- func (o *CreateTraceBehaviorInternalServerError) IsSuccess() bool
- func (o *CreateTraceBehaviorInternalServerError) String() string
- type CreateTraceBehaviorOK
- func (o *CreateTraceBehaviorOK) Code() int
- func (o *CreateTraceBehaviorOK) Error() string
- func (o *CreateTraceBehaviorOK) GetPayload() *models.ConfigunstableCreateTraceBehaviorResponse
- func (o *CreateTraceBehaviorOK) IsClientError() bool
- func (o *CreateTraceBehaviorOK) IsCode(code int) bool
- func (o *CreateTraceBehaviorOK) IsRedirect() bool
- func (o *CreateTraceBehaviorOK) IsServerError() bool
- func (o *CreateTraceBehaviorOK) IsSuccess() bool
- func (o *CreateTraceBehaviorOK) String() string
- type CreateTraceBehaviorParams
- func NewCreateTraceBehaviorParams() *CreateTraceBehaviorParams
- func NewCreateTraceBehaviorParamsWithContext(ctx context.Context) *CreateTraceBehaviorParams
- func NewCreateTraceBehaviorParamsWithHTTPClient(client *http.Client) *CreateTraceBehaviorParams
- func NewCreateTraceBehaviorParamsWithTimeout(timeout time.Duration) *CreateTraceBehaviorParams
- func (o *CreateTraceBehaviorParams) SetBody(body *models.ConfigunstableCreateTraceBehaviorRequest)
- func (o *CreateTraceBehaviorParams) SetContext(ctx context.Context)
- func (o *CreateTraceBehaviorParams) SetDefaults()
- func (o *CreateTraceBehaviorParams) SetHTTPClient(client *http.Client)
- func (o *CreateTraceBehaviorParams) SetTimeout(timeout time.Duration)
- func (o *CreateTraceBehaviorParams) WithBody(body *models.ConfigunstableCreateTraceBehaviorRequest) *CreateTraceBehaviorParams
- func (o *CreateTraceBehaviorParams) WithContext(ctx context.Context) *CreateTraceBehaviorParams
- func (o *CreateTraceBehaviorParams) WithDefaults() *CreateTraceBehaviorParams
- func (o *CreateTraceBehaviorParams) WithHTTPClient(client *http.Client) *CreateTraceBehaviorParams
- func (o *CreateTraceBehaviorParams) WithTimeout(timeout time.Duration) *CreateTraceBehaviorParams
- func (o *CreateTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTraceBehaviorReader
- type DeleteTraceBehaviorBadRequest
- func (o *DeleteTraceBehaviorBadRequest) Code() int
- func (o *DeleteTraceBehaviorBadRequest) Error() string
- func (o *DeleteTraceBehaviorBadRequest) GetPayload() *models.APIError
- func (o *DeleteTraceBehaviorBadRequest) IsClientError() bool
- func (o *DeleteTraceBehaviorBadRequest) IsCode(code int) bool
- func (o *DeleteTraceBehaviorBadRequest) IsRedirect() bool
- func (o *DeleteTraceBehaviorBadRequest) IsServerError() bool
- func (o *DeleteTraceBehaviorBadRequest) IsSuccess() bool
- func (o *DeleteTraceBehaviorBadRequest) String() string
- type DeleteTraceBehaviorDefault
- func (o *DeleteTraceBehaviorDefault) Code() int
- func (o *DeleteTraceBehaviorDefault) Error() string
- func (o *DeleteTraceBehaviorDefault) GetPayload() models.GenericError
- func (o *DeleteTraceBehaviorDefault) IsClientError() bool
- func (o *DeleteTraceBehaviorDefault) IsCode(code int) bool
- func (o *DeleteTraceBehaviorDefault) IsRedirect() bool
- func (o *DeleteTraceBehaviorDefault) IsServerError() bool
- func (o *DeleteTraceBehaviorDefault) IsSuccess() bool
- func (o *DeleteTraceBehaviorDefault) String() string
- type DeleteTraceBehaviorInternalServerError
- func (o *DeleteTraceBehaviorInternalServerError) Code() int
- func (o *DeleteTraceBehaviorInternalServerError) Error() string
- func (o *DeleteTraceBehaviorInternalServerError) GetPayload() *models.APIError
- func (o *DeleteTraceBehaviorInternalServerError) IsClientError() bool
- func (o *DeleteTraceBehaviorInternalServerError) IsCode(code int) bool
- func (o *DeleteTraceBehaviorInternalServerError) IsRedirect() bool
- func (o *DeleteTraceBehaviorInternalServerError) IsServerError() bool
- func (o *DeleteTraceBehaviorInternalServerError) IsSuccess() bool
- func (o *DeleteTraceBehaviorInternalServerError) String() string
- type DeleteTraceBehaviorNotFound
- func (o *DeleteTraceBehaviorNotFound) Code() int
- func (o *DeleteTraceBehaviorNotFound) Error() string
- func (o *DeleteTraceBehaviorNotFound) GetPayload() *models.APIError
- func (o *DeleteTraceBehaviorNotFound) IsClientError() bool
- func (o *DeleteTraceBehaviorNotFound) IsCode(code int) bool
- func (o *DeleteTraceBehaviorNotFound) IsRedirect() bool
- func (o *DeleteTraceBehaviorNotFound) IsServerError() bool
- func (o *DeleteTraceBehaviorNotFound) IsSuccess() bool
- func (o *DeleteTraceBehaviorNotFound) String() string
- type DeleteTraceBehaviorOK
- func (o *DeleteTraceBehaviorOK) Code() int
- func (o *DeleteTraceBehaviorOK) Error() string
- func (o *DeleteTraceBehaviorOK) GetPayload() models.ConfigunstableDeleteTraceBehaviorResponse
- func (o *DeleteTraceBehaviorOK) IsClientError() bool
- func (o *DeleteTraceBehaviorOK) IsCode(code int) bool
- func (o *DeleteTraceBehaviorOK) IsRedirect() bool
- func (o *DeleteTraceBehaviorOK) IsServerError() bool
- func (o *DeleteTraceBehaviorOK) IsSuccess() bool
- func (o *DeleteTraceBehaviorOK) String() string
- type DeleteTraceBehaviorParams
- func NewDeleteTraceBehaviorParams() *DeleteTraceBehaviorParams
- func NewDeleteTraceBehaviorParamsWithContext(ctx context.Context) *DeleteTraceBehaviorParams
- func NewDeleteTraceBehaviorParamsWithHTTPClient(client *http.Client) *DeleteTraceBehaviorParams
- func NewDeleteTraceBehaviorParamsWithTimeout(timeout time.Duration) *DeleteTraceBehaviorParams
- func (o *DeleteTraceBehaviorParams) SetContext(ctx context.Context)
- func (o *DeleteTraceBehaviorParams) SetDefaults()
- func (o *DeleteTraceBehaviorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTraceBehaviorParams) SetSlug(slug string)
- func (o *DeleteTraceBehaviorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTraceBehaviorParams) WithContext(ctx context.Context) *DeleteTraceBehaviorParams
- func (o *DeleteTraceBehaviorParams) WithDefaults() *DeleteTraceBehaviorParams
- func (o *DeleteTraceBehaviorParams) WithHTTPClient(client *http.Client) *DeleteTraceBehaviorParams
- func (o *DeleteTraceBehaviorParams) WithSlug(slug string) *DeleteTraceBehaviorParams
- func (o *DeleteTraceBehaviorParams) WithTimeout(timeout time.Duration) *DeleteTraceBehaviorParams
- func (o *DeleteTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTraceBehaviorReader
- type ListTraceBehaviorsDefault
- func (o *ListTraceBehaviorsDefault) Code() int
- func (o *ListTraceBehaviorsDefault) Error() string
- func (o *ListTraceBehaviorsDefault) GetPayload() models.GenericError
- func (o *ListTraceBehaviorsDefault) IsClientError() bool
- func (o *ListTraceBehaviorsDefault) IsCode(code int) bool
- func (o *ListTraceBehaviorsDefault) IsRedirect() bool
- func (o *ListTraceBehaviorsDefault) IsServerError() bool
- func (o *ListTraceBehaviorsDefault) IsSuccess() bool
- func (o *ListTraceBehaviorsDefault) String() string
- type ListTraceBehaviorsInternalServerError
- func (o *ListTraceBehaviorsInternalServerError) Code() int
- func (o *ListTraceBehaviorsInternalServerError) Error() string
- func (o *ListTraceBehaviorsInternalServerError) GetPayload() *models.APIError
- func (o *ListTraceBehaviorsInternalServerError) IsClientError() bool
- func (o *ListTraceBehaviorsInternalServerError) IsCode(code int) bool
- func (o *ListTraceBehaviorsInternalServerError) IsRedirect() bool
- func (o *ListTraceBehaviorsInternalServerError) IsServerError() bool
- func (o *ListTraceBehaviorsInternalServerError) IsSuccess() bool
- func (o *ListTraceBehaviorsInternalServerError) String() string
- type ListTraceBehaviorsOK
- func (o *ListTraceBehaviorsOK) Code() int
- func (o *ListTraceBehaviorsOK) Error() string
- func (o *ListTraceBehaviorsOK) GetPayload() *models.ConfigunstableListTraceBehaviorsResponse
- func (o *ListTraceBehaviorsOK) IsClientError() bool
- func (o *ListTraceBehaviorsOK) IsCode(code int) bool
- func (o *ListTraceBehaviorsOK) IsRedirect() bool
- func (o *ListTraceBehaviorsOK) IsServerError() bool
- func (o *ListTraceBehaviorsOK) IsSuccess() bool
- func (o *ListTraceBehaviorsOK) String() string
- type ListTraceBehaviorsParams
- func NewListTraceBehaviorsParams() *ListTraceBehaviorsParams
- func NewListTraceBehaviorsParamsWithContext(ctx context.Context) *ListTraceBehaviorsParams
- func NewListTraceBehaviorsParamsWithHTTPClient(client *http.Client) *ListTraceBehaviorsParams
- func NewListTraceBehaviorsParamsWithTimeout(timeout time.Duration) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) SetContext(ctx context.Context)
- func (o *ListTraceBehaviorsParams) SetDefaults()
- func (o *ListTraceBehaviorsParams) SetHTTPClient(client *http.Client)
- func (o *ListTraceBehaviorsParams) SetNames(names []string)
- func (o *ListTraceBehaviorsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListTraceBehaviorsParams) SetPageToken(pageToken *string)
- func (o *ListTraceBehaviorsParams) SetSlugs(slugs []string)
- func (o *ListTraceBehaviorsParams) SetTimeout(timeout time.Duration)
- func (o *ListTraceBehaviorsParams) WithContext(ctx context.Context) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WithDefaults() *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WithHTTPClient(client *http.Client) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WithNames(names []string) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WithPageMaxSize(pageMaxSize *int64) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WithPageToken(pageToken *string) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WithSlugs(slugs []string) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WithTimeout(timeout time.Duration) *ListTraceBehaviorsParams
- func (o *ListTraceBehaviorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTraceBehaviorsReader
- type ReadTraceBehaviorDefault
- func (o *ReadTraceBehaviorDefault) Code() int
- func (o *ReadTraceBehaviorDefault) Error() string
- func (o *ReadTraceBehaviorDefault) GetPayload() models.GenericError
- func (o *ReadTraceBehaviorDefault) IsClientError() bool
- func (o *ReadTraceBehaviorDefault) IsCode(code int) bool
- func (o *ReadTraceBehaviorDefault) IsRedirect() bool
- func (o *ReadTraceBehaviorDefault) IsServerError() bool
- func (o *ReadTraceBehaviorDefault) IsSuccess() bool
- func (o *ReadTraceBehaviorDefault) String() string
- type ReadTraceBehaviorInternalServerError
- func (o *ReadTraceBehaviorInternalServerError) Code() int
- func (o *ReadTraceBehaviorInternalServerError) Error() string
- func (o *ReadTraceBehaviorInternalServerError) GetPayload() *models.APIError
- func (o *ReadTraceBehaviorInternalServerError) IsClientError() bool
- func (o *ReadTraceBehaviorInternalServerError) IsCode(code int) bool
- func (o *ReadTraceBehaviorInternalServerError) IsRedirect() bool
- func (o *ReadTraceBehaviorInternalServerError) IsServerError() bool
- func (o *ReadTraceBehaviorInternalServerError) IsSuccess() bool
- func (o *ReadTraceBehaviorInternalServerError) String() string
- type ReadTraceBehaviorNotFound
- func (o *ReadTraceBehaviorNotFound) Code() int
- func (o *ReadTraceBehaviorNotFound) Error() string
- func (o *ReadTraceBehaviorNotFound) GetPayload() *models.APIError
- func (o *ReadTraceBehaviorNotFound) IsClientError() bool
- func (o *ReadTraceBehaviorNotFound) IsCode(code int) bool
- func (o *ReadTraceBehaviorNotFound) IsRedirect() bool
- func (o *ReadTraceBehaviorNotFound) IsServerError() bool
- func (o *ReadTraceBehaviorNotFound) IsSuccess() bool
- func (o *ReadTraceBehaviorNotFound) String() string
- type ReadTraceBehaviorOK
- func (o *ReadTraceBehaviorOK) Code() int
- func (o *ReadTraceBehaviorOK) Error() string
- func (o *ReadTraceBehaviorOK) GetPayload() *models.ConfigunstableReadTraceBehaviorResponse
- func (o *ReadTraceBehaviorOK) IsClientError() bool
- func (o *ReadTraceBehaviorOK) IsCode(code int) bool
- func (o *ReadTraceBehaviorOK) IsRedirect() bool
- func (o *ReadTraceBehaviorOK) IsServerError() bool
- func (o *ReadTraceBehaviorOK) IsSuccess() bool
- func (o *ReadTraceBehaviorOK) String() string
- type ReadTraceBehaviorParams
- func NewReadTraceBehaviorParams() *ReadTraceBehaviorParams
- func NewReadTraceBehaviorParamsWithContext(ctx context.Context) *ReadTraceBehaviorParams
- func NewReadTraceBehaviorParamsWithHTTPClient(client *http.Client) *ReadTraceBehaviorParams
- func NewReadTraceBehaviorParamsWithTimeout(timeout time.Duration) *ReadTraceBehaviorParams
- func (o *ReadTraceBehaviorParams) SetContext(ctx context.Context)
- func (o *ReadTraceBehaviorParams) SetDefaults()
- func (o *ReadTraceBehaviorParams) SetHTTPClient(client *http.Client)
- func (o *ReadTraceBehaviorParams) SetSlug(slug string)
- func (o *ReadTraceBehaviorParams) SetTimeout(timeout time.Duration)
- func (o *ReadTraceBehaviorParams) WithContext(ctx context.Context) *ReadTraceBehaviorParams
- func (o *ReadTraceBehaviorParams) WithDefaults() *ReadTraceBehaviorParams
- func (o *ReadTraceBehaviorParams) WithHTTPClient(client *http.Client) *ReadTraceBehaviorParams
- func (o *ReadTraceBehaviorParams) WithSlug(slug string) *ReadTraceBehaviorParams
- func (o *ReadTraceBehaviorParams) WithTimeout(timeout time.Duration) *ReadTraceBehaviorParams
- func (o *ReadTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadTraceBehaviorReader
- type UpdateTraceBehaviorBadRequest
- func (o *UpdateTraceBehaviorBadRequest) Code() int
- func (o *UpdateTraceBehaviorBadRequest) Error() string
- func (o *UpdateTraceBehaviorBadRequest) GetPayload() *models.APIError
- func (o *UpdateTraceBehaviorBadRequest) IsClientError() bool
- func (o *UpdateTraceBehaviorBadRequest) IsCode(code int) bool
- func (o *UpdateTraceBehaviorBadRequest) IsRedirect() bool
- func (o *UpdateTraceBehaviorBadRequest) IsServerError() bool
- func (o *UpdateTraceBehaviorBadRequest) IsSuccess() bool
- func (o *UpdateTraceBehaviorBadRequest) String() string
- type UpdateTraceBehaviorConflict
- func (o *UpdateTraceBehaviorConflict) Code() int
- func (o *UpdateTraceBehaviorConflict) Error() string
- func (o *UpdateTraceBehaviorConflict) GetPayload() *models.APIError
- func (o *UpdateTraceBehaviorConflict) IsClientError() bool
- func (o *UpdateTraceBehaviorConflict) IsCode(code int) bool
- func (o *UpdateTraceBehaviorConflict) IsRedirect() bool
- func (o *UpdateTraceBehaviorConflict) IsServerError() bool
- func (o *UpdateTraceBehaviorConflict) IsSuccess() bool
- func (o *UpdateTraceBehaviorConflict) String() string
- type UpdateTraceBehaviorDefault
- func (o *UpdateTraceBehaviorDefault) Code() int
- func (o *UpdateTraceBehaviorDefault) Error() string
- func (o *UpdateTraceBehaviorDefault) GetPayload() models.GenericError
- func (o *UpdateTraceBehaviorDefault) IsClientError() bool
- func (o *UpdateTraceBehaviorDefault) IsCode(code int) bool
- func (o *UpdateTraceBehaviorDefault) IsRedirect() bool
- func (o *UpdateTraceBehaviorDefault) IsServerError() bool
- func (o *UpdateTraceBehaviorDefault) IsSuccess() bool
- func (o *UpdateTraceBehaviorDefault) String() string
- type UpdateTraceBehaviorInternalServerError
- func (o *UpdateTraceBehaviorInternalServerError) Code() int
- func (o *UpdateTraceBehaviorInternalServerError) Error() string
- func (o *UpdateTraceBehaviorInternalServerError) GetPayload() *models.APIError
- func (o *UpdateTraceBehaviorInternalServerError) IsClientError() bool
- func (o *UpdateTraceBehaviorInternalServerError) IsCode(code int) bool
- func (o *UpdateTraceBehaviorInternalServerError) IsRedirect() bool
- func (o *UpdateTraceBehaviorInternalServerError) IsServerError() bool
- func (o *UpdateTraceBehaviorInternalServerError) IsSuccess() bool
- func (o *UpdateTraceBehaviorInternalServerError) String() string
- type UpdateTraceBehaviorNotFound
- func (o *UpdateTraceBehaviorNotFound) Code() int
- func (o *UpdateTraceBehaviorNotFound) Error() string
- func (o *UpdateTraceBehaviorNotFound) GetPayload() *models.APIError
- func (o *UpdateTraceBehaviorNotFound) IsClientError() bool
- func (o *UpdateTraceBehaviorNotFound) IsCode(code int) bool
- func (o *UpdateTraceBehaviorNotFound) IsRedirect() bool
- func (o *UpdateTraceBehaviorNotFound) IsServerError() bool
- func (o *UpdateTraceBehaviorNotFound) IsSuccess() bool
- func (o *UpdateTraceBehaviorNotFound) String() string
- type UpdateTraceBehaviorOK
- func (o *UpdateTraceBehaviorOK) Code() int
- func (o *UpdateTraceBehaviorOK) Error() string
- func (o *UpdateTraceBehaviorOK) GetPayload() *models.ConfigunstableUpdateTraceBehaviorResponse
- func (o *UpdateTraceBehaviorOK) IsClientError() bool
- func (o *UpdateTraceBehaviorOK) IsCode(code int) bool
- func (o *UpdateTraceBehaviorOK) IsRedirect() bool
- func (o *UpdateTraceBehaviorOK) IsServerError() bool
- func (o *UpdateTraceBehaviorOK) IsSuccess() bool
- func (o *UpdateTraceBehaviorOK) String() string
- type UpdateTraceBehaviorParams
- func NewUpdateTraceBehaviorParams() *UpdateTraceBehaviorParams
- func NewUpdateTraceBehaviorParamsWithContext(ctx context.Context) *UpdateTraceBehaviorParams
- func NewUpdateTraceBehaviorParamsWithHTTPClient(client *http.Client) *UpdateTraceBehaviorParams
- func NewUpdateTraceBehaviorParamsWithTimeout(timeout time.Duration) *UpdateTraceBehaviorParams
- func (o *UpdateTraceBehaviorParams) SetBody(body *models.ConfigUnstableUpdateTraceBehaviorBody)
- func (o *UpdateTraceBehaviorParams) SetContext(ctx context.Context)
- func (o *UpdateTraceBehaviorParams) SetDefaults()
- func (o *UpdateTraceBehaviorParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTraceBehaviorParams) SetSlug(slug string)
- func (o *UpdateTraceBehaviorParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTraceBehaviorParams) WithBody(body *models.ConfigUnstableUpdateTraceBehaviorBody) *UpdateTraceBehaviorParams
- func (o *UpdateTraceBehaviorParams) WithContext(ctx context.Context) *UpdateTraceBehaviorParams
- func (o *UpdateTraceBehaviorParams) WithDefaults() *UpdateTraceBehaviorParams
- func (o *UpdateTraceBehaviorParams) WithHTTPClient(client *http.Client) *UpdateTraceBehaviorParams
- func (o *UpdateTraceBehaviorParams) WithSlug(slug string) *UpdateTraceBehaviorParams
- func (o *UpdateTraceBehaviorParams) WithTimeout(timeout time.Duration) *UpdateTraceBehaviorParams
- func (o *UpdateTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTraceBehaviorReader
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 trace behavior API
func (*Client) CreateTraceBehavior ¶
func (a *Client) CreateTraceBehavior(params *CreateTraceBehaviorParams, opts ...ClientOption) (*CreateTraceBehaviorOK, error)
CreateTraceBehavior create trace behavior API
func (*Client) DeleteTraceBehavior ¶
func (a *Client) DeleteTraceBehavior(params *DeleteTraceBehaviorParams, opts ...ClientOption) (*DeleteTraceBehaviorOK, error)
DeleteTraceBehavior delete trace behavior API
func (*Client) ListTraceBehaviors ¶
func (a *Client) ListTraceBehaviors(params *ListTraceBehaviorsParams, opts ...ClientOption) (*ListTraceBehaviorsOK, error)
ListTraceBehaviors list trace behaviors API
func (*Client) ReadTraceBehavior ¶
func (a *Client) ReadTraceBehavior(params *ReadTraceBehaviorParams, opts ...ClientOption) (*ReadTraceBehaviorOK, error)
ReadTraceBehavior read trace behavior API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTraceBehavior ¶
func (a *Client) UpdateTraceBehavior(params *UpdateTraceBehaviorParams, opts ...ClientOption) (*UpdateTraceBehaviorOK, error)
UpdateTraceBehavior update trace behavior API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateTraceBehavior(params *CreateTraceBehaviorParams, opts ...ClientOption) (*CreateTraceBehaviorOK, error) DeleteTraceBehavior(params *DeleteTraceBehaviorParams, opts ...ClientOption) (*DeleteTraceBehaviorOK, error) ListTraceBehaviors(params *ListTraceBehaviorsParams, opts ...ClientOption) (*ListTraceBehaviorsOK, error) ReadTraceBehavior(params *ReadTraceBehaviorParams, opts ...ClientOption) (*ReadTraceBehaviorOK, error) UpdateTraceBehavior(params *UpdateTraceBehaviorParams, opts ...ClientOption) (*UpdateTraceBehaviorOK, 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 trace behavior API client.
type CreateTraceBehaviorBadRequest ¶
CreateTraceBehaviorBadRequest describes a response with status code 400, with default header values.
Cannot create the TraceBehavior because the request is invalid.
func NewCreateTraceBehaviorBadRequest ¶
func NewCreateTraceBehaviorBadRequest() *CreateTraceBehaviorBadRequest
NewCreateTraceBehaviorBadRequest creates a CreateTraceBehaviorBadRequest with default headers values
func (*CreateTraceBehaviorBadRequest) Code ¶
func (o *CreateTraceBehaviorBadRequest) Code() int
Code gets the status code for the create trace behavior bad request response
func (*CreateTraceBehaviorBadRequest) Error ¶
func (o *CreateTraceBehaviorBadRequest) Error() string
func (*CreateTraceBehaviorBadRequest) GetPayload ¶
func (o *CreateTraceBehaviorBadRequest) GetPayload() *models.APIError
func (*CreateTraceBehaviorBadRequest) IsClientError ¶
func (o *CreateTraceBehaviorBadRequest) IsClientError() bool
IsClientError returns true when this create trace behavior bad request response has a 4xx status code
func (*CreateTraceBehaviorBadRequest) IsCode ¶
func (o *CreateTraceBehaviorBadRequest) IsCode(code int) bool
IsCode returns true when this create trace behavior bad request response a status code equal to that given
func (*CreateTraceBehaviorBadRequest) IsRedirect ¶
func (o *CreateTraceBehaviorBadRequest) IsRedirect() bool
IsRedirect returns true when this create trace behavior bad request response has a 3xx status code
func (*CreateTraceBehaviorBadRequest) IsServerError ¶
func (o *CreateTraceBehaviorBadRequest) IsServerError() bool
IsServerError returns true when this create trace behavior bad request response has a 5xx status code
func (*CreateTraceBehaviorBadRequest) IsSuccess ¶
func (o *CreateTraceBehaviorBadRequest) IsSuccess() bool
IsSuccess returns true when this create trace behavior bad request response has a 2xx status code
func (*CreateTraceBehaviorBadRequest) String ¶
func (o *CreateTraceBehaviorBadRequest) String() string
type CreateTraceBehaviorConflict ¶
CreateTraceBehaviorConflict describes a response with status code 409, with default header values.
Cannot create the TraceBehavior because there is a conflict with an existing TraceBehavior.
func NewCreateTraceBehaviorConflict ¶
func NewCreateTraceBehaviorConflict() *CreateTraceBehaviorConflict
NewCreateTraceBehaviorConflict creates a CreateTraceBehaviorConflict with default headers values
func (*CreateTraceBehaviorConflict) Code ¶
func (o *CreateTraceBehaviorConflict) Code() int
Code gets the status code for the create trace behavior conflict response
func (*CreateTraceBehaviorConflict) Error ¶
func (o *CreateTraceBehaviorConflict) Error() string
func (*CreateTraceBehaviorConflict) GetPayload ¶
func (o *CreateTraceBehaviorConflict) GetPayload() *models.APIError
func (*CreateTraceBehaviorConflict) IsClientError ¶
func (o *CreateTraceBehaviorConflict) IsClientError() bool
IsClientError returns true when this create trace behavior conflict response has a 4xx status code
func (*CreateTraceBehaviorConflict) IsCode ¶
func (o *CreateTraceBehaviorConflict) IsCode(code int) bool
IsCode returns true when this create trace behavior conflict response a status code equal to that given
func (*CreateTraceBehaviorConflict) IsRedirect ¶
func (o *CreateTraceBehaviorConflict) IsRedirect() bool
IsRedirect returns true when this create trace behavior conflict response has a 3xx status code
func (*CreateTraceBehaviorConflict) IsServerError ¶
func (o *CreateTraceBehaviorConflict) IsServerError() bool
IsServerError returns true when this create trace behavior conflict response has a 5xx status code
func (*CreateTraceBehaviorConflict) IsSuccess ¶
func (o *CreateTraceBehaviorConflict) IsSuccess() bool
IsSuccess returns true when this create trace behavior conflict response has a 2xx status code
func (*CreateTraceBehaviorConflict) String ¶
func (o *CreateTraceBehaviorConflict) String() string
type CreateTraceBehaviorDefault ¶
type CreateTraceBehaviorDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateTraceBehaviorDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateTraceBehaviorDefault ¶
func NewCreateTraceBehaviorDefault(code int) *CreateTraceBehaviorDefault
NewCreateTraceBehaviorDefault creates a CreateTraceBehaviorDefault with default headers values
func (*CreateTraceBehaviorDefault) Code ¶
func (o *CreateTraceBehaviorDefault) Code() int
Code gets the status code for the create trace behavior default response
func (*CreateTraceBehaviorDefault) Error ¶
func (o *CreateTraceBehaviorDefault) Error() string
func (*CreateTraceBehaviorDefault) GetPayload ¶
func (o *CreateTraceBehaviorDefault) GetPayload() models.GenericError
func (*CreateTraceBehaviorDefault) IsClientError ¶
func (o *CreateTraceBehaviorDefault) IsClientError() bool
IsClientError returns true when this create trace behavior default response has a 4xx status code
func (*CreateTraceBehaviorDefault) IsCode ¶
func (o *CreateTraceBehaviorDefault) IsCode(code int) bool
IsCode returns true when this create trace behavior default response a status code equal to that given
func (*CreateTraceBehaviorDefault) IsRedirect ¶
func (o *CreateTraceBehaviorDefault) IsRedirect() bool
IsRedirect returns true when this create trace behavior default response has a 3xx status code
func (*CreateTraceBehaviorDefault) IsServerError ¶
func (o *CreateTraceBehaviorDefault) IsServerError() bool
IsServerError returns true when this create trace behavior default response has a 5xx status code
func (*CreateTraceBehaviorDefault) IsSuccess ¶
func (o *CreateTraceBehaviorDefault) IsSuccess() bool
IsSuccess returns true when this create trace behavior default response has a 2xx status code
func (*CreateTraceBehaviorDefault) String ¶
func (o *CreateTraceBehaviorDefault) String() string
type CreateTraceBehaviorInternalServerError ¶
CreateTraceBehaviorInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateTraceBehaviorInternalServerError ¶
func NewCreateTraceBehaviorInternalServerError() *CreateTraceBehaviorInternalServerError
NewCreateTraceBehaviorInternalServerError creates a CreateTraceBehaviorInternalServerError with default headers values
func (*CreateTraceBehaviorInternalServerError) Code ¶
func (o *CreateTraceBehaviorInternalServerError) Code() int
Code gets the status code for the create trace behavior internal server error response
func (*CreateTraceBehaviorInternalServerError) Error ¶
func (o *CreateTraceBehaviorInternalServerError) Error() string
func (*CreateTraceBehaviorInternalServerError) GetPayload ¶
func (o *CreateTraceBehaviorInternalServerError) GetPayload() *models.APIError
func (*CreateTraceBehaviorInternalServerError) IsClientError ¶
func (o *CreateTraceBehaviorInternalServerError) IsClientError() bool
IsClientError returns true when this create trace behavior internal server error response has a 4xx status code
func (*CreateTraceBehaviorInternalServerError) IsCode ¶
func (o *CreateTraceBehaviorInternalServerError) IsCode(code int) bool
IsCode returns true when this create trace behavior internal server error response a status code equal to that given
func (*CreateTraceBehaviorInternalServerError) IsRedirect ¶
func (o *CreateTraceBehaviorInternalServerError) IsRedirect() bool
IsRedirect returns true when this create trace behavior internal server error response has a 3xx status code
func (*CreateTraceBehaviorInternalServerError) IsServerError ¶
func (o *CreateTraceBehaviorInternalServerError) IsServerError() bool
IsServerError returns true when this create trace behavior internal server error response has a 5xx status code
func (*CreateTraceBehaviorInternalServerError) IsSuccess ¶
func (o *CreateTraceBehaviorInternalServerError) IsSuccess() bool
IsSuccess returns true when this create trace behavior internal server error response has a 2xx status code
func (*CreateTraceBehaviorInternalServerError) String ¶
func (o *CreateTraceBehaviorInternalServerError) String() string
type CreateTraceBehaviorOK ¶
type CreateTraceBehaviorOK struct {
Payload *models.ConfigunstableCreateTraceBehaviorResponse
}
CreateTraceBehaviorOK describes a response with status code 200, with default header values.
A successful response containing the created TraceBehavior.
func NewCreateTraceBehaviorOK ¶
func NewCreateTraceBehaviorOK() *CreateTraceBehaviorOK
NewCreateTraceBehaviorOK creates a CreateTraceBehaviorOK with default headers values
func (*CreateTraceBehaviorOK) Code ¶
func (o *CreateTraceBehaviorOK) Code() int
Code gets the status code for the create trace behavior o k response
func (*CreateTraceBehaviorOK) Error ¶
func (o *CreateTraceBehaviorOK) Error() string
func (*CreateTraceBehaviorOK) GetPayload ¶
func (o *CreateTraceBehaviorOK) GetPayload() *models.ConfigunstableCreateTraceBehaviorResponse
func (*CreateTraceBehaviorOK) IsClientError ¶
func (o *CreateTraceBehaviorOK) IsClientError() bool
IsClientError returns true when this create trace behavior o k response has a 4xx status code
func (*CreateTraceBehaviorOK) IsCode ¶
func (o *CreateTraceBehaviorOK) IsCode(code int) bool
IsCode returns true when this create trace behavior o k response a status code equal to that given
func (*CreateTraceBehaviorOK) IsRedirect ¶
func (o *CreateTraceBehaviorOK) IsRedirect() bool
IsRedirect returns true when this create trace behavior o k response has a 3xx status code
func (*CreateTraceBehaviorOK) IsServerError ¶
func (o *CreateTraceBehaviorOK) IsServerError() bool
IsServerError returns true when this create trace behavior o k response has a 5xx status code
func (*CreateTraceBehaviorOK) IsSuccess ¶
func (o *CreateTraceBehaviorOK) IsSuccess() bool
IsSuccess returns true when this create trace behavior o k response has a 2xx status code
func (*CreateTraceBehaviorOK) String ¶
func (o *CreateTraceBehaviorOK) String() string
type CreateTraceBehaviorParams ¶
type CreateTraceBehaviorParams struct { // Body. Body *models.ConfigunstableCreateTraceBehaviorRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTraceBehaviorParams contains all the parameters to send to the API endpoint
for the create trace behavior operation. Typically these are written to a http.Request.
func NewCreateTraceBehaviorParams ¶
func NewCreateTraceBehaviorParams() *CreateTraceBehaviorParams
NewCreateTraceBehaviorParams creates a new CreateTraceBehaviorParams 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 NewCreateTraceBehaviorParamsWithContext ¶
func NewCreateTraceBehaviorParamsWithContext(ctx context.Context) *CreateTraceBehaviorParams
NewCreateTraceBehaviorParamsWithContext creates a new CreateTraceBehaviorParams object with the ability to set a context for a request.
func NewCreateTraceBehaviorParamsWithHTTPClient ¶
func NewCreateTraceBehaviorParamsWithHTTPClient(client *http.Client) *CreateTraceBehaviorParams
NewCreateTraceBehaviorParamsWithHTTPClient creates a new CreateTraceBehaviorParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTraceBehaviorParamsWithTimeout ¶
func NewCreateTraceBehaviorParamsWithTimeout(timeout time.Duration) *CreateTraceBehaviorParams
NewCreateTraceBehaviorParamsWithTimeout creates a new CreateTraceBehaviorParams object with the ability to set a timeout on a request.
func (*CreateTraceBehaviorParams) SetBody ¶
func (o *CreateTraceBehaviorParams) SetBody(body *models.ConfigunstableCreateTraceBehaviorRequest)
SetBody adds the body to the create trace behavior params
func (*CreateTraceBehaviorParams) SetContext ¶
func (o *CreateTraceBehaviorParams) SetContext(ctx context.Context)
SetContext adds the context to the create trace behavior params
func (*CreateTraceBehaviorParams) SetDefaults ¶
func (o *CreateTraceBehaviorParams) SetDefaults()
SetDefaults hydrates default values in the create trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTraceBehaviorParams) SetHTTPClient ¶
func (o *CreateTraceBehaviorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create trace behavior params
func (*CreateTraceBehaviorParams) SetTimeout ¶
func (o *CreateTraceBehaviorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create trace behavior params
func (*CreateTraceBehaviorParams) WithBody ¶
func (o *CreateTraceBehaviorParams) WithBody(body *models.ConfigunstableCreateTraceBehaviorRequest) *CreateTraceBehaviorParams
WithBody adds the body to the create trace behavior params
func (*CreateTraceBehaviorParams) WithContext ¶
func (o *CreateTraceBehaviorParams) WithContext(ctx context.Context) *CreateTraceBehaviorParams
WithContext adds the context to the create trace behavior params
func (*CreateTraceBehaviorParams) WithDefaults ¶
func (o *CreateTraceBehaviorParams) WithDefaults() *CreateTraceBehaviorParams
WithDefaults hydrates default values in the create trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTraceBehaviorParams) WithHTTPClient ¶
func (o *CreateTraceBehaviorParams) WithHTTPClient(client *http.Client) *CreateTraceBehaviorParams
WithHTTPClient adds the HTTPClient to the create trace behavior params
func (*CreateTraceBehaviorParams) WithTimeout ¶
func (o *CreateTraceBehaviorParams) WithTimeout(timeout time.Duration) *CreateTraceBehaviorParams
WithTimeout adds the timeout to the create trace behavior params
func (*CreateTraceBehaviorParams) WriteToRequest ¶
func (o *CreateTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTraceBehaviorReader ¶
type CreateTraceBehaviorReader struct {
// contains filtered or unexported fields
}
CreateTraceBehaviorReader is a Reader for the CreateTraceBehavior structure.
func (*CreateTraceBehaviorReader) ReadResponse ¶
func (o *CreateTraceBehaviorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTraceBehaviorBadRequest ¶
DeleteTraceBehaviorBadRequest describes a response with status code 400, with default header values.
Cannot delete the TraceBehavior because it is in use.
func NewDeleteTraceBehaviorBadRequest ¶
func NewDeleteTraceBehaviorBadRequest() *DeleteTraceBehaviorBadRequest
NewDeleteTraceBehaviorBadRequest creates a DeleteTraceBehaviorBadRequest with default headers values
func (*DeleteTraceBehaviorBadRequest) Code ¶
func (o *DeleteTraceBehaviorBadRequest) Code() int
Code gets the status code for the delete trace behavior bad request response
func (*DeleteTraceBehaviorBadRequest) Error ¶
func (o *DeleteTraceBehaviorBadRequest) Error() string
func (*DeleteTraceBehaviorBadRequest) GetPayload ¶
func (o *DeleteTraceBehaviorBadRequest) GetPayload() *models.APIError
func (*DeleteTraceBehaviorBadRequest) IsClientError ¶
func (o *DeleteTraceBehaviorBadRequest) IsClientError() bool
IsClientError returns true when this delete trace behavior bad request response has a 4xx status code
func (*DeleteTraceBehaviorBadRequest) IsCode ¶
func (o *DeleteTraceBehaviorBadRequest) IsCode(code int) bool
IsCode returns true when this delete trace behavior bad request response a status code equal to that given
func (*DeleteTraceBehaviorBadRequest) IsRedirect ¶
func (o *DeleteTraceBehaviorBadRequest) IsRedirect() bool
IsRedirect returns true when this delete trace behavior bad request response has a 3xx status code
func (*DeleteTraceBehaviorBadRequest) IsServerError ¶
func (o *DeleteTraceBehaviorBadRequest) IsServerError() bool
IsServerError returns true when this delete trace behavior bad request response has a 5xx status code
func (*DeleteTraceBehaviorBadRequest) IsSuccess ¶
func (o *DeleteTraceBehaviorBadRequest) IsSuccess() bool
IsSuccess returns true when this delete trace behavior bad request response has a 2xx status code
func (*DeleteTraceBehaviorBadRequest) String ¶
func (o *DeleteTraceBehaviorBadRequest) String() string
type DeleteTraceBehaviorDefault ¶
type DeleteTraceBehaviorDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteTraceBehaviorDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteTraceBehaviorDefault ¶
func NewDeleteTraceBehaviorDefault(code int) *DeleteTraceBehaviorDefault
NewDeleteTraceBehaviorDefault creates a DeleteTraceBehaviorDefault with default headers values
func (*DeleteTraceBehaviorDefault) Code ¶
func (o *DeleteTraceBehaviorDefault) Code() int
Code gets the status code for the delete trace behavior default response
func (*DeleteTraceBehaviorDefault) Error ¶
func (o *DeleteTraceBehaviorDefault) Error() string
func (*DeleteTraceBehaviorDefault) GetPayload ¶
func (o *DeleteTraceBehaviorDefault) GetPayload() models.GenericError
func (*DeleteTraceBehaviorDefault) IsClientError ¶
func (o *DeleteTraceBehaviorDefault) IsClientError() bool
IsClientError returns true when this delete trace behavior default response has a 4xx status code
func (*DeleteTraceBehaviorDefault) IsCode ¶
func (o *DeleteTraceBehaviorDefault) IsCode(code int) bool
IsCode returns true when this delete trace behavior default response a status code equal to that given
func (*DeleteTraceBehaviorDefault) IsRedirect ¶
func (o *DeleteTraceBehaviorDefault) IsRedirect() bool
IsRedirect returns true when this delete trace behavior default response has a 3xx status code
func (*DeleteTraceBehaviorDefault) IsServerError ¶
func (o *DeleteTraceBehaviorDefault) IsServerError() bool
IsServerError returns true when this delete trace behavior default response has a 5xx status code
func (*DeleteTraceBehaviorDefault) IsSuccess ¶
func (o *DeleteTraceBehaviorDefault) IsSuccess() bool
IsSuccess returns true when this delete trace behavior default response has a 2xx status code
func (*DeleteTraceBehaviorDefault) String ¶
func (o *DeleteTraceBehaviorDefault) String() string
type DeleteTraceBehaviorInternalServerError ¶
DeleteTraceBehaviorInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteTraceBehaviorInternalServerError ¶
func NewDeleteTraceBehaviorInternalServerError() *DeleteTraceBehaviorInternalServerError
NewDeleteTraceBehaviorInternalServerError creates a DeleteTraceBehaviorInternalServerError with default headers values
func (*DeleteTraceBehaviorInternalServerError) Code ¶
func (o *DeleteTraceBehaviorInternalServerError) Code() int
Code gets the status code for the delete trace behavior internal server error response
func (*DeleteTraceBehaviorInternalServerError) Error ¶
func (o *DeleteTraceBehaviorInternalServerError) Error() string
func (*DeleteTraceBehaviorInternalServerError) GetPayload ¶
func (o *DeleteTraceBehaviorInternalServerError) GetPayload() *models.APIError
func (*DeleteTraceBehaviorInternalServerError) IsClientError ¶
func (o *DeleteTraceBehaviorInternalServerError) IsClientError() bool
IsClientError returns true when this delete trace behavior internal server error response has a 4xx status code
func (*DeleteTraceBehaviorInternalServerError) IsCode ¶
func (o *DeleteTraceBehaviorInternalServerError) IsCode(code int) bool
IsCode returns true when this delete trace behavior internal server error response a status code equal to that given
func (*DeleteTraceBehaviorInternalServerError) IsRedirect ¶
func (o *DeleteTraceBehaviorInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete trace behavior internal server error response has a 3xx status code
func (*DeleteTraceBehaviorInternalServerError) IsServerError ¶
func (o *DeleteTraceBehaviorInternalServerError) IsServerError() bool
IsServerError returns true when this delete trace behavior internal server error response has a 5xx status code
func (*DeleteTraceBehaviorInternalServerError) IsSuccess ¶
func (o *DeleteTraceBehaviorInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete trace behavior internal server error response has a 2xx status code
func (*DeleteTraceBehaviorInternalServerError) String ¶
func (o *DeleteTraceBehaviorInternalServerError) String() string
type DeleteTraceBehaviorNotFound ¶
DeleteTraceBehaviorNotFound describes a response with status code 404, with default header values.
Cannot delete the TraceBehavior because the slug does not exist.
func NewDeleteTraceBehaviorNotFound ¶
func NewDeleteTraceBehaviorNotFound() *DeleteTraceBehaviorNotFound
NewDeleteTraceBehaviorNotFound creates a DeleteTraceBehaviorNotFound with default headers values
func (*DeleteTraceBehaviorNotFound) Code ¶
func (o *DeleteTraceBehaviorNotFound) Code() int
Code gets the status code for the delete trace behavior not found response
func (*DeleteTraceBehaviorNotFound) Error ¶
func (o *DeleteTraceBehaviorNotFound) Error() string
func (*DeleteTraceBehaviorNotFound) GetPayload ¶
func (o *DeleteTraceBehaviorNotFound) GetPayload() *models.APIError
func (*DeleteTraceBehaviorNotFound) IsClientError ¶
func (o *DeleteTraceBehaviorNotFound) IsClientError() bool
IsClientError returns true when this delete trace behavior not found response has a 4xx status code
func (*DeleteTraceBehaviorNotFound) IsCode ¶
func (o *DeleteTraceBehaviorNotFound) IsCode(code int) bool
IsCode returns true when this delete trace behavior not found response a status code equal to that given
func (*DeleteTraceBehaviorNotFound) IsRedirect ¶
func (o *DeleteTraceBehaviorNotFound) IsRedirect() bool
IsRedirect returns true when this delete trace behavior not found response has a 3xx status code
func (*DeleteTraceBehaviorNotFound) IsServerError ¶
func (o *DeleteTraceBehaviorNotFound) IsServerError() bool
IsServerError returns true when this delete trace behavior not found response has a 5xx status code
func (*DeleteTraceBehaviorNotFound) IsSuccess ¶
func (o *DeleteTraceBehaviorNotFound) IsSuccess() bool
IsSuccess returns true when this delete trace behavior not found response has a 2xx status code
func (*DeleteTraceBehaviorNotFound) String ¶
func (o *DeleteTraceBehaviorNotFound) String() string
type DeleteTraceBehaviorOK ¶
type DeleteTraceBehaviorOK struct {
Payload models.ConfigunstableDeleteTraceBehaviorResponse
}
DeleteTraceBehaviorOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteTraceBehaviorOK ¶
func NewDeleteTraceBehaviorOK() *DeleteTraceBehaviorOK
NewDeleteTraceBehaviorOK creates a DeleteTraceBehaviorOK with default headers values
func (*DeleteTraceBehaviorOK) Code ¶
func (o *DeleteTraceBehaviorOK) Code() int
Code gets the status code for the delete trace behavior o k response
func (*DeleteTraceBehaviorOK) Error ¶
func (o *DeleteTraceBehaviorOK) Error() string
func (*DeleteTraceBehaviorOK) GetPayload ¶
func (o *DeleteTraceBehaviorOK) GetPayload() models.ConfigunstableDeleteTraceBehaviorResponse
func (*DeleteTraceBehaviorOK) IsClientError ¶
func (o *DeleteTraceBehaviorOK) IsClientError() bool
IsClientError returns true when this delete trace behavior o k response has a 4xx status code
func (*DeleteTraceBehaviorOK) IsCode ¶
func (o *DeleteTraceBehaviorOK) IsCode(code int) bool
IsCode returns true when this delete trace behavior o k response a status code equal to that given
func (*DeleteTraceBehaviorOK) IsRedirect ¶
func (o *DeleteTraceBehaviorOK) IsRedirect() bool
IsRedirect returns true when this delete trace behavior o k response has a 3xx status code
func (*DeleteTraceBehaviorOK) IsServerError ¶
func (o *DeleteTraceBehaviorOK) IsServerError() bool
IsServerError returns true when this delete trace behavior o k response has a 5xx status code
func (*DeleteTraceBehaviorOK) IsSuccess ¶
func (o *DeleteTraceBehaviorOK) IsSuccess() bool
IsSuccess returns true when this delete trace behavior o k response has a 2xx status code
func (*DeleteTraceBehaviorOK) String ¶
func (o *DeleteTraceBehaviorOK) String() string
type DeleteTraceBehaviorParams ¶
type DeleteTraceBehaviorParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTraceBehaviorParams contains all the parameters to send to the API endpoint
for the delete trace behavior operation. Typically these are written to a http.Request.
func NewDeleteTraceBehaviorParams ¶
func NewDeleteTraceBehaviorParams() *DeleteTraceBehaviorParams
NewDeleteTraceBehaviorParams creates a new DeleteTraceBehaviorParams 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 NewDeleteTraceBehaviorParamsWithContext ¶
func NewDeleteTraceBehaviorParamsWithContext(ctx context.Context) *DeleteTraceBehaviorParams
NewDeleteTraceBehaviorParamsWithContext creates a new DeleteTraceBehaviorParams object with the ability to set a context for a request.
func NewDeleteTraceBehaviorParamsWithHTTPClient ¶
func NewDeleteTraceBehaviorParamsWithHTTPClient(client *http.Client) *DeleteTraceBehaviorParams
NewDeleteTraceBehaviorParamsWithHTTPClient creates a new DeleteTraceBehaviorParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTraceBehaviorParamsWithTimeout ¶
func NewDeleteTraceBehaviorParamsWithTimeout(timeout time.Duration) *DeleteTraceBehaviorParams
NewDeleteTraceBehaviorParamsWithTimeout creates a new DeleteTraceBehaviorParams object with the ability to set a timeout on a request.
func (*DeleteTraceBehaviorParams) SetContext ¶
func (o *DeleteTraceBehaviorParams) SetContext(ctx context.Context)
SetContext adds the context to the delete trace behavior params
func (*DeleteTraceBehaviorParams) SetDefaults ¶
func (o *DeleteTraceBehaviorParams) SetDefaults()
SetDefaults hydrates default values in the delete trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTraceBehaviorParams) SetHTTPClient ¶
func (o *DeleteTraceBehaviorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete trace behavior params
func (*DeleteTraceBehaviorParams) SetSlug ¶
func (o *DeleteTraceBehaviorParams) SetSlug(slug string)
SetSlug adds the slug to the delete trace behavior params
func (*DeleteTraceBehaviorParams) SetTimeout ¶
func (o *DeleteTraceBehaviorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete trace behavior params
func (*DeleteTraceBehaviorParams) WithContext ¶
func (o *DeleteTraceBehaviorParams) WithContext(ctx context.Context) *DeleteTraceBehaviorParams
WithContext adds the context to the delete trace behavior params
func (*DeleteTraceBehaviorParams) WithDefaults ¶
func (o *DeleteTraceBehaviorParams) WithDefaults() *DeleteTraceBehaviorParams
WithDefaults hydrates default values in the delete trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTraceBehaviorParams) WithHTTPClient ¶
func (o *DeleteTraceBehaviorParams) WithHTTPClient(client *http.Client) *DeleteTraceBehaviorParams
WithHTTPClient adds the HTTPClient to the delete trace behavior params
func (*DeleteTraceBehaviorParams) WithSlug ¶
func (o *DeleteTraceBehaviorParams) WithSlug(slug string) *DeleteTraceBehaviorParams
WithSlug adds the slug to the delete trace behavior params
func (*DeleteTraceBehaviorParams) WithTimeout ¶
func (o *DeleteTraceBehaviorParams) WithTimeout(timeout time.Duration) *DeleteTraceBehaviorParams
WithTimeout adds the timeout to the delete trace behavior params
func (*DeleteTraceBehaviorParams) WriteToRequest ¶
func (o *DeleteTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTraceBehaviorReader ¶
type DeleteTraceBehaviorReader struct {
// contains filtered or unexported fields
}
DeleteTraceBehaviorReader is a Reader for the DeleteTraceBehavior structure.
func (*DeleteTraceBehaviorReader) ReadResponse ¶
func (o *DeleteTraceBehaviorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTraceBehaviorsDefault ¶
type ListTraceBehaviorsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListTraceBehaviorsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListTraceBehaviorsDefault ¶
func NewListTraceBehaviorsDefault(code int) *ListTraceBehaviorsDefault
NewListTraceBehaviorsDefault creates a ListTraceBehaviorsDefault with default headers values
func (*ListTraceBehaviorsDefault) Code ¶
func (o *ListTraceBehaviorsDefault) Code() int
Code gets the status code for the list trace behaviors default response
func (*ListTraceBehaviorsDefault) Error ¶
func (o *ListTraceBehaviorsDefault) Error() string
func (*ListTraceBehaviorsDefault) GetPayload ¶
func (o *ListTraceBehaviorsDefault) GetPayload() models.GenericError
func (*ListTraceBehaviorsDefault) IsClientError ¶
func (o *ListTraceBehaviorsDefault) IsClientError() bool
IsClientError returns true when this list trace behaviors default response has a 4xx status code
func (*ListTraceBehaviorsDefault) IsCode ¶
func (o *ListTraceBehaviorsDefault) IsCode(code int) bool
IsCode returns true when this list trace behaviors default response a status code equal to that given
func (*ListTraceBehaviorsDefault) IsRedirect ¶
func (o *ListTraceBehaviorsDefault) IsRedirect() bool
IsRedirect returns true when this list trace behaviors default response has a 3xx status code
func (*ListTraceBehaviorsDefault) IsServerError ¶
func (o *ListTraceBehaviorsDefault) IsServerError() bool
IsServerError returns true when this list trace behaviors default response has a 5xx status code
func (*ListTraceBehaviorsDefault) IsSuccess ¶
func (o *ListTraceBehaviorsDefault) IsSuccess() bool
IsSuccess returns true when this list trace behaviors default response has a 2xx status code
func (*ListTraceBehaviorsDefault) String ¶
func (o *ListTraceBehaviorsDefault) String() string
type ListTraceBehaviorsInternalServerError ¶
ListTraceBehaviorsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListTraceBehaviorsInternalServerError ¶
func NewListTraceBehaviorsInternalServerError() *ListTraceBehaviorsInternalServerError
NewListTraceBehaviorsInternalServerError creates a ListTraceBehaviorsInternalServerError with default headers values
func (*ListTraceBehaviorsInternalServerError) Code ¶
func (o *ListTraceBehaviorsInternalServerError) Code() int
Code gets the status code for the list trace behaviors internal server error response
func (*ListTraceBehaviorsInternalServerError) Error ¶
func (o *ListTraceBehaviorsInternalServerError) Error() string
func (*ListTraceBehaviorsInternalServerError) GetPayload ¶
func (o *ListTraceBehaviorsInternalServerError) GetPayload() *models.APIError
func (*ListTraceBehaviorsInternalServerError) IsClientError ¶
func (o *ListTraceBehaviorsInternalServerError) IsClientError() bool
IsClientError returns true when this list trace behaviors internal server error response has a 4xx status code
func (*ListTraceBehaviorsInternalServerError) IsCode ¶
func (o *ListTraceBehaviorsInternalServerError) IsCode(code int) bool
IsCode returns true when this list trace behaviors internal server error response a status code equal to that given
func (*ListTraceBehaviorsInternalServerError) IsRedirect ¶
func (o *ListTraceBehaviorsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list trace behaviors internal server error response has a 3xx status code
func (*ListTraceBehaviorsInternalServerError) IsServerError ¶
func (o *ListTraceBehaviorsInternalServerError) IsServerError() bool
IsServerError returns true when this list trace behaviors internal server error response has a 5xx status code
func (*ListTraceBehaviorsInternalServerError) IsSuccess ¶
func (o *ListTraceBehaviorsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list trace behaviors internal server error response has a 2xx status code
func (*ListTraceBehaviorsInternalServerError) String ¶
func (o *ListTraceBehaviorsInternalServerError) String() string
type ListTraceBehaviorsOK ¶
type ListTraceBehaviorsOK struct {
Payload *models.ConfigunstableListTraceBehaviorsResponse
}
ListTraceBehaviorsOK describes a response with status code 200, with default header values.
A successful response.
func NewListTraceBehaviorsOK ¶
func NewListTraceBehaviorsOK() *ListTraceBehaviorsOK
NewListTraceBehaviorsOK creates a ListTraceBehaviorsOK with default headers values
func (*ListTraceBehaviorsOK) Code ¶
func (o *ListTraceBehaviorsOK) Code() int
Code gets the status code for the list trace behaviors o k response
func (*ListTraceBehaviorsOK) Error ¶
func (o *ListTraceBehaviorsOK) Error() string
func (*ListTraceBehaviorsOK) GetPayload ¶
func (o *ListTraceBehaviorsOK) GetPayload() *models.ConfigunstableListTraceBehaviorsResponse
func (*ListTraceBehaviorsOK) IsClientError ¶
func (o *ListTraceBehaviorsOK) IsClientError() bool
IsClientError returns true when this list trace behaviors o k response has a 4xx status code
func (*ListTraceBehaviorsOK) IsCode ¶
func (o *ListTraceBehaviorsOK) IsCode(code int) bool
IsCode returns true when this list trace behaviors o k response a status code equal to that given
func (*ListTraceBehaviorsOK) IsRedirect ¶
func (o *ListTraceBehaviorsOK) IsRedirect() bool
IsRedirect returns true when this list trace behaviors o k response has a 3xx status code
func (*ListTraceBehaviorsOK) IsServerError ¶
func (o *ListTraceBehaviorsOK) IsServerError() bool
IsServerError returns true when this list trace behaviors o k response has a 5xx status code
func (*ListTraceBehaviorsOK) IsSuccess ¶
func (o *ListTraceBehaviorsOK) IsSuccess() bool
IsSuccess returns true when this list trace behaviors o k response has a 2xx status code
func (*ListTraceBehaviorsOK) String ¶
func (o *ListTraceBehaviorsOK) String() string
type ListTraceBehaviorsParams ¶
type ListTraceBehaviorsParams struct { /* Names. Filters results by name, where any TraceBehavior 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 TraceBehavior 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 }
ListTraceBehaviorsParams contains all the parameters to send to the API endpoint
for the list trace behaviors operation. Typically these are written to a http.Request.
func NewListTraceBehaviorsParams ¶
func NewListTraceBehaviorsParams() *ListTraceBehaviorsParams
NewListTraceBehaviorsParams creates a new ListTraceBehaviorsParams 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 NewListTraceBehaviorsParamsWithContext ¶
func NewListTraceBehaviorsParamsWithContext(ctx context.Context) *ListTraceBehaviorsParams
NewListTraceBehaviorsParamsWithContext creates a new ListTraceBehaviorsParams object with the ability to set a context for a request.
func NewListTraceBehaviorsParamsWithHTTPClient ¶
func NewListTraceBehaviorsParamsWithHTTPClient(client *http.Client) *ListTraceBehaviorsParams
NewListTraceBehaviorsParamsWithHTTPClient creates a new ListTraceBehaviorsParams object with the ability to set a custom HTTPClient for a request.
func NewListTraceBehaviorsParamsWithTimeout ¶
func NewListTraceBehaviorsParamsWithTimeout(timeout time.Duration) *ListTraceBehaviorsParams
NewListTraceBehaviorsParamsWithTimeout creates a new ListTraceBehaviorsParams object with the ability to set a timeout on a request.
func (*ListTraceBehaviorsParams) SetContext ¶
func (o *ListTraceBehaviorsParams) SetContext(ctx context.Context)
SetContext adds the context to the list trace behaviors params
func (*ListTraceBehaviorsParams) SetDefaults ¶
func (o *ListTraceBehaviorsParams) SetDefaults()
SetDefaults hydrates default values in the list trace behaviors params (not the query body).
All values with no default are reset to their zero value.
func (*ListTraceBehaviorsParams) SetHTTPClient ¶
func (o *ListTraceBehaviorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list trace behaviors params
func (*ListTraceBehaviorsParams) SetNames ¶
func (o *ListTraceBehaviorsParams) SetNames(names []string)
SetNames adds the names to the list trace behaviors params
func (*ListTraceBehaviorsParams) SetPageMaxSize ¶
func (o *ListTraceBehaviorsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list trace behaviors params
func (*ListTraceBehaviorsParams) SetPageToken ¶
func (o *ListTraceBehaviorsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list trace behaviors params
func (*ListTraceBehaviorsParams) SetSlugs ¶
func (o *ListTraceBehaviorsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list trace behaviors params
func (*ListTraceBehaviorsParams) SetTimeout ¶
func (o *ListTraceBehaviorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list trace behaviors params
func (*ListTraceBehaviorsParams) WithContext ¶
func (o *ListTraceBehaviorsParams) WithContext(ctx context.Context) *ListTraceBehaviorsParams
WithContext adds the context to the list trace behaviors params
func (*ListTraceBehaviorsParams) WithDefaults ¶
func (o *ListTraceBehaviorsParams) WithDefaults() *ListTraceBehaviorsParams
WithDefaults hydrates default values in the list trace behaviors params (not the query body).
All values with no default are reset to their zero value.
func (*ListTraceBehaviorsParams) WithHTTPClient ¶
func (o *ListTraceBehaviorsParams) WithHTTPClient(client *http.Client) *ListTraceBehaviorsParams
WithHTTPClient adds the HTTPClient to the list trace behaviors params
func (*ListTraceBehaviorsParams) WithNames ¶
func (o *ListTraceBehaviorsParams) WithNames(names []string) *ListTraceBehaviorsParams
WithNames adds the names to the list trace behaviors params
func (*ListTraceBehaviorsParams) WithPageMaxSize ¶
func (o *ListTraceBehaviorsParams) WithPageMaxSize(pageMaxSize *int64) *ListTraceBehaviorsParams
WithPageMaxSize adds the pageMaxSize to the list trace behaviors params
func (*ListTraceBehaviorsParams) WithPageToken ¶
func (o *ListTraceBehaviorsParams) WithPageToken(pageToken *string) *ListTraceBehaviorsParams
WithPageToken adds the pageToken to the list trace behaviors params
func (*ListTraceBehaviorsParams) WithSlugs ¶
func (o *ListTraceBehaviorsParams) WithSlugs(slugs []string) *ListTraceBehaviorsParams
WithSlugs adds the slugs to the list trace behaviors params
func (*ListTraceBehaviorsParams) WithTimeout ¶
func (o *ListTraceBehaviorsParams) WithTimeout(timeout time.Duration) *ListTraceBehaviorsParams
WithTimeout adds the timeout to the list trace behaviors params
func (*ListTraceBehaviorsParams) WriteToRequest ¶
func (o *ListTraceBehaviorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTraceBehaviorsReader ¶
type ListTraceBehaviorsReader struct {
// contains filtered or unexported fields
}
ListTraceBehaviorsReader is a Reader for the ListTraceBehaviors structure.
func (*ListTraceBehaviorsReader) ReadResponse ¶
func (o *ListTraceBehaviorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadTraceBehaviorDefault ¶
type ReadTraceBehaviorDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadTraceBehaviorDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadTraceBehaviorDefault ¶
func NewReadTraceBehaviorDefault(code int) *ReadTraceBehaviorDefault
NewReadTraceBehaviorDefault creates a ReadTraceBehaviorDefault with default headers values
func (*ReadTraceBehaviorDefault) Code ¶
func (o *ReadTraceBehaviorDefault) Code() int
Code gets the status code for the read trace behavior default response
func (*ReadTraceBehaviorDefault) Error ¶
func (o *ReadTraceBehaviorDefault) Error() string
func (*ReadTraceBehaviorDefault) GetPayload ¶
func (o *ReadTraceBehaviorDefault) GetPayload() models.GenericError
func (*ReadTraceBehaviorDefault) IsClientError ¶
func (o *ReadTraceBehaviorDefault) IsClientError() bool
IsClientError returns true when this read trace behavior default response has a 4xx status code
func (*ReadTraceBehaviorDefault) IsCode ¶
func (o *ReadTraceBehaviorDefault) IsCode(code int) bool
IsCode returns true when this read trace behavior default response a status code equal to that given
func (*ReadTraceBehaviorDefault) IsRedirect ¶
func (o *ReadTraceBehaviorDefault) IsRedirect() bool
IsRedirect returns true when this read trace behavior default response has a 3xx status code
func (*ReadTraceBehaviorDefault) IsServerError ¶
func (o *ReadTraceBehaviorDefault) IsServerError() bool
IsServerError returns true when this read trace behavior default response has a 5xx status code
func (*ReadTraceBehaviorDefault) IsSuccess ¶
func (o *ReadTraceBehaviorDefault) IsSuccess() bool
IsSuccess returns true when this read trace behavior default response has a 2xx status code
func (*ReadTraceBehaviorDefault) String ¶
func (o *ReadTraceBehaviorDefault) String() string
type ReadTraceBehaviorInternalServerError ¶
ReadTraceBehaviorInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadTraceBehaviorInternalServerError ¶
func NewReadTraceBehaviorInternalServerError() *ReadTraceBehaviorInternalServerError
NewReadTraceBehaviorInternalServerError creates a ReadTraceBehaviorInternalServerError with default headers values
func (*ReadTraceBehaviorInternalServerError) Code ¶
func (o *ReadTraceBehaviorInternalServerError) Code() int
Code gets the status code for the read trace behavior internal server error response
func (*ReadTraceBehaviorInternalServerError) Error ¶
func (o *ReadTraceBehaviorInternalServerError) Error() string
func (*ReadTraceBehaviorInternalServerError) GetPayload ¶
func (o *ReadTraceBehaviorInternalServerError) GetPayload() *models.APIError
func (*ReadTraceBehaviorInternalServerError) IsClientError ¶
func (o *ReadTraceBehaviorInternalServerError) IsClientError() bool
IsClientError returns true when this read trace behavior internal server error response has a 4xx status code
func (*ReadTraceBehaviorInternalServerError) IsCode ¶
func (o *ReadTraceBehaviorInternalServerError) IsCode(code int) bool
IsCode returns true when this read trace behavior internal server error response a status code equal to that given
func (*ReadTraceBehaviorInternalServerError) IsRedirect ¶
func (o *ReadTraceBehaviorInternalServerError) IsRedirect() bool
IsRedirect returns true when this read trace behavior internal server error response has a 3xx status code
func (*ReadTraceBehaviorInternalServerError) IsServerError ¶
func (o *ReadTraceBehaviorInternalServerError) IsServerError() bool
IsServerError returns true when this read trace behavior internal server error response has a 5xx status code
func (*ReadTraceBehaviorInternalServerError) IsSuccess ¶
func (o *ReadTraceBehaviorInternalServerError) IsSuccess() bool
IsSuccess returns true when this read trace behavior internal server error response has a 2xx status code
func (*ReadTraceBehaviorInternalServerError) String ¶
func (o *ReadTraceBehaviorInternalServerError) String() string
type ReadTraceBehaviorNotFound ¶
ReadTraceBehaviorNotFound describes a response with status code 404, with default header values.
Cannot read the TraceBehavior because the slug does not exist.
func NewReadTraceBehaviorNotFound ¶
func NewReadTraceBehaviorNotFound() *ReadTraceBehaviorNotFound
NewReadTraceBehaviorNotFound creates a ReadTraceBehaviorNotFound with default headers values
func (*ReadTraceBehaviorNotFound) Code ¶
func (o *ReadTraceBehaviorNotFound) Code() int
Code gets the status code for the read trace behavior not found response
func (*ReadTraceBehaviorNotFound) Error ¶
func (o *ReadTraceBehaviorNotFound) Error() string
func (*ReadTraceBehaviorNotFound) GetPayload ¶
func (o *ReadTraceBehaviorNotFound) GetPayload() *models.APIError
func (*ReadTraceBehaviorNotFound) IsClientError ¶
func (o *ReadTraceBehaviorNotFound) IsClientError() bool
IsClientError returns true when this read trace behavior not found response has a 4xx status code
func (*ReadTraceBehaviorNotFound) IsCode ¶
func (o *ReadTraceBehaviorNotFound) IsCode(code int) bool
IsCode returns true when this read trace behavior not found response a status code equal to that given
func (*ReadTraceBehaviorNotFound) IsRedirect ¶
func (o *ReadTraceBehaviorNotFound) IsRedirect() bool
IsRedirect returns true when this read trace behavior not found response has a 3xx status code
func (*ReadTraceBehaviorNotFound) IsServerError ¶
func (o *ReadTraceBehaviorNotFound) IsServerError() bool
IsServerError returns true when this read trace behavior not found response has a 5xx status code
func (*ReadTraceBehaviorNotFound) IsSuccess ¶
func (o *ReadTraceBehaviorNotFound) IsSuccess() bool
IsSuccess returns true when this read trace behavior not found response has a 2xx status code
func (*ReadTraceBehaviorNotFound) String ¶
func (o *ReadTraceBehaviorNotFound) String() string
type ReadTraceBehaviorOK ¶
type ReadTraceBehaviorOK struct {
Payload *models.ConfigunstableReadTraceBehaviorResponse
}
ReadTraceBehaviorOK describes a response with status code 200, with default header values.
A successful response.
func NewReadTraceBehaviorOK ¶
func NewReadTraceBehaviorOK() *ReadTraceBehaviorOK
NewReadTraceBehaviorOK creates a ReadTraceBehaviorOK with default headers values
func (*ReadTraceBehaviorOK) Code ¶
func (o *ReadTraceBehaviorOK) Code() int
Code gets the status code for the read trace behavior o k response
func (*ReadTraceBehaviorOK) Error ¶
func (o *ReadTraceBehaviorOK) Error() string
func (*ReadTraceBehaviorOK) GetPayload ¶
func (o *ReadTraceBehaviorOK) GetPayload() *models.ConfigunstableReadTraceBehaviorResponse
func (*ReadTraceBehaviorOK) IsClientError ¶
func (o *ReadTraceBehaviorOK) IsClientError() bool
IsClientError returns true when this read trace behavior o k response has a 4xx status code
func (*ReadTraceBehaviorOK) IsCode ¶
func (o *ReadTraceBehaviorOK) IsCode(code int) bool
IsCode returns true when this read trace behavior o k response a status code equal to that given
func (*ReadTraceBehaviorOK) IsRedirect ¶
func (o *ReadTraceBehaviorOK) IsRedirect() bool
IsRedirect returns true when this read trace behavior o k response has a 3xx status code
func (*ReadTraceBehaviorOK) IsServerError ¶
func (o *ReadTraceBehaviorOK) IsServerError() bool
IsServerError returns true when this read trace behavior o k response has a 5xx status code
func (*ReadTraceBehaviorOK) IsSuccess ¶
func (o *ReadTraceBehaviorOK) IsSuccess() bool
IsSuccess returns true when this read trace behavior o k response has a 2xx status code
func (*ReadTraceBehaviorOK) String ¶
func (o *ReadTraceBehaviorOK) String() string
type ReadTraceBehaviorParams ¶
type ReadTraceBehaviorParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadTraceBehaviorParams contains all the parameters to send to the API endpoint
for the read trace behavior operation. Typically these are written to a http.Request.
func NewReadTraceBehaviorParams ¶
func NewReadTraceBehaviorParams() *ReadTraceBehaviorParams
NewReadTraceBehaviorParams creates a new ReadTraceBehaviorParams 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 NewReadTraceBehaviorParamsWithContext ¶
func NewReadTraceBehaviorParamsWithContext(ctx context.Context) *ReadTraceBehaviorParams
NewReadTraceBehaviorParamsWithContext creates a new ReadTraceBehaviorParams object with the ability to set a context for a request.
func NewReadTraceBehaviorParamsWithHTTPClient ¶
func NewReadTraceBehaviorParamsWithHTTPClient(client *http.Client) *ReadTraceBehaviorParams
NewReadTraceBehaviorParamsWithHTTPClient creates a new ReadTraceBehaviorParams object with the ability to set a custom HTTPClient for a request.
func NewReadTraceBehaviorParamsWithTimeout ¶
func NewReadTraceBehaviorParamsWithTimeout(timeout time.Duration) *ReadTraceBehaviorParams
NewReadTraceBehaviorParamsWithTimeout creates a new ReadTraceBehaviorParams object with the ability to set a timeout on a request.
func (*ReadTraceBehaviorParams) SetContext ¶
func (o *ReadTraceBehaviorParams) SetContext(ctx context.Context)
SetContext adds the context to the read trace behavior params
func (*ReadTraceBehaviorParams) SetDefaults ¶
func (o *ReadTraceBehaviorParams) SetDefaults()
SetDefaults hydrates default values in the read trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*ReadTraceBehaviorParams) SetHTTPClient ¶
func (o *ReadTraceBehaviorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read trace behavior params
func (*ReadTraceBehaviorParams) SetSlug ¶
func (o *ReadTraceBehaviorParams) SetSlug(slug string)
SetSlug adds the slug to the read trace behavior params
func (*ReadTraceBehaviorParams) SetTimeout ¶
func (o *ReadTraceBehaviorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read trace behavior params
func (*ReadTraceBehaviorParams) WithContext ¶
func (o *ReadTraceBehaviorParams) WithContext(ctx context.Context) *ReadTraceBehaviorParams
WithContext adds the context to the read trace behavior params
func (*ReadTraceBehaviorParams) WithDefaults ¶
func (o *ReadTraceBehaviorParams) WithDefaults() *ReadTraceBehaviorParams
WithDefaults hydrates default values in the read trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*ReadTraceBehaviorParams) WithHTTPClient ¶
func (o *ReadTraceBehaviorParams) WithHTTPClient(client *http.Client) *ReadTraceBehaviorParams
WithHTTPClient adds the HTTPClient to the read trace behavior params
func (*ReadTraceBehaviorParams) WithSlug ¶
func (o *ReadTraceBehaviorParams) WithSlug(slug string) *ReadTraceBehaviorParams
WithSlug adds the slug to the read trace behavior params
func (*ReadTraceBehaviorParams) WithTimeout ¶
func (o *ReadTraceBehaviorParams) WithTimeout(timeout time.Duration) *ReadTraceBehaviorParams
WithTimeout adds the timeout to the read trace behavior params
func (*ReadTraceBehaviorParams) WriteToRequest ¶
func (o *ReadTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadTraceBehaviorReader ¶
type ReadTraceBehaviorReader struct {
// contains filtered or unexported fields
}
ReadTraceBehaviorReader is a Reader for the ReadTraceBehavior structure.
func (*ReadTraceBehaviorReader) ReadResponse ¶
func (o *ReadTraceBehaviorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTraceBehaviorBadRequest ¶
UpdateTraceBehaviorBadRequest describes a response with status code 400, with default header values.
Cannot update the TraceBehavior because the request is invalid.
func NewUpdateTraceBehaviorBadRequest ¶
func NewUpdateTraceBehaviorBadRequest() *UpdateTraceBehaviorBadRequest
NewUpdateTraceBehaviorBadRequest creates a UpdateTraceBehaviorBadRequest with default headers values
func (*UpdateTraceBehaviorBadRequest) Code ¶
func (o *UpdateTraceBehaviorBadRequest) Code() int
Code gets the status code for the update trace behavior bad request response
func (*UpdateTraceBehaviorBadRequest) Error ¶
func (o *UpdateTraceBehaviorBadRequest) Error() string
func (*UpdateTraceBehaviorBadRequest) GetPayload ¶
func (o *UpdateTraceBehaviorBadRequest) GetPayload() *models.APIError
func (*UpdateTraceBehaviorBadRequest) IsClientError ¶
func (o *UpdateTraceBehaviorBadRequest) IsClientError() bool
IsClientError returns true when this update trace behavior bad request response has a 4xx status code
func (*UpdateTraceBehaviorBadRequest) IsCode ¶
func (o *UpdateTraceBehaviorBadRequest) IsCode(code int) bool
IsCode returns true when this update trace behavior bad request response a status code equal to that given
func (*UpdateTraceBehaviorBadRequest) IsRedirect ¶
func (o *UpdateTraceBehaviorBadRequest) IsRedirect() bool
IsRedirect returns true when this update trace behavior bad request response has a 3xx status code
func (*UpdateTraceBehaviorBadRequest) IsServerError ¶
func (o *UpdateTraceBehaviorBadRequest) IsServerError() bool
IsServerError returns true when this update trace behavior bad request response has a 5xx status code
func (*UpdateTraceBehaviorBadRequest) IsSuccess ¶
func (o *UpdateTraceBehaviorBadRequest) IsSuccess() bool
IsSuccess returns true when this update trace behavior bad request response has a 2xx status code
func (*UpdateTraceBehaviorBadRequest) String ¶
func (o *UpdateTraceBehaviorBadRequest) String() string
type UpdateTraceBehaviorConflict ¶
UpdateTraceBehaviorConflict describes a response with status code 409, with default header values.
Cannot update the TraceBehavior because there is a conflict with an existing TraceBehavior.
func NewUpdateTraceBehaviorConflict ¶
func NewUpdateTraceBehaviorConflict() *UpdateTraceBehaviorConflict
NewUpdateTraceBehaviorConflict creates a UpdateTraceBehaviorConflict with default headers values
func (*UpdateTraceBehaviorConflict) Code ¶
func (o *UpdateTraceBehaviorConflict) Code() int
Code gets the status code for the update trace behavior conflict response
func (*UpdateTraceBehaviorConflict) Error ¶
func (o *UpdateTraceBehaviorConflict) Error() string
func (*UpdateTraceBehaviorConflict) GetPayload ¶
func (o *UpdateTraceBehaviorConflict) GetPayload() *models.APIError
func (*UpdateTraceBehaviorConflict) IsClientError ¶
func (o *UpdateTraceBehaviorConflict) IsClientError() bool
IsClientError returns true when this update trace behavior conflict response has a 4xx status code
func (*UpdateTraceBehaviorConflict) IsCode ¶
func (o *UpdateTraceBehaviorConflict) IsCode(code int) bool
IsCode returns true when this update trace behavior conflict response a status code equal to that given
func (*UpdateTraceBehaviorConflict) IsRedirect ¶
func (o *UpdateTraceBehaviorConflict) IsRedirect() bool
IsRedirect returns true when this update trace behavior conflict response has a 3xx status code
func (*UpdateTraceBehaviorConflict) IsServerError ¶
func (o *UpdateTraceBehaviorConflict) IsServerError() bool
IsServerError returns true when this update trace behavior conflict response has a 5xx status code
func (*UpdateTraceBehaviorConflict) IsSuccess ¶
func (o *UpdateTraceBehaviorConflict) IsSuccess() bool
IsSuccess returns true when this update trace behavior conflict response has a 2xx status code
func (*UpdateTraceBehaviorConflict) String ¶
func (o *UpdateTraceBehaviorConflict) String() string
type UpdateTraceBehaviorDefault ¶
type UpdateTraceBehaviorDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateTraceBehaviorDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateTraceBehaviorDefault ¶
func NewUpdateTraceBehaviorDefault(code int) *UpdateTraceBehaviorDefault
NewUpdateTraceBehaviorDefault creates a UpdateTraceBehaviorDefault with default headers values
func (*UpdateTraceBehaviorDefault) Code ¶
func (o *UpdateTraceBehaviorDefault) Code() int
Code gets the status code for the update trace behavior default response
func (*UpdateTraceBehaviorDefault) Error ¶
func (o *UpdateTraceBehaviorDefault) Error() string
func (*UpdateTraceBehaviorDefault) GetPayload ¶
func (o *UpdateTraceBehaviorDefault) GetPayload() models.GenericError
func (*UpdateTraceBehaviorDefault) IsClientError ¶
func (o *UpdateTraceBehaviorDefault) IsClientError() bool
IsClientError returns true when this update trace behavior default response has a 4xx status code
func (*UpdateTraceBehaviorDefault) IsCode ¶
func (o *UpdateTraceBehaviorDefault) IsCode(code int) bool
IsCode returns true when this update trace behavior default response a status code equal to that given
func (*UpdateTraceBehaviorDefault) IsRedirect ¶
func (o *UpdateTraceBehaviorDefault) IsRedirect() bool
IsRedirect returns true when this update trace behavior default response has a 3xx status code
func (*UpdateTraceBehaviorDefault) IsServerError ¶
func (o *UpdateTraceBehaviorDefault) IsServerError() bool
IsServerError returns true when this update trace behavior default response has a 5xx status code
func (*UpdateTraceBehaviorDefault) IsSuccess ¶
func (o *UpdateTraceBehaviorDefault) IsSuccess() bool
IsSuccess returns true when this update trace behavior default response has a 2xx status code
func (*UpdateTraceBehaviorDefault) String ¶
func (o *UpdateTraceBehaviorDefault) String() string
type UpdateTraceBehaviorInternalServerError ¶
UpdateTraceBehaviorInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateTraceBehaviorInternalServerError ¶
func NewUpdateTraceBehaviorInternalServerError() *UpdateTraceBehaviorInternalServerError
NewUpdateTraceBehaviorInternalServerError creates a UpdateTraceBehaviorInternalServerError with default headers values
func (*UpdateTraceBehaviorInternalServerError) Code ¶
func (o *UpdateTraceBehaviorInternalServerError) Code() int
Code gets the status code for the update trace behavior internal server error response
func (*UpdateTraceBehaviorInternalServerError) Error ¶
func (o *UpdateTraceBehaviorInternalServerError) Error() string
func (*UpdateTraceBehaviorInternalServerError) GetPayload ¶
func (o *UpdateTraceBehaviorInternalServerError) GetPayload() *models.APIError
func (*UpdateTraceBehaviorInternalServerError) IsClientError ¶
func (o *UpdateTraceBehaviorInternalServerError) IsClientError() bool
IsClientError returns true when this update trace behavior internal server error response has a 4xx status code
func (*UpdateTraceBehaviorInternalServerError) IsCode ¶
func (o *UpdateTraceBehaviorInternalServerError) IsCode(code int) bool
IsCode returns true when this update trace behavior internal server error response a status code equal to that given
func (*UpdateTraceBehaviorInternalServerError) IsRedirect ¶
func (o *UpdateTraceBehaviorInternalServerError) IsRedirect() bool
IsRedirect returns true when this update trace behavior internal server error response has a 3xx status code
func (*UpdateTraceBehaviorInternalServerError) IsServerError ¶
func (o *UpdateTraceBehaviorInternalServerError) IsServerError() bool
IsServerError returns true when this update trace behavior internal server error response has a 5xx status code
func (*UpdateTraceBehaviorInternalServerError) IsSuccess ¶
func (o *UpdateTraceBehaviorInternalServerError) IsSuccess() bool
IsSuccess returns true when this update trace behavior internal server error response has a 2xx status code
func (*UpdateTraceBehaviorInternalServerError) String ¶
func (o *UpdateTraceBehaviorInternalServerError) String() string
type UpdateTraceBehaviorNotFound ¶
UpdateTraceBehaviorNotFound describes a response with status code 404, with default header values.
Cannot update the TraceBehavior because the slug does not exist.
func NewUpdateTraceBehaviorNotFound ¶
func NewUpdateTraceBehaviorNotFound() *UpdateTraceBehaviorNotFound
NewUpdateTraceBehaviorNotFound creates a UpdateTraceBehaviorNotFound with default headers values
func (*UpdateTraceBehaviorNotFound) Code ¶
func (o *UpdateTraceBehaviorNotFound) Code() int
Code gets the status code for the update trace behavior not found response
func (*UpdateTraceBehaviorNotFound) Error ¶
func (o *UpdateTraceBehaviorNotFound) Error() string
func (*UpdateTraceBehaviorNotFound) GetPayload ¶
func (o *UpdateTraceBehaviorNotFound) GetPayload() *models.APIError
func (*UpdateTraceBehaviorNotFound) IsClientError ¶
func (o *UpdateTraceBehaviorNotFound) IsClientError() bool
IsClientError returns true when this update trace behavior not found response has a 4xx status code
func (*UpdateTraceBehaviorNotFound) IsCode ¶
func (o *UpdateTraceBehaviorNotFound) IsCode(code int) bool
IsCode returns true when this update trace behavior not found response a status code equal to that given
func (*UpdateTraceBehaviorNotFound) IsRedirect ¶
func (o *UpdateTraceBehaviorNotFound) IsRedirect() bool
IsRedirect returns true when this update trace behavior not found response has a 3xx status code
func (*UpdateTraceBehaviorNotFound) IsServerError ¶
func (o *UpdateTraceBehaviorNotFound) IsServerError() bool
IsServerError returns true when this update trace behavior not found response has a 5xx status code
func (*UpdateTraceBehaviorNotFound) IsSuccess ¶
func (o *UpdateTraceBehaviorNotFound) IsSuccess() bool
IsSuccess returns true when this update trace behavior not found response has a 2xx status code
func (*UpdateTraceBehaviorNotFound) String ¶
func (o *UpdateTraceBehaviorNotFound) String() string
type UpdateTraceBehaviorOK ¶
type UpdateTraceBehaviorOK struct {
Payload *models.ConfigunstableUpdateTraceBehaviorResponse
}
UpdateTraceBehaviorOK describes a response with status code 200, with default header values.
A successful response containing the updated TraceBehavior.
func NewUpdateTraceBehaviorOK ¶
func NewUpdateTraceBehaviorOK() *UpdateTraceBehaviorOK
NewUpdateTraceBehaviorOK creates a UpdateTraceBehaviorOK with default headers values
func (*UpdateTraceBehaviorOK) Code ¶
func (o *UpdateTraceBehaviorOK) Code() int
Code gets the status code for the update trace behavior o k response
func (*UpdateTraceBehaviorOK) Error ¶
func (o *UpdateTraceBehaviorOK) Error() string
func (*UpdateTraceBehaviorOK) GetPayload ¶
func (o *UpdateTraceBehaviorOK) GetPayload() *models.ConfigunstableUpdateTraceBehaviorResponse
func (*UpdateTraceBehaviorOK) IsClientError ¶
func (o *UpdateTraceBehaviorOK) IsClientError() bool
IsClientError returns true when this update trace behavior o k response has a 4xx status code
func (*UpdateTraceBehaviorOK) IsCode ¶
func (o *UpdateTraceBehaviorOK) IsCode(code int) bool
IsCode returns true when this update trace behavior o k response a status code equal to that given
func (*UpdateTraceBehaviorOK) IsRedirect ¶
func (o *UpdateTraceBehaviorOK) IsRedirect() bool
IsRedirect returns true when this update trace behavior o k response has a 3xx status code
func (*UpdateTraceBehaviorOK) IsServerError ¶
func (o *UpdateTraceBehaviorOK) IsServerError() bool
IsServerError returns true when this update trace behavior o k response has a 5xx status code
func (*UpdateTraceBehaviorOK) IsSuccess ¶
func (o *UpdateTraceBehaviorOK) IsSuccess() bool
IsSuccess returns true when this update trace behavior o k response has a 2xx status code
func (*UpdateTraceBehaviorOK) String ¶
func (o *UpdateTraceBehaviorOK) String() string
type UpdateTraceBehaviorParams ¶
type UpdateTraceBehaviorParams struct { // Body. Body *models.ConfigUnstableUpdateTraceBehaviorBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTraceBehaviorParams contains all the parameters to send to the API endpoint
for the update trace behavior operation. Typically these are written to a http.Request.
func NewUpdateTraceBehaviorParams ¶
func NewUpdateTraceBehaviorParams() *UpdateTraceBehaviorParams
NewUpdateTraceBehaviorParams creates a new UpdateTraceBehaviorParams 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 NewUpdateTraceBehaviorParamsWithContext ¶
func NewUpdateTraceBehaviorParamsWithContext(ctx context.Context) *UpdateTraceBehaviorParams
NewUpdateTraceBehaviorParamsWithContext creates a new UpdateTraceBehaviorParams object with the ability to set a context for a request.
func NewUpdateTraceBehaviorParamsWithHTTPClient ¶
func NewUpdateTraceBehaviorParamsWithHTTPClient(client *http.Client) *UpdateTraceBehaviorParams
NewUpdateTraceBehaviorParamsWithHTTPClient creates a new UpdateTraceBehaviorParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTraceBehaviorParamsWithTimeout ¶
func NewUpdateTraceBehaviorParamsWithTimeout(timeout time.Duration) *UpdateTraceBehaviorParams
NewUpdateTraceBehaviorParamsWithTimeout creates a new UpdateTraceBehaviorParams object with the ability to set a timeout on a request.
func (*UpdateTraceBehaviorParams) SetBody ¶
func (o *UpdateTraceBehaviorParams) SetBody(body *models.ConfigUnstableUpdateTraceBehaviorBody)
SetBody adds the body to the update trace behavior params
func (*UpdateTraceBehaviorParams) SetContext ¶
func (o *UpdateTraceBehaviorParams) SetContext(ctx context.Context)
SetContext adds the context to the update trace behavior params
func (*UpdateTraceBehaviorParams) SetDefaults ¶
func (o *UpdateTraceBehaviorParams) SetDefaults()
SetDefaults hydrates default values in the update trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTraceBehaviorParams) SetHTTPClient ¶
func (o *UpdateTraceBehaviorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update trace behavior params
func (*UpdateTraceBehaviorParams) SetSlug ¶
func (o *UpdateTraceBehaviorParams) SetSlug(slug string)
SetSlug adds the slug to the update trace behavior params
func (*UpdateTraceBehaviorParams) SetTimeout ¶
func (o *UpdateTraceBehaviorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update trace behavior params
func (*UpdateTraceBehaviorParams) WithBody ¶
func (o *UpdateTraceBehaviorParams) WithBody(body *models.ConfigUnstableUpdateTraceBehaviorBody) *UpdateTraceBehaviorParams
WithBody adds the body to the update trace behavior params
func (*UpdateTraceBehaviorParams) WithContext ¶
func (o *UpdateTraceBehaviorParams) WithContext(ctx context.Context) *UpdateTraceBehaviorParams
WithContext adds the context to the update trace behavior params
func (*UpdateTraceBehaviorParams) WithDefaults ¶
func (o *UpdateTraceBehaviorParams) WithDefaults() *UpdateTraceBehaviorParams
WithDefaults hydrates default values in the update trace behavior params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTraceBehaviorParams) WithHTTPClient ¶
func (o *UpdateTraceBehaviorParams) WithHTTPClient(client *http.Client) *UpdateTraceBehaviorParams
WithHTTPClient adds the HTTPClient to the update trace behavior params
func (*UpdateTraceBehaviorParams) WithSlug ¶
func (o *UpdateTraceBehaviorParams) WithSlug(slug string) *UpdateTraceBehaviorParams
WithSlug adds the slug to the update trace behavior params
func (*UpdateTraceBehaviorParams) WithTimeout ¶
func (o *UpdateTraceBehaviorParams) WithTimeout(timeout time.Duration) *UpdateTraceBehaviorParams
WithTimeout adds the timeout to the update trace behavior params
func (*UpdateTraceBehaviorParams) WriteToRequest ¶
func (o *UpdateTraceBehaviorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTraceBehaviorReader ¶
type UpdateTraceBehaviorReader struct {
// contains filtered or unexported fields
}
UpdateTraceBehaviorReader is a Reader for the UpdateTraceBehavior structure.
func (*UpdateTraceBehaviorReader) ReadResponse ¶
func (o *UpdateTraceBehaviorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_trace_behavior_parameters.go
- create_trace_behavior_responses.go
- delete_trace_behavior_parameters.go
- delete_trace_behavior_responses.go
- list_trace_behaviors_parameters.go
- list_trace_behaviors_responses.go
- read_trace_behavior_parameters.go
- read_trace_behavior_responses.go
- trace_behavior_client.go
- update_trace_behavior_parameters.go
- update_trace_behavior_responses.go