trace_behavior_config

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for trace behavior config API

func (*Client) CreateTraceBehaviorConfig

func (a *Client) CreateTraceBehaviorConfig(params *CreateTraceBehaviorConfigParams, opts ...ClientOption) (*CreateTraceBehaviorConfigOK, error)

CreateTraceBehaviorConfig create trace behavior config API

func (*Client) DeleteTraceBehaviorConfig

func (a *Client) DeleteTraceBehaviorConfig(params *DeleteTraceBehaviorConfigParams, opts ...ClientOption) (*DeleteTraceBehaviorConfigOK, error)

DeleteTraceBehaviorConfig delete trace behavior config API

func (*Client) ReadTraceBehaviorConfig

func (a *Client) ReadTraceBehaviorConfig(params *ReadTraceBehaviorConfigParams, opts ...ClientOption) (*ReadTraceBehaviorConfigOK, error)

ReadTraceBehaviorConfig read trace behavior config API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateTraceBehaviorConfig

func (a *Client) UpdateTraceBehaviorConfig(params *UpdateTraceBehaviorConfigParams, opts ...ClientOption) (*UpdateTraceBehaviorConfigOK, error)

UpdateTraceBehaviorConfig update trace behavior config API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateTraceBehaviorConfig(params *CreateTraceBehaviorConfigParams, opts ...ClientOption) (*CreateTraceBehaviorConfigOK, error)

	DeleteTraceBehaviorConfig(params *DeleteTraceBehaviorConfigParams, opts ...ClientOption) (*DeleteTraceBehaviorConfigOK, error)

	ReadTraceBehaviorConfig(params *ReadTraceBehaviorConfigParams, opts ...ClientOption) (*ReadTraceBehaviorConfigOK, error)

	UpdateTraceBehaviorConfig(params *UpdateTraceBehaviorConfigParams, opts ...ClientOption) (*UpdateTraceBehaviorConfigOK, 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 config API client.

type CreateTraceBehaviorConfigBadRequest

type CreateTraceBehaviorConfigBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the TraceBehaviorConfig because the request is invalid.

func NewCreateTraceBehaviorConfigBadRequest

func NewCreateTraceBehaviorConfigBadRequest() *CreateTraceBehaviorConfigBadRequest

NewCreateTraceBehaviorConfigBadRequest creates a CreateTraceBehaviorConfigBadRequest with default headers values

func (*CreateTraceBehaviorConfigBadRequest) Code

Code gets the status code for the create trace behavior config bad request response

func (*CreateTraceBehaviorConfigBadRequest) Error

func (*CreateTraceBehaviorConfigBadRequest) GetPayload

func (*CreateTraceBehaviorConfigBadRequest) IsClientError

func (o *CreateTraceBehaviorConfigBadRequest) IsClientError() bool

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

func (*CreateTraceBehaviorConfigBadRequest) IsCode

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

func (*CreateTraceBehaviorConfigBadRequest) IsRedirect

func (o *CreateTraceBehaviorConfigBadRequest) IsRedirect() bool

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

func (*CreateTraceBehaviorConfigBadRequest) IsServerError

func (o *CreateTraceBehaviorConfigBadRequest) IsServerError() bool

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

func (*CreateTraceBehaviorConfigBadRequest) IsSuccess

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

func (*CreateTraceBehaviorConfigBadRequest) String

type CreateTraceBehaviorConfigConflict

type CreateTraceBehaviorConfigConflict struct {
	Payload *models.APIError
}

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

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

func NewCreateTraceBehaviorConfigConflict

func NewCreateTraceBehaviorConfigConflict() *CreateTraceBehaviorConfigConflict

NewCreateTraceBehaviorConfigConflict creates a CreateTraceBehaviorConfigConflict with default headers values

func (*CreateTraceBehaviorConfigConflict) Code

Code gets the status code for the create trace behavior config conflict response

func (*CreateTraceBehaviorConfigConflict) Error

func (*CreateTraceBehaviorConfigConflict) GetPayload

func (*CreateTraceBehaviorConfigConflict) IsClientError

func (o *CreateTraceBehaviorConfigConflict) IsClientError() bool

IsClientError returns true when this create trace behavior config conflict response has a 4xx status code

func (*CreateTraceBehaviorConfigConflict) IsCode

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

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

func (*CreateTraceBehaviorConfigConflict) IsRedirect

func (o *CreateTraceBehaviorConfigConflict) IsRedirect() bool

IsRedirect returns true when this create trace behavior config conflict response has a 3xx status code

func (*CreateTraceBehaviorConfigConflict) IsServerError

func (o *CreateTraceBehaviorConfigConflict) IsServerError() bool

IsServerError returns true when this create trace behavior config conflict response has a 5xx status code

func (*CreateTraceBehaviorConfigConflict) IsSuccess

func (o *CreateTraceBehaviorConfigConflict) IsSuccess() bool

IsSuccess returns true when this create trace behavior config conflict response has a 2xx status code

func (*CreateTraceBehaviorConfigConflict) String

type CreateTraceBehaviorConfigDefault

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

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

An undefined error response.

func NewCreateTraceBehaviorConfigDefault

func NewCreateTraceBehaviorConfigDefault(code int) *CreateTraceBehaviorConfigDefault

NewCreateTraceBehaviorConfigDefault creates a CreateTraceBehaviorConfigDefault with default headers values

func (*CreateTraceBehaviorConfigDefault) Code

Code gets the status code for the create trace behavior config default response

func (*CreateTraceBehaviorConfigDefault) Error

func (*CreateTraceBehaviorConfigDefault) GetPayload

func (*CreateTraceBehaviorConfigDefault) IsClientError

func (o *CreateTraceBehaviorConfigDefault) IsClientError() bool

IsClientError returns true when this create trace behavior config default response has a 4xx status code

func (*CreateTraceBehaviorConfigDefault) IsCode

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

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

func (*CreateTraceBehaviorConfigDefault) IsRedirect

func (o *CreateTraceBehaviorConfigDefault) IsRedirect() bool

IsRedirect returns true when this create trace behavior config default response has a 3xx status code

func (*CreateTraceBehaviorConfigDefault) IsServerError

func (o *CreateTraceBehaviorConfigDefault) IsServerError() bool

IsServerError returns true when this create trace behavior config default response has a 5xx status code

func (*CreateTraceBehaviorConfigDefault) IsSuccess

func (o *CreateTraceBehaviorConfigDefault) IsSuccess() bool

IsSuccess returns true when this create trace behavior config default response has a 2xx status code

func (*CreateTraceBehaviorConfigDefault) String

type CreateTraceBehaviorConfigInternalServerError

type CreateTraceBehaviorConfigInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateTraceBehaviorConfigInternalServerError

func NewCreateTraceBehaviorConfigInternalServerError() *CreateTraceBehaviorConfigInternalServerError

NewCreateTraceBehaviorConfigInternalServerError creates a CreateTraceBehaviorConfigInternalServerError with default headers values

func (*CreateTraceBehaviorConfigInternalServerError) Code

Code gets the status code for the create trace behavior config internal server error response

func (*CreateTraceBehaviorConfigInternalServerError) Error

func (*CreateTraceBehaviorConfigInternalServerError) GetPayload

func (*CreateTraceBehaviorConfigInternalServerError) IsClientError

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

func (*CreateTraceBehaviorConfigInternalServerError) IsCode

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

func (*CreateTraceBehaviorConfigInternalServerError) IsRedirect

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

func (*CreateTraceBehaviorConfigInternalServerError) IsServerError

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

func (*CreateTraceBehaviorConfigInternalServerError) IsSuccess

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

func (*CreateTraceBehaviorConfigInternalServerError) String

type CreateTraceBehaviorConfigOK

type CreateTraceBehaviorConfigOK struct {
	Payload *models.Configv1CreateTraceBehaviorConfigResponse
}

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

A successful response containing the created TraceBehaviorConfig.

func NewCreateTraceBehaviorConfigOK

func NewCreateTraceBehaviorConfigOK() *CreateTraceBehaviorConfigOK

NewCreateTraceBehaviorConfigOK creates a CreateTraceBehaviorConfigOK with default headers values

func (*CreateTraceBehaviorConfigOK) Code

func (o *CreateTraceBehaviorConfigOK) Code() int

Code gets the status code for the create trace behavior config o k response

func (*CreateTraceBehaviorConfigOK) Error

func (*CreateTraceBehaviorConfigOK) GetPayload

func (*CreateTraceBehaviorConfigOK) IsClientError

func (o *CreateTraceBehaviorConfigOK) IsClientError() bool

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

func (*CreateTraceBehaviorConfigOK) IsCode

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

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

func (*CreateTraceBehaviorConfigOK) IsRedirect

func (o *CreateTraceBehaviorConfigOK) IsRedirect() bool

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

func (*CreateTraceBehaviorConfigOK) IsServerError

func (o *CreateTraceBehaviorConfigOK) IsServerError() bool

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

func (*CreateTraceBehaviorConfigOK) IsSuccess

func (o *CreateTraceBehaviorConfigOK) IsSuccess() bool

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

func (*CreateTraceBehaviorConfigOK) String

func (o *CreateTraceBehaviorConfigOK) String() string

type CreateTraceBehaviorConfigParams

type CreateTraceBehaviorConfigParams struct {

	// Body.
	Body *models.Configv1CreateTraceBehaviorConfigRequest

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

CreateTraceBehaviorConfigParams contains all the parameters to send to the API endpoint

for the create trace behavior config operation.

Typically these are written to a http.Request.

func NewCreateTraceBehaviorConfigParams

func NewCreateTraceBehaviorConfigParams() *CreateTraceBehaviorConfigParams

NewCreateTraceBehaviorConfigParams creates a new CreateTraceBehaviorConfigParams 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 NewCreateTraceBehaviorConfigParamsWithContext

func NewCreateTraceBehaviorConfigParamsWithContext(ctx context.Context) *CreateTraceBehaviorConfigParams

NewCreateTraceBehaviorConfigParamsWithContext creates a new CreateTraceBehaviorConfigParams object with the ability to set a context for a request.

func NewCreateTraceBehaviorConfigParamsWithHTTPClient

func NewCreateTraceBehaviorConfigParamsWithHTTPClient(client *http.Client) *CreateTraceBehaviorConfigParams

NewCreateTraceBehaviorConfigParamsWithHTTPClient creates a new CreateTraceBehaviorConfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTraceBehaviorConfigParamsWithTimeout

func NewCreateTraceBehaviorConfigParamsWithTimeout(timeout time.Duration) *CreateTraceBehaviorConfigParams

NewCreateTraceBehaviorConfigParamsWithTimeout creates a new CreateTraceBehaviorConfigParams object with the ability to set a timeout on a request.

func (*CreateTraceBehaviorConfigParams) SetBody

SetBody adds the body to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) SetContext

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

SetContext adds the context to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) SetDefaults

