trace_behavior

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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 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

type CreateTraceBehaviorBadRequest struct {
	Payload *models.APIError
}

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

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

func (*CreateTraceBehaviorBadRequest) Error

func (*CreateTraceBehaviorBadRequest) GetPayload

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

type CreateTraceBehaviorConflict

type CreateTraceBehaviorConflict struct {
	Payload *models.APIError
}

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 (*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 (*CreateTraceBehaviorDefault) GetPayload

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

type CreateTraceBehaviorInternalServerError struct {
	Payload *models.APIError
}

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

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

func (*CreateTraceBehaviorInternalServerError) Error

func (*CreateTraceBehaviorInternalServerError) GetPayload

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

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

func (*CreateTraceBehaviorInternalServerError) IsRedirect

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

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

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

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

WithBody adds the body to the create trace behavior params

func (*CreateTraceBehaviorParams) WithContext

WithContext adds the context to the create trace behavior params

func (*CreateTraceBehaviorParams) WithDefaults

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

WithTimeout adds the timeout to the create trace behavior params

func (*CreateTraceBehaviorParams) WriteToRequest

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

type DeleteTraceBehaviorBadRequest struct {
	Payload *models.APIError
}

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

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

func (*DeleteTraceBehaviorBadRequest) Error

func (*DeleteTraceBehaviorBadRequest) GetPayload

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

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 (*DeleteTraceBehaviorDefault) GetPayload

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

type DeleteTraceBehaviorInternalServerError struct {
	Payload *models.APIError
}

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

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

func (*DeleteTraceBehaviorInternalServerError) Error

func (*DeleteTraceBehaviorInternalServerError) GetPayload

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

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

func (*DeleteTraceBehaviorInternalServerError) IsRedirect

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

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

func (*DeleteTraceBehaviorInternalServerError) String

type DeleteTraceBehaviorNotFound

type DeleteTraceBehaviorNotFound struct {
	Payload *models.APIError
}

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 (*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 (*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

WithContext adds the context to the delete trace behavior params

func (*DeleteTraceBehaviorParams) WithDefaults

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

WithSlug adds the slug to the delete trace behavior params

func (*DeleteTraceBehaviorParams) WithTimeout

WithTimeout adds the timeout to the delete trace behavior params

func (*DeleteTraceBehaviorParams) WriteToRequest

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 (*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

type ListTraceBehaviorsInternalServerError struct {
	Payload *models.APIError
}

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

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

func (*ListTraceBehaviorsInternalServerError) Error

func (*ListTraceBehaviorsInternalServerError) GetPayload

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

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

func (*ListTraceBehaviorsInternalServerError) IsRedirect

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

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

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

WithContext adds the context to the list trace behaviors params

func (*ListTraceBehaviorsParams) WithDefaults

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

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

WithSlugs adds the slugs to the list trace behaviors params

func (*ListTraceBehaviorsParams) WithTimeout

WithTimeout adds the timeout to the list trace behaviors params

func (*ListTraceBehaviorsParams) WriteToRequest

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 (*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

type ReadTraceBehaviorInternalServerError struct {
	Payload *models.APIError
}

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

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

func (*ReadTraceBehaviorInternalServerError) Error

func (*ReadTraceBehaviorInternalServerError) GetPayload

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

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

func (*ReadTraceBehaviorInternalServerError) IsRedirect

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

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

func (*ReadTraceBehaviorInternalServerError) String

type ReadTraceBehaviorNotFound

type ReadTraceBehaviorNotFound struct {
	Payload *models.APIError
}

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 (*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

WithContext adds the context to the read trace behavior params

func (*ReadTraceBehaviorParams) WithDefaults

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

WithSlug adds the slug to the read trace behavior params

func (*ReadTraceBehaviorParams) WithTimeout

WithTimeout adds the timeout to the read trace behavior params

func (*ReadTraceBehaviorParams) WriteToRequest

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

type UpdateTraceBehaviorBadRequest struct {
	Payload *models.APIError
}

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

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

func (*UpdateTraceBehaviorBadRequest) Error

func (*UpdateTraceBehaviorBadRequest) GetPayload

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

type UpdateTraceBehaviorConflict

type UpdateTraceBehaviorConflict struct {
	Payload *models.APIError
}

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 (*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 (*UpdateTraceBehaviorDefault) GetPayload

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

type UpdateTraceBehaviorInternalServerError struct {
	Payload *models.APIError
}

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

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

func (*UpdateTraceBehaviorInternalServerError) Error

func (*UpdateTraceBehaviorInternalServerError) GetPayload

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

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

func (*UpdateTraceBehaviorInternalServerError) IsRedirect

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

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

func (*UpdateTraceBehaviorInternalServerError) String

type UpdateTraceBehaviorNotFound

type UpdateTraceBehaviorNotFound struct {
	Payload *models.APIError
}

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 (*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 (*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

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

WithBody adds the body to the update trace behavior params

func (*UpdateTraceBehaviorParams) WithContext

WithContext adds the context to the update trace behavior params

func (*UpdateTraceBehaviorParams) WithDefaults

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

WithSlug adds the slug to the update trace behavior params

func (*UpdateTraceBehaviorParams) WithTimeout

WithTimeout adds the timeout to the update trace behavior params

func (*UpdateTraceBehaviorParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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