func (o *CreateTraceBehaviorConfigParams) SetDefaults()

SetDefaults hydrates default values in the create trace behavior config params (not the query body).

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

func (*CreateTraceBehaviorConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) WithBody

WithBody adds the body to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) WithContext

WithContext adds the context to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) WithDefaults

WithDefaults hydrates default values in the create trace behavior config params (not the query body).

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

func (*CreateTraceBehaviorConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) WithTimeout

WithTimeout adds the timeout to the create trace behavior config params

func (*CreateTraceBehaviorConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTraceBehaviorConfigReader

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

CreateTraceBehaviorConfigReader is a Reader for the CreateTraceBehaviorConfig structure.

func (*CreateTraceBehaviorConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTraceBehaviorConfigBadRequest

type DeleteTraceBehaviorConfigBadRequest struct {
	Payload *models.APIError
}

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

Cannot delete the TraceBehaviorConfig because it is in use.

func NewDeleteTraceBehaviorConfigBadRequest

func NewDeleteTraceBehaviorConfigBadRequest() *DeleteTraceBehaviorConfigBadRequest

NewDeleteTraceBehaviorConfigBadRequest creates a DeleteTraceBehaviorConfigBadRequest with default headers values

func (*DeleteTraceBehaviorConfigBadRequest) Code

Code gets the status code for the delete trace behavior config bad request response

func (*DeleteTraceBehaviorConfigBadRequest) Error

func (*DeleteTraceBehaviorConfigBadRequest) GetPayload

func (*DeleteTraceBehaviorConfigBadRequest) IsClientError

func (o *DeleteTraceBehaviorConfigBadRequest) IsClientError() bool

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

func (*DeleteTraceBehaviorConfigBadRequest) IsCode

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

func (*DeleteTraceBehaviorConfigBadRequest) IsRedirect

func (o *DeleteTraceBehaviorConfigBadRequest) IsRedirect() bool

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

func (*DeleteTraceBehaviorConfigBadRequest) IsServerError

func (o *DeleteTraceBehaviorConfigBadRequest) IsServerError() bool

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

func (*DeleteTraceBehaviorConfigBadRequest) IsSuccess

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

func (*DeleteTraceBehaviorConfigBadRequest) String

type DeleteTraceBehaviorConfigDefault

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

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

An undefined error response.

func NewDeleteTraceBehaviorConfigDefault

func NewDeleteTraceBehaviorConfigDefault(code int) *DeleteTraceBehaviorConfigDefault

NewDeleteTraceBehaviorConfigDefault creates a DeleteTraceBehaviorConfigDefault with default headers values

func (*DeleteTraceBehaviorConfigDefault) Code

Code gets the status code for the delete trace behavior config default response

func (*DeleteTraceBehaviorConfigDefault) Error

func (*DeleteTraceBehaviorConfigDefault) GetPayload

func (*DeleteTraceBehaviorConfigDefault) IsClientError

func (o *DeleteTraceBehaviorConfigDefault) IsClientError() bool

IsClientError returns true when this delete trace behavior config default response has a 4xx status code

func (*DeleteTraceBehaviorConfigDefault) IsCode

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

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

func (*DeleteTraceBehaviorConfigDefault) IsRedirect

func (o *DeleteTraceBehaviorConfigDefault) IsRedirect() bool

IsRedirect returns true when this delete trace behavior config default response has a 3xx status code

func (*DeleteTraceBehaviorConfigDefault) IsServerError

func (o *DeleteTraceBehaviorConfigDefault) IsServerError() bool

IsServerError returns true when this delete trace behavior config default response has a 5xx status code

func (*DeleteTraceBehaviorConfigDefault) IsSuccess

func (o *DeleteTraceBehaviorConfigDefault) IsSuccess() bool

IsSuccess returns true when this delete trace behavior config default response has a 2xx status code

func (*DeleteTraceBehaviorConfigDefault) String

type DeleteTraceBehaviorConfigInternalServerError

type DeleteTraceBehaviorConfigInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteTraceBehaviorConfigInternalServerError

func NewDeleteTraceBehaviorConfigInternalServerError() *DeleteTraceBehaviorConfigInternalServerError

NewDeleteTraceBehaviorConfigInternalServerError creates a DeleteTraceBehaviorConfigInternalServerError with default headers values

func (*DeleteTraceBehaviorConfigInternalServerError) Code

Code gets the status code for the delete trace behavior config internal server error response

func (*DeleteTraceBehaviorConfigInternalServerError) Error

func (*DeleteTraceBehaviorConfigInternalServerError) GetPayload

func (*DeleteTraceBehaviorConfigInternalServerError) IsClientError

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

func (*DeleteTraceBehaviorConfigInternalServerError) IsCode

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

func (*DeleteTraceBehaviorConfigInternalServerError) IsRedirect

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

func (*DeleteTraceBehaviorConfigInternalServerError) IsServerError

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

func (*DeleteTraceBehaviorConfigInternalServerError) IsSuccess

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

func (*DeleteTraceBehaviorConfigInternalServerError) String

type DeleteTraceBehaviorConfigNotFound

type DeleteTraceBehaviorConfigNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the TraceBehaviorConfig because the slug does not exist.

func NewDeleteTraceBehaviorConfigNotFound

func NewDeleteTraceBehaviorConfigNotFound() *DeleteTraceBehaviorConfigNotFound

NewDeleteTraceBehaviorConfigNotFound creates a DeleteTraceBehaviorConfigNotFound with default headers values

func (*DeleteTraceBehaviorConfigNotFound) Code

Code gets the status code for the delete trace behavior config not found response

func (*DeleteTraceBehaviorConfigNotFound) Error

func (*DeleteTraceBehaviorConfigNotFound) GetPayload

func (*DeleteTraceBehaviorConfigNotFound) IsClientError

func (o *DeleteTraceBehaviorConfigNotFound) IsClientError() bool

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

func (*DeleteTraceBehaviorConfigNotFound) IsCode

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

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

func (*DeleteTraceBehaviorConfigNotFound) IsRedirect

func (o *DeleteTraceBehaviorConfigNotFound) IsRedirect() bool

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

func (*DeleteTraceBehaviorConfigNotFound) IsServerError

func (o *DeleteTraceBehaviorConfigNotFound) IsServerError() bool

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

func (*DeleteTraceBehaviorConfigNotFound) IsSuccess

func (o *DeleteTraceBehaviorConfigNotFound) IsSuccess() bool

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

func (*DeleteTraceBehaviorConfigNotFound) String

type DeleteTraceBehaviorConfigOK

type DeleteTraceBehaviorConfigOK struct {
	Payload models.Configv1DeleteTraceBehaviorConfigResponse
}

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

A successful response.

func NewDeleteTraceBehaviorConfigOK

func NewDeleteTraceBehaviorConfigOK() *DeleteTraceBehaviorConfigOK

NewDeleteTraceBehaviorConfigOK creates a DeleteTraceBehaviorConfigOK with default headers values

func (*DeleteTraceBehaviorConfigOK) Code

func (o *DeleteTraceBehaviorConfigOK) Code() int

Code gets the status code for the delete trace behavior config o k response

func (*DeleteTraceBehaviorConfigOK) Error

func (*DeleteTraceBehaviorConfigOK) GetPayload

func (*DeleteTraceBehaviorConfigOK) IsClientError

func (o *DeleteTraceBehaviorConfigOK) IsClientError() bool

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

func (*DeleteTraceBehaviorConfigOK) IsCode

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

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

func (*DeleteTraceBehaviorConfigOK) IsRedirect

func (o *DeleteTraceBehaviorConfigOK) IsRedirect() bool

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

func (*DeleteTraceBehaviorConfigOK) IsServerError

func (o *DeleteTraceBehaviorConfigOK) IsServerError() bool

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

func (*DeleteTraceBehaviorConfigOK) IsSuccess

func (o *DeleteTraceBehaviorConfigOK) IsSuccess() bool

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

func (*DeleteTraceBehaviorConfigOK) String

func (o *DeleteTraceBehaviorConfigOK) String() string

type DeleteTraceBehaviorConfigParams

type DeleteTraceBehaviorConfigParams struct {

	// DryRun.
	DryRun *bool

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

DeleteTraceBehaviorConfigParams contains all the parameters to send to the API endpoint

for the delete trace behavior config operation.

Typically these are written to a http.Request.

func NewDeleteTraceBehaviorConfigParams

func NewDeleteTraceBehaviorConfigParams() *DeleteTraceBehaviorConfigParams

NewDeleteTraceBehaviorConfigParams creates a new DeleteTraceBehaviorConfigParams 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 NewDeleteTraceBehaviorConfigParamsWithContext

func NewDeleteTraceBehaviorConfigParamsWithContext(ctx context.Context) *DeleteTraceBehaviorConfigParams

NewDeleteTraceBehaviorConfigParamsWithContext creates a new DeleteTraceBehaviorConfigParams object with the ability to set a context for a request.

func NewDeleteTraceBehaviorConfigParamsWithHTTPClient

func NewDeleteTraceBehaviorConfigParamsWithHTTPClient(client *http.Client) *DeleteTraceBehaviorConfigParams

NewDeleteTraceBehaviorConfigParamsWithHTTPClient creates a new DeleteTraceBehaviorConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTraceBehaviorConfigParamsWithTimeout

func NewDeleteTraceBehaviorConfigParamsWithTimeout(timeout time.Duration) *DeleteTraceBehaviorConfigParams

NewDeleteTraceBehaviorConfigParamsWithTimeout creates a new DeleteTraceBehaviorConfigParams object with the ability to set a timeout on a request.

func (*DeleteTraceBehaviorConfigParams) SetContext

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

SetContext adds the context to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) SetDefaults

func (o *DeleteTraceBehaviorConfigParams) SetDefaults()

SetDefaults hydrates default values in the delete trace behavior config params (not the query body).

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

func (*DeleteTraceBehaviorConfigParams) SetDryRun

func (o *DeleteTraceBehaviorConfigParams) SetDryRun(dryRun *bool)

SetDryRun adds the dryRun to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) WithContext

WithContext adds the context to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) WithDefaults

WithDefaults hydrates default values in the delete trace behavior config params (not the query body).

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

func (*DeleteTraceBehaviorConfigParams) WithDryRun

WithDryRun adds the dryRun to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) WithTimeout

WithTimeout adds the timeout to the delete trace behavior config params

func (*DeleteTraceBehaviorConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTraceBehaviorConfigReader

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

DeleteTraceBehaviorConfigReader is a Reader for the DeleteTraceBehaviorConfig structure.

func (*DeleteTraceBehaviorConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadTraceBehaviorConfigDefault

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

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

An undefined error response.

func NewReadTraceBehaviorConfigDefault

func NewReadTraceBehaviorConfigDefault(code int) *ReadTraceBehaviorConfigDefault

NewReadTraceBehaviorConfigDefault creates a ReadTraceBehaviorConfigDefault with default headers values

func (*ReadTraceBehaviorConfigDefault) Code

Code gets the status code for the read trace behavior config default response

func (*ReadTraceBehaviorConfigDefault) Error

func (*ReadTraceBehaviorConfigDefault) GetPayload

func (*ReadTraceBehaviorConfigDefault) IsClientError

func (o *ReadTraceBehaviorConfigDefault) IsClientError() bool

IsClientError returns true when this read trace behavior config default response has a 4xx status code

func (*ReadTraceBehaviorConfigDefault) IsCode

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

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

func (*ReadTraceBehaviorConfigDefault) IsRedirect

func (o *ReadTraceBehaviorConfigDefault) IsRedirect() bool

IsRedirect returns true when this read trace behavior config default response has a 3xx status code

func (*ReadTraceBehaviorConfigDefault) IsServerError

func (o *ReadTraceBehaviorConfigDefault) IsServerError() bool

IsServerError returns true when this read trace behavior config default response has a 5xx status code

func (*ReadTraceBehaviorConfigDefault) IsSuccess

func (o *ReadTraceBehaviorConfigDefault) IsSuccess() bool

IsSuccess returns true when this read trace behavior config default response has a 2xx status code

func (*ReadTraceBehaviorConfigDefault) String

type ReadTraceBehaviorConfigInternalServerError

type ReadTraceBehaviorConfigInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewReadTraceBehaviorConfigInternalServerError

func NewReadTraceBehaviorConfigInternalServerError() *ReadTraceBehaviorConfigInternalServerError

NewReadTraceBehaviorConfigInternalServerError creates a ReadTraceBehaviorConfigInternalServerError with default headers values

func (*ReadTraceBehaviorConfigInternalServerError) Code

Code gets the status code for the read trace behavior config internal server error response

func (*ReadTraceBehaviorConfigInternalServerError) Error

func (*ReadTraceBehaviorConfigInternalServerError) GetPayload

func (*ReadTraceBehaviorConfigInternalServerError) IsClientError

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

func (*ReadTraceBehaviorConfigInternalServerError) IsCode

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

func (*ReadTraceBehaviorConfigInternalServerError) IsRedirect

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

func (*ReadTraceBehaviorConfigInternalServerError) IsServerError

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

func (*ReadTraceBehaviorConfigInternalServerError) IsSuccess

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

func (*ReadTraceBehaviorConfigInternalServerError) String

type ReadTraceBehaviorConfigNotFound

type ReadTraceBehaviorConfigNotFound struct {
	Payload *models.APIError
}

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

Cannot read the TraceBehaviorConfig because TraceBehaviorConfig has not been created.

func NewReadTraceBehaviorConfigNotFound

func NewReadTraceBehaviorConfigNotFound() *ReadTraceBehaviorConfigNotFound

NewReadTraceBehaviorConfigNotFound creates a ReadTraceBehaviorConfigNotFound with default headers values

func (*ReadTraceBehaviorConfigNotFound) Code

Code gets the status code for the read trace behavior config not found response

func (*ReadTraceBehaviorConfigNotFound) Error

func (*ReadTraceBehaviorConfigNotFound) GetPayload

func (*ReadTraceBehaviorConfigNotFound) IsClientError

func (o *ReadTraceBehaviorConfigNotFound) IsClientError() bool

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

func (*ReadTraceBehaviorConfigNotFound) IsCode

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

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

func (*ReadTraceBehaviorConfigNotFound) IsRedirect

func (o *ReadTraceBehaviorConfigNotFound) IsRedirect() bool

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

func (*ReadTraceBehaviorConfigNotFound) IsServerError

func (o *ReadTraceBehaviorConfigNotFound) IsServerError() bool

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

func (*ReadTraceBehaviorConfigNotFound) IsSuccess

func (o *ReadTraceBehaviorConfigNotFound) IsSuccess() bool

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

func (*ReadTraceBehaviorConfigNotFound) String

type ReadTraceBehaviorConfigOK

type ReadTraceBehaviorConfigOK struct {
	Payload *models.Configv1ReadTraceBehaviorConfigResponse
}

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

A successful response.

func NewReadTraceBehaviorConfigOK

func NewReadTraceBehaviorConfigOK() *ReadTraceBehaviorConfigOK

NewReadTraceBehaviorConfigOK creates a ReadTraceBehaviorConfigOK with default headers values

func (*ReadTraceBehaviorConfigOK) Code

func (o *ReadTraceBehaviorConfigOK) Code() int

Code gets the status code for the read trace behavior config o k response

func (*ReadTraceBehaviorConfigOK) Error

func (o *ReadTraceBehaviorConfigOK) Error() string

func (*ReadTraceBehaviorConfigOK) GetPayload

func (*ReadTraceBehaviorConfigOK) IsClientError

func (o *ReadTraceBehaviorConfigOK) IsClientError() bool

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

func (*ReadTraceBehaviorConfigOK) IsCode

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

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

func (*ReadTraceBehaviorConfigOK) IsRedirect

func (o *ReadTraceBehaviorConfigOK) IsRedirect() bool

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

func (*ReadTraceBehaviorConfigOK) IsServerError

func (o *ReadTraceBehaviorConfigOK) IsServerError() bool

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

func (*ReadTraceBehaviorConfigOK) IsSuccess

func (o *ReadTraceBehaviorConfigOK) IsSuccess() bool

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

func (*ReadTraceBehaviorConfigOK) String

func (o *ReadTraceBehaviorConfigOK) String() string

type ReadTraceBehaviorConfigParams

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

ReadTraceBehaviorConfigParams contains all the parameters to send to the API endpoint

for the read trace behavior config operation.

Typically these are written to a http.Request.

func NewReadTraceBehaviorConfigParams

func NewReadTraceBehaviorConfigParams() *ReadTraceBehaviorConfigParams

NewReadTraceBehaviorConfigParams creates a new ReadTraceBehaviorConfigParams 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 NewReadTraceBehaviorConfigParamsWithContext

func NewReadTraceBehaviorConfigParamsWithContext(ctx context.Context) *ReadTraceBehaviorConfigParams

NewReadTraceBehaviorConfigParamsWithContext creates a new ReadTraceBehaviorConfigParams object with the ability to set a context for a request.

func NewReadTraceBehaviorConfigParamsWithHTTPClient

func NewReadTraceBehaviorConfigParamsWithHTTPClient(client *http.Client) *ReadTraceBehaviorConfigParams

NewReadTraceBehaviorConfigParamsWithHTTPClient creates a new ReadTraceBehaviorConfigParams object with the ability to set a custom HTTPClient for a request.

func NewReadTraceBehaviorConfigParamsWithTimeout

func NewReadTraceBehaviorConfigParamsWithTimeout(timeout time.Duration) *ReadTraceBehaviorConfigParams

NewReadTraceBehaviorConfigParamsWithTimeout creates a new ReadTraceBehaviorConfigParams object with the ability to set a timeout on a request.

func (*ReadTraceBehaviorConfigParams) SetContext

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

SetContext adds the context to the read trace behavior config params

func (*ReadTraceBehaviorConfigParams) SetDefaults

func (o *ReadTraceBehaviorConfigParams) SetDefaults()

SetDefaults hydrates default values in the read trace behavior config params (not the query body).

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

func (*ReadTraceBehaviorConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read trace behavior config params

func (*ReadTraceBehaviorConfigParams) SetTimeout

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

SetTimeout adds the timeout to the read trace behavior config params

func (*ReadTraceBehaviorConfigParams) WithContext

WithContext adds the context to the read trace behavior config params

func (*ReadTraceBehaviorConfigParams) WithDefaults

WithDefaults hydrates default values in the read trace behavior config params (not the query body).

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

func (*ReadTraceBehaviorConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read trace behavior config params

func (*ReadTraceBehaviorConfigParams) WithTimeout

WithTimeout adds the timeout to the read trace behavior config params

func (*ReadTraceBehaviorConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadTraceBehaviorConfigReader

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

ReadTraceBehaviorConfigReader is a Reader for the ReadTraceBehaviorConfig structure.

func (*ReadTraceBehaviorConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateTraceBehaviorConfigBadRequest

type UpdateTraceBehaviorConfigBadRequest struct {
	Payload *models.APIError
}

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

Cannot update the TraceBehaviorConfig because the request is invalid.

func NewUpdateTraceBehaviorConfigBadRequest

func NewUpdateTraceBehaviorConfigBadRequest() *UpdateTraceBehaviorConfigBadRequest

NewUpdateTraceBehaviorConfigBadRequest creates a UpdateTraceBehaviorConfigBadRequest with default headers values

func (*UpdateTraceBehaviorConfigBadRequest) Code

Code gets the status code for the update trace behavior config bad request response

func (*UpdateTraceBehaviorConfigBadRequest) Error

func (*UpdateTraceBehaviorConfigBadRequest) GetPayload

func (*UpdateTraceBehaviorConfigBadRequest) IsClientError

func (o *UpdateTraceBehaviorConfigBadRequest) IsClientError() bool

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

func (*UpdateTraceBehaviorConfigBadRequest) IsCode

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

func (*UpdateTraceBehaviorConfigBadRequest) IsRedirect

func (o *UpdateTraceBehaviorConfigBadRequest) IsRedirect() bool

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

func (*UpdateTraceBehaviorConfigBadRequest) IsServerError

func (o *UpdateTraceBehaviorConfigBadRequest) IsServerError() bool

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

func (*UpdateTraceBehaviorConfigBadRequest) IsSuccess

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

func (*UpdateTraceBehaviorConfigBadRequest) String

type UpdateTraceBehaviorConfigDefault

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

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

An undefined error response.

func NewUpdateTraceBehaviorConfigDefault

func NewUpdateTraceBehaviorConfigDefault(code int) *UpdateTraceBehaviorConfigDefault

NewUpdateTraceBehaviorConfigDefault creates a UpdateTraceBehaviorConfigDefault with default headers values

func (*UpdateTraceBehaviorConfigDefault) Code

Code gets the status code for the update trace behavior config default response

func (*UpdateTraceBehaviorConfigDefault) Error

func (*UpdateTraceBehaviorConfigDefault) GetPayload

func (*UpdateTraceBehaviorConfigDefault) IsClientError

func (o *UpdateTraceBehaviorConfigDefault) IsClientError() bool

IsClientError returns true when this update trace behavior config default response has a 4xx status code

func (*UpdateTraceBehaviorConfigDefault) IsCode

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

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

func (*UpdateTraceBehaviorConfigDefault) IsRedirect

func (o *UpdateTraceBehaviorConfigDefault) IsRedirect() bool

IsRedirect returns true when this update trace behavior config default response has a 3xx status code

func (*UpdateTraceBehaviorConfigDefault) IsServerError

func (o *UpdateTraceBehaviorConfigDefault) IsServerError() bool

IsServerError returns true when this update trace behavior config default response has a 5xx status code

func (*UpdateTraceBehaviorConfigDefault) IsSuccess

func (o *UpdateTraceBehaviorConfigDefault) IsSuccess() bool

IsSuccess returns true when this update trace behavior config default response has a 2xx status code

func (*UpdateTraceBehaviorConfigDefault) String

type UpdateTraceBehaviorConfigInternalServerError

type UpdateTraceBehaviorConfigInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewUpdateTraceBehaviorConfigInternalServerError

func NewUpdateTraceBehaviorConfigInternalServerError() *UpdateTraceBehaviorConfigInternalServerError

NewUpdateTraceBehaviorConfigInternalServerError creates a UpdateTraceBehaviorConfigInternalServerError with default headers values

func (*UpdateTraceBehaviorConfigInternalServerError) Code

Code gets the status code for the update trace behavior config internal server error response

func (*UpdateTraceBehaviorConfigInternalServerError) Error

func (*UpdateTraceBehaviorConfigInternalServerError) GetPayload

func (*UpdateTraceBehaviorConfigInternalServerError) IsClientError

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

func (*UpdateTraceBehaviorConfigInternalServerError) IsCode

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

func (*UpdateTraceBehaviorConfigInternalServerError) IsRedirect

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

func (*UpdateTraceBehaviorConfigInternalServerError) IsServerError

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

func (*UpdateTraceBehaviorConfigInternalServerError) IsSuccess

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

func (*UpdateTraceBehaviorConfigInternalServerError) String

type UpdateTraceBehaviorConfigNotFound

type UpdateTraceBehaviorConfigNotFound struct {
	Payload *models.APIError
}

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

Cannot update the TraceBehaviorConfig because TraceBehaviorConfig has not been created.

func NewUpdateTraceBehaviorConfigNotFound

func NewUpdateTraceBehaviorConfigNotFound() *UpdateTraceBehaviorConfigNotFound

NewUpdateTraceBehaviorConfigNotFound creates a UpdateTraceBehaviorConfigNotFound with default headers values

func (*UpdateTraceBehaviorConfigNotFound) Code

Code gets the status code for the update trace behavior config not found response

func (*UpdateTraceBehaviorConfigNotFound) Error

func (*UpdateTraceBehaviorConfigNotFound) GetPayload

func (*UpdateTraceBehaviorConfigNotFound) IsClientError

func (o *UpdateTraceBehaviorConfigNotFound) IsClientError() bool

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

func (*UpdateTraceBehaviorConfigNotFound) IsCode

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

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

func (*UpdateTraceBehaviorConfigNotFound) IsRedirect

func (o *UpdateTraceBehaviorConfigNotFound) IsRedirect() bool

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

func (*UpdateTraceBehaviorConfigNotFound) IsServerError

func (o *UpdateTraceBehaviorConfigNotFound) IsServerError() bool

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

func (*UpdateTraceBehaviorConfigNotFound) IsSuccess

func (o *UpdateTraceBehaviorConfigNotFound) IsSuccess() bool

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

func (*UpdateTraceBehaviorConfigNotFound) String

type UpdateTraceBehaviorConfigOK

type UpdateTraceBehaviorConfigOK struct {
	Payload *models.Configv1UpdateTraceBehaviorConfigResponse
}

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

A successful response containing the updated TraceBehaviorConfig.

func NewUpdateTraceBehaviorConfigOK

func NewUpdateTraceBehaviorConfigOK() *UpdateTraceBehaviorConfigOK

NewUpdateTraceBehaviorConfigOK creates a UpdateTraceBehaviorConfigOK with default headers values

func (*UpdateTraceBehaviorConfigOK) Code

func (o *UpdateTraceBehaviorConfigOK) Code() int

Code gets the status code for the update trace behavior config o k response

func (*UpdateTraceBehaviorConfigOK) Error

func (*UpdateTraceBehaviorConfigOK) GetPayload

func (*UpdateTraceBehaviorConfigOK) IsClientError

func (o *UpdateTraceBehaviorConfigOK) IsClientError() bool

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

func (*UpdateTraceBehaviorConfigOK) IsCode

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

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

func (*UpdateTraceBehaviorConfigOK) IsRedirect

func (o *UpdateTraceBehaviorConfigOK) IsRedirect() bool

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

func (*UpdateTraceBehaviorConfigOK) IsServerError

func (o *UpdateTraceBehaviorConfigOK) IsServerError() bool

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

func (*UpdateTraceBehaviorConfigOK) IsSuccess

func (o *UpdateTraceBehaviorConfigOK) IsSuccess() bool

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

func (*UpdateTraceBehaviorConfigOK) String

func (o *UpdateTraceBehaviorConfigOK) String() string

type UpdateTraceBehaviorConfigParams

type UpdateTraceBehaviorConfigParams struct {

	// Body.
	Body *models.Configv1UpdateTraceBehaviorConfigRequest

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

UpdateTraceBehaviorConfigParams contains all the parameters to send to the API endpoint

for the update trace behavior config operation.

Typically these are written to a http.Request.

func NewUpdateTraceBehaviorConfigParams

func NewUpdateTraceBehaviorConfigParams() *UpdateTraceBehaviorConfigParams

NewUpdateTraceBehaviorConfigParams creates a new UpdateTraceBehaviorConfigParams 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 NewUpdateTraceBehaviorConfigParamsWithContext

func NewUpdateTraceBehaviorConfigParamsWithContext(ctx context.Context) *UpdateTraceBehaviorConfigParams

NewUpdateTraceBehaviorConfigParamsWithContext creates a new UpdateTraceBehaviorConfigParams object with the ability to set a context for a request.

func NewUpdateTraceBehaviorConfigParamsWithHTTPClient

func NewUpdateTraceBehaviorConfigParamsWithHTTPClient(client *http.Client) *UpdateTraceBehaviorConfigParams

NewUpdateTraceBehaviorConfigParamsWithHTTPClient creates a new UpdateTraceBehaviorConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTraceBehaviorConfigParamsWithTimeout

func NewUpdateTraceBehaviorConfigParamsWithTimeout(timeout time.Duration) *UpdateTraceBehaviorConfigParams

NewUpdateTraceBehaviorConfigParamsWithTimeout creates a new UpdateTraceBehaviorConfigParams object with the ability to set a timeout on a request.

func (*UpdateTraceBehaviorConfigParams) SetBody

SetBody adds the body to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) SetContext

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

SetContext adds the context to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) SetDefaults

func (o *UpdateTraceBehaviorConfigParams) SetDefaults()

SetDefaults hydrates default values in the update trace behavior config params (not the query body).

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

func (*UpdateTraceBehaviorConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) WithBody

WithBody adds the body to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) WithContext

WithContext adds the context to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) WithDefaults

WithDefaults hydrates default values in the update trace behavior config params (not the query body).

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

func (*UpdateTraceBehaviorConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) WithTimeout

WithTimeout adds the timeout to the update trace behavior config params

func (*UpdateTraceBehaviorConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateTraceBehaviorConfigReader

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

UpdateTraceBehaviorConfigReader is a Reader for the UpdateTraceBehaviorConfig structure.

func (*UpdateTraceBehaviorConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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