correlations

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 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 correlations API

func (*Client) CreateCorrelation

func (a *Client) CreateCorrelation(sourceUID string, body *models.CreateCorrelationCommand, opts ...ClientOption) (*CreateCorrelationOK, error)

CreateCorrelation adds correlation

func (*Client) CreateCorrelationWithParams

func (a *Client) CreateCorrelationWithParams(params *CreateCorrelationParams, opts ...ClientOption) (*CreateCorrelationOK, error)

func (*Client) DeleteCorrelation

func (a *Client) DeleteCorrelation(uid string, correlationUID string, opts ...ClientOption) (*DeleteCorrelationOK, error)

DeleteCorrelation deletes a correlation

func (*Client) DeleteCorrelationWithParams

func (a *Client) DeleteCorrelationWithParams(params *DeleteCorrelationParams, opts ...ClientOption) (*DeleteCorrelationOK, error)

func (*Client) GetCorrelation

func (a *Client) GetCorrelation(sourceUID string, correlationUID string, opts ...ClientOption) (*GetCorrelationOK, error)

GetCorrelation gets a correlation

func (*Client) GetCorrelationWithParams

func (a *Client) GetCorrelationWithParams(params *GetCorrelationParams, opts ...ClientOption) (*GetCorrelationOK, error)

func (*Client) GetCorrelations

func (a *Client) GetCorrelations(params *GetCorrelationsParams, opts ...ClientOption) (*GetCorrelationsOK, error)

func (*Client) GetCorrelationsBySourceUID

func (a *Client) GetCorrelationsBySourceUID(sourceUID string, opts ...ClientOption) (*GetCorrelationsBySourceUIDOK, error)

GetCorrelationsBySourceUID gets all correlations originating from the given data source

func (*Client) GetCorrelationsBySourceUIDWithParams

func (a *Client) GetCorrelationsBySourceUIDWithParams(params *GetCorrelationsBySourceUIDParams, opts ...ClientOption) (*GetCorrelationsBySourceUIDOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCorrelation

func (a *Client) UpdateCorrelation(params *UpdateCorrelationParams, opts ...ClientOption) (*UpdateCorrelationOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	CreateCorrelation(sourceUID string, body *models.CreateCorrelationCommand, opts ...ClientOption) (*CreateCorrelationOK, error)
	CreateCorrelationWithParams(params *CreateCorrelationParams, opts ...ClientOption) (*CreateCorrelationOK, error)

	DeleteCorrelation(uid string, correlationUID string, opts ...ClientOption) (*DeleteCorrelationOK, error)
	DeleteCorrelationWithParams(params *DeleteCorrelationParams, opts ...ClientOption) (*DeleteCorrelationOK, error)

	GetCorrelation(sourceUID string, correlationUID string, opts ...ClientOption) (*GetCorrelationOK, error)
	GetCorrelationWithParams(params *GetCorrelationParams, opts ...ClientOption) (*GetCorrelationOK, error)

	GetCorrelations(params *GetCorrelationsParams, opts ...ClientOption) (*GetCorrelationsOK, error)

	GetCorrelationsBySourceUID(sourceUID string, opts ...ClientOption) (*GetCorrelationsBySourceUIDOK, error)
	GetCorrelationsBySourceUIDWithParams(params *GetCorrelationsBySourceUIDParams, opts ...ClientOption) (*GetCorrelationsBySourceUIDOK, error)

	UpdateCorrelation(params *UpdateCorrelationParams, opts ...ClientOption) (*UpdateCorrelationOK, 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 correlations API client.

type CreateCorrelationBadRequest

type CreateCorrelationBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCreateCorrelationBadRequest

func NewCreateCorrelationBadRequest() *CreateCorrelationBadRequest

NewCreateCorrelationBadRequest creates a CreateCorrelationBadRequest with default headers values

func (*CreateCorrelationBadRequest) Code

func (o *CreateCorrelationBadRequest) Code() int

Code gets the status code for the create correlation bad request response

func (*CreateCorrelationBadRequest) Error

func (*CreateCorrelationBadRequest) GetPayload

func (*CreateCorrelationBadRequest) IsClientError

func (o *CreateCorrelationBadRequest) IsClientError() bool

IsClientError returns true when this create correlation bad request response has a 4xx status code

func (*CreateCorrelationBadRequest) IsCode

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

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

func (*CreateCorrelationBadRequest) IsRedirect

func (o *CreateCorrelationBadRequest) IsRedirect() bool

IsRedirect returns true when this create correlation bad request response has a 3xx status code

func (*CreateCorrelationBadRequest) IsServerError

func (o *CreateCorrelationBadRequest) IsServerError() bool

IsServerError returns true when this create correlation bad request response has a 5xx status code

func (*CreateCorrelationBadRequest) IsSuccess

func (o *CreateCorrelationBadRequest) IsSuccess() bool

IsSuccess returns true when this create correlation bad request response has a 2xx status code

func (*CreateCorrelationBadRequest) String

func (o *CreateCorrelationBadRequest) String() string

type CreateCorrelationForbidden

type CreateCorrelationForbidden struct {
	Payload *models.ErrorResponseBody
}

CreateCorrelationForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCreateCorrelationForbidden

func NewCreateCorrelationForbidden() *CreateCorrelationForbidden

NewCreateCorrelationForbidden creates a CreateCorrelationForbidden with default headers values

func (*CreateCorrelationForbidden) Code

func (o *CreateCorrelationForbidden) Code() int

Code gets the status code for the create correlation forbidden response

func (*CreateCorrelationForbidden) Error

func (*CreateCorrelationForbidden) GetPayload

func (*CreateCorrelationForbidden) IsClientError

func (o *CreateCorrelationForbidden) IsClientError() bool

IsClientError returns true when this create correlation forbidden response has a 4xx status code

func (*CreateCorrelationForbidden) IsCode

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

IsCode returns true when this create correlation forbidden response a status code equal to that given

func (*CreateCorrelationForbidden) IsRedirect

func (o *CreateCorrelationForbidden) IsRedirect() bool

IsRedirect returns true when this create correlation forbidden response has a 3xx status code

func (*CreateCorrelationForbidden) IsServerError

func (o *CreateCorrelationForbidden) IsServerError() bool

IsServerError returns true when this create correlation forbidden response has a 5xx status code

func (*CreateCorrelationForbidden) IsSuccess

func (o *CreateCorrelationForbidden) IsSuccess() bool

IsSuccess returns true when this create correlation forbidden response has a 2xx status code

func (*CreateCorrelationForbidden) String

func (o *CreateCorrelationForbidden) String() string

type CreateCorrelationInternalServerError

type CreateCorrelationInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewCreateCorrelationInternalServerError

func NewCreateCorrelationInternalServerError() *CreateCorrelationInternalServerError

NewCreateCorrelationInternalServerError creates a CreateCorrelationInternalServerError with default headers values

func (*CreateCorrelationInternalServerError) Code

Code gets the status code for the create correlation internal server error response

func (*CreateCorrelationInternalServerError) Error

func (*CreateCorrelationInternalServerError) GetPayload

func (*CreateCorrelationInternalServerError) IsClientError

func (o *CreateCorrelationInternalServerError) IsClientError() bool

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

func (*CreateCorrelationInternalServerError) IsCode

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

func (*CreateCorrelationInternalServerError) IsRedirect

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

func (*CreateCorrelationInternalServerError) IsServerError

func (o *CreateCorrelationInternalServerError) IsServerError() bool

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

func (*CreateCorrelationInternalServerError) IsSuccess

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

func (*CreateCorrelationInternalServerError) String

type CreateCorrelationNotFound

type CreateCorrelationNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewCreateCorrelationNotFound

func NewCreateCorrelationNotFound() *CreateCorrelationNotFound

NewCreateCorrelationNotFound creates a CreateCorrelationNotFound with default headers values

func (*CreateCorrelationNotFound) Code

func (o *CreateCorrelationNotFound) Code() int

Code gets the status code for the create correlation not found response

func (*CreateCorrelationNotFound) Error

func (o *CreateCorrelationNotFound) Error() string

func (*CreateCorrelationNotFound) GetPayload

func (*CreateCorrelationNotFound) IsClientError

func (o *CreateCorrelationNotFound) IsClientError() bool

IsClientError returns true when this create correlation not found response has a 4xx status code

func (*CreateCorrelationNotFound) IsCode

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

IsCode returns true when this create correlation not found response a status code equal to that given

func (*CreateCorrelationNotFound) IsRedirect

func (o *CreateCorrelationNotFound) IsRedirect() bool

IsRedirect returns true when this create correlation not found response has a 3xx status code

func (*CreateCorrelationNotFound) IsServerError

func (o *CreateCorrelationNotFound) IsServerError() bool

IsServerError returns true when this create correlation not found response has a 5xx status code

func (*CreateCorrelationNotFound) IsSuccess

func (o *CreateCorrelationNotFound) IsSuccess() bool

IsSuccess returns true when this create correlation not found response has a 2xx status code

func (*CreateCorrelationNotFound) String

func (o *CreateCorrelationNotFound) String() string

type CreateCorrelationOK

type CreateCorrelationOK struct {
	Payload *models.CreateCorrelationResponseBody
}

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

(empty)

func NewCreateCorrelationOK

func NewCreateCorrelationOK() *CreateCorrelationOK

NewCreateCorrelationOK creates a CreateCorrelationOK with default headers values

func (*CreateCorrelationOK) Code

func (o *CreateCorrelationOK) Code() int

Code gets the status code for the create correlation Ok response

func (*CreateCorrelationOK) Error

func (o *CreateCorrelationOK) Error() string

func (*CreateCorrelationOK) GetPayload

func (*CreateCorrelationOK) IsClientError

func (o *CreateCorrelationOK) IsClientError() bool

IsClientError returns true when this create correlation Ok response has a 4xx status code

func (*CreateCorrelationOK) IsCode

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

IsCode returns true when this create correlation Ok response a status code equal to that given

func (*CreateCorrelationOK) IsRedirect

func (o *CreateCorrelationOK) IsRedirect() bool

IsRedirect returns true when this create correlation Ok response has a 3xx status code

func (*CreateCorrelationOK) IsServerError

func (o *CreateCorrelationOK) IsServerError() bool

IsServerError returns true when this create correlation Ok response has a 5xx status code

func (*CreateCorrelationOK) IsSuccess

func (o *CreateCorrelationOK) IsSuccess() bool

IsSuccess returns true when this create correlation Ok response has a 2xx status code

func (*CreateCorrelationOK) String

func (o *CreateCorrelationOK) String() string

type CreateCorrelationParams

type CreateCorrelationParams struct {

	// Body.
	Body *models.CreateCorrelationCommand

	// SourceUID.
	SourceUID string

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

CreateCorrelationParams contains all the parameters to send to the API endpoint

for the create correlation operation.

Typically these are written to a http.Request.

func NewCreateCorrelationParams

func NewCreateCorrelationParams() *CreateCorrelationParams

NewCreateCorrelationParams creates a new CreateCorrelationParams 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 NewCreateCorrelationParamsWithContext

func NewCreateCorrelationParamsWithContext(ctx context.Context) *CreateCorrelationParams

NewCreateCorrelationParamsWithContext creates a new CreateCorrelationParams object with the ability to set a context for a request.

func NewCreateCorrelationParamsWithHTTPClient

func NewCreateCorrelationParamsWithHTTPClient(client *http.Client) *CreateCorrelationParams

NewCreateCorrelationParamsWithHTTPClient creates a new CreateCorrelationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCorrelationParamsWithTimeout

func NewCreateCorrelationParamsWithTimeout(timeout time.Duration) *CreateCorrelationParams

NewCreateCorrelationParamsWithTimeout creates a new CreateCorrelationParams object with the ability to set a timeout on a request.

func (*CreateCorrelationParams) SetBody

SetBody adds the body to the create correlation params

func (*CreateCorrelationParams) SetContext

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

SetContext adds the context to the create correlation params

func (*CreateCorrelationParams) SetDefaults

func (o *CreateCorrelationParams) SetDefaults()

SetDefaults hydrates default values in the create correlation params (not the query body).

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

func (*CreateCorrelationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create correlation params

func (*CreateCorrelationParams) SetSourceUID

func (o *CreateCorrelationParams) SetSourceUID(sourceUID string)

SetSourceUID adds the sourceUid to the create correlation params

func (*CreateCorrelationParams) SetTimeout

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

SetTimeout adds the timeout to the create correlation params

func (*CreateCorrelationParams) WithBody

WithBody adds the body to the create correlation params

func (*CreateCorrelationParams) WithContext

WithContext adds the context to the create correlation params

func (*CreateCorrelationParams) WithDefaults

WithDefaults hydrates default values in the create correlation params (not the query body).

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

func (*CreateCorrelationParams) WithHTTPClient

func (o *CreateCorrelationParams) WithHTTPClient(client *http.Client) *CreateCorrelationParams

WithHTTPClient adds the HTTPClient to the create correlation params

func (*CreateCorrelationParams) WithSourceUID

func (o *CreateCorrelationParams) WithSourceUID(sourceUID string) *CreateCorrelationParams

WithSourceUID adds the sourceUID to the create correlation params

func (*CreateCorrelationParams) WithTimeout

WithTimeout adds the timeout to the create correlation params

func (*CreateCorrelationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCorrelationReader

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

CreateCorrelationReader is a Reader for the CreateCorrelation structure.

func (*CreateCorrelationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCorrelationUnauthorized

type CreateCorrelationUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CreateCorrelationUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCreateCorrelationUnauthorized

func NewCreateCorrelationUnauthorized() *CreateCorrelationUnauthorized

NewCreateCorrelationUnauthorized creates a CreateCorrelationUnauthorized with default headers values

func (*CreateCorrelationUnauthorized) Code

Code gets the status code for the create correlation unauthorized response

func (*CreateCorrelationUnauthorized) Error

func (*CreateCorrelationUnauthorized) GetPayload

func (*CreateCorrelationUnauthorized) IsClientError

func (o *CreateCorrelationUnauthorized) IsClientError() bool

IsClientError returns true when this create correlation unauthorized response has a 4xx status code

func (*CreateCorrelationUnauthorized) IsCode

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

IsCode returns true when this create correlation unauthorized response a status code equal to that given

func (*CreateCorrelationUnauthorized) IsRedirect

func (o *CreateCorrelationUnauthorized) IsRedirect() bool

IsRedirect returns true when this create correlation unauthorized response has a 3xx status code

func (*CreateCorrelationUnauthorized) IsServerError

func (o *CreateCorrelationUnauthorized) IsServerError() bool

IsServerError returns true when this create correlation unauthorized response has a 5xx status code

func (*CreateCorrelationUnauthorized) IsSuccess

func (o *CreateCorrelationUnauthorized) IsSuccess() bool

IsSuccess returns true when this create correlation unauthorized response has a 2xx status code

func (*CreateCorrelationUnauthorized) String

type DeleteCorrelationForbidden

type DeleteCorrelationForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteCorrelationForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteCorrelationForbidden

func NewDeleteCorrelationForbidden() *DeleteCorrelationForbidden

NewDeleteCorrelationForbidden creates a DeleteCorrelationForbidden with default headers values

func (*DeleteCorrelationForbidden) Code

func (o *DeleteCorrelationForbidden) Code() int

Code gets the status code for the delete correlation forbidden response

func (*DeleteCorrelationForbidden) Error

func (*DeleteCorrelationForbidden) GetPayload

func (*DeleteCorrelationForbidden) IsClientError

func (o *DeleteCorrelationForbidden) IsClientError() bool

IsClientError returns true when this delete correlation forbidden response has a 4xx status code

func (*DeleteCorrelationForbidden) IsCode

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

IsCode returns true when this delete correlation forbidden response a status code equal to that given

func (*DeleteCorrelationForbidden) IsRedirect

func (o *DeleteCorrelationForbidden) IsRedirect() bool

IsRedirect returns true when this delete correlation forbidden response has a 3xx status code

func (*DeleteCorrelationForbidden) IsServerError

func (o *DeleteCorrelationForbidden) IsServerError() bool

IsServerError returns true when this delete correlation forbidden response has a 5xx status code

func (*DeleteCorrelationForbidden) IsSuccess

func (o *DeleteCorrelationForbidden) IsSuccess() bool

IsSuccess returns true when this delete correlation forbidden response has a 2xx status code

func (*DeleteCorrelationForbidden) String

func (o *DeleteCorrelationForbidden) String() string

type DeleteCorrelationInternalServerError

type DeleteCorrelationInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteCorrelationInternalServerError

func NewDeleteCorrelationInternalServerError() *DeleteCorrelationInternalServerError

NewDeleteCorrelationInternalServerError creates a DeleteCorrelationInternalServerError with default headers values

func (*DeleteCorrelationInternalServerError) Code

Code gets the status code for the delete correlation internal server error response

func (*DeleteCorrelationInternalServerError) Error

func (*DeleteCorrelationInternalServerError) GetPayload

func (*DeleteCorrelationInternalServerError) IsClientError

func (o *DeleteCorrelationInternalServerError) IsClientError() bool

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

func (*DeleteCorrelationInternalServerError) IsCode

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

func (*DeleteCorrelationInternalServerError) IsRedirect

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

func (*DeleteCorrelationInternalServerError) IsServerError

func (o *DeleteCorrelationInternalServerError) IsServerError() bool

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

func (*DeleteCorrelationInternalServerError) IsSuccess

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

func (*DeleteCorrelationInternalServerError) String

type DeleteCorrelationNotFound

type DeleteCorrelationNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewDeleteCorrelationNotFound

func NewDeleteCorrelationNotFound() *DeleteCorrelationNotFound

NewDeleteCorrelationNotFound creates a DeleteCorrelationNotFound with default headers values

func (*DeleteCorrelationNotFound) Code

func (o *DeleteCorrelationNotFound) Code() int

Code gets the status code for the delete correlation not found response

func (*DeleteCorrelationNotFound) Error

func (o *DeleteCorrelationNotFound) Error() string

func (*DeleteCorrelationNotFound) GetPayload

func (*DeleteCorrelationNotFound) IsClientError

func (o *DeleteCorrelationNotFound) IsClientError() bool

IsClientError returns true when this delete correlation not found response has a 4xx status code

func (*DeleteCorrelationNotFound) IsCode

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

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

func (*DeleteCorrelationNotFound) IsRedirect

func (o *DeleteCorrelationNotFound) IsRedirect() bool

IsRedirect returns true when this delete correlation not found response has a 3xx status code

func (*DeleteCorrelationNotFound) IsServerError

func (o *DeleteCorrelationNotFound) IsServerError() bool

IsServerError returns true when this delete correlation not found response has a 5xx status code

func (*DeleteCorrelationNotFound) IsSuccess

func (o *DeleteCorrelationNotFound) IsSuccess() bool

IsSuccess returns true when this delete correlation not found response has a 2xx status code

func (*DeleteCorrelationNotFound) String

func (o *DeleteCorrelationNotFound) String() string

type DeleteCorrelationOK

type DeleteCorrelationOK struct {
	Payload *models.DeleteCorrelationResponseBody
}

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

(empty)

func NewDeleteCorrelationOK

func NewDeleteCorrelationOK() *DeleteCorrelationOK

NewDeleteCorrelationOK creates a DeleteCorrelationOK with default headers values

func (*DeleteCorrelationOK) Code

func (o *DeleteCorrelationOK) Code() int

Code gets the status code for the delete correlation Ok response

func (*DeleteCorrelationOK) Error

func (o *DeleteCorrelationOK) Error() string

func (*DeleteCorrelationOK) GetPayload

func (*DeleteCorrelationOK) IsClientError

func (o *DeleteCorrelationOK) IsClientError() bool

IsClientError returns true when this delete correlation Ok response has a 4xx status code

func (*DeleteCorrelationOK) IsCode

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

IsCode returns true when this delete correlation Ok response a status code equal to that given

func (*DeleteCorrelationOK) IsRedirect

func (o *DeleteCorrelationOK) IsRedirect() bool

IsRedirect returns true when this delete correlation Ok response has a 3xx status code

func (*DeleteCorrelationOK) IsServerError

func (o *DeleteCorrelationOK) IsServerError() bool

IsServerError returns true when this delete correlation Ok response has a 5xx status code

func (*DeleteCorrelationOK) IsSuccess

func (o *DeleteCorrelationOK) IsSuccess() bool

IsSuccess returns true when this delete correlation Ok response has a 2xx status code

func (*DeleteCorrelationOK) String

func (o *DeleteCorrelationOK) String() string

type DeleteCorrelationParams

type DeleteCorrelationParams struct {

	// CorrelationUID.
	CorrelationUID string

	// UID.
	UID string

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

DeleteCorrelationParams contains all the parameters to send to the API endpoint

for the delete correlation operation.

Typically these are written to a http.Request.

func NewDeleteCorrelationParams

func NewDeleteCorrelationParams() *DeleteCorrelationParams

NewDeleteCorrelationParams creates a new DeleteCorrelationParams 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 NewDeleteCorrelationParamsWithContext

func NewDeleteCorrelationParamsWithContext(ctx context.Context) *DeleteCorrelationParams

NewDeleteCorrelationParamsWithContext creates a new DeleteCorrelationParams object with the ability to set a context for a request.

func NewDeleteCorrelationParamsWithHTTPClient

func NewDeleteCorrelationParamsWithHTTPClient(client *http.Client) *DeleteCorrelationParams

NewDeleteCorrelationParamsWithHTTPClient creates a new DeleteCorrelationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCorrelationParamsWithTimeout

func NewDeleteCorrelationParamsWithTimeout(timeout time.Duration) *DeleteCorrelationParams

NewDeleteCorrelationParamsWithTimeout creates a new DeleteCorrelationParams object with the ability to set a timeout on a request.

func (*DeleteCorrelationParams) SetContext

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

SetContext adds the context to the delete correlation params

func (*DeleteCorrelationParams) SetCorrelationUID

func (o *DeleteCorrelationParams) SetCorrelationUID(correlationUID string)

SetCorrelationUID adds the correlationUid to the delete correlation params

func (*DeleteCorrelationParams) SetDefaults

func (o *DeleteCorrelationParams) SetDefaults()

SetDefaults hydrates default values in the delete correlation params (not the query body).

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

func (*DeleteCorrelationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete correlation params

func (*DeleteCorrelationParams) SetTimeout

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

SetTimeout adds the timeout to the delete correlation params

func (*DeleteCorrelationParams) SetUID

func (o *DeleteCorrelationParams) SetUID(uid string)

SetUID adds the uid to the delete correlation params

func (*DeleteCorrelationParams) WithContext

WithContext adds the context to the delete correlation params

func (*DeleteCorrelationParams) WithCorrelationUID

func (o *DeleteCorrelationParams) WithCorrelationUID(correlationUID string) *DeleteCorrelationParams

WithCorrelationUID adds the correlationUID to the delete correlation params

func (*DeleteCorrelationParams) WithDefaults

WithDefaults hydrates default values in the delete correlation params (not the query body).

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

func (*DeleteCorrelationParams) WithHTTPClient

func (o *DeleteCorrelationParams) WithHTTPClient(client *http.Client) *DeleteCorrelationParams

WithHTTPClient adds the HTTPClient to the delete correlation params

func (*DeleteCorrelationParams) WithTimeout

WithTimeout adds the timeout to the delete correlation params

func (*DeleteCorrelationParams) WithUID

WithUID adds the uid to the delete correlation params

func (*DeleteCorrelationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCorrelationReader

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

DeleteCorrelationReader is a Reader for the DeleteCorrelation structure.

func (*DeleteCorrelationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCorrelationUnauthorized

type DeleteCorrelationUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteCorrelationUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteCorrelationUnauthorized

func NewDeleteCorrelationUnauthorized() *DeleteCorrelationUnauthorized

NewDeleteCorrelationUnauthorized creates a DeleteCorrelationUnauthorized with default headers values

func (*DeleteCorrelationUnauthorized) Code

Code gets the status code for the delete correlation unauthorized response

func (*DeleteCorrelationUnauthorized) Error

func (*DeleteCorrelationUnauthorized) GetPayload

func (*DeleteCorrelationUnauthorized) IsClientError

func (o *DeleteCorrelationUnauthorized) IsClientError() bool

IsClientError returns true when this delete correlation unauthorized response has a 4xx status code

func (*DeleteCorrelationUnauthorized) IsCode

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

IsCode returns true when this delete correlation unauthorized response a status code equal to that given

func (*DeleteCorrelationUnauthorized) IsRedirect

func (o *DeleteCorrelationUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete correlation unauthorized response has a 3xx status code

func (*DeleteCorrelationUnauthorized) IsServerError

func (o *DeleteCorrelationUnauthorized) IsServerError() bool

IsServerError returns true when this delete correlation unauthorized response has a 5xx status code

func (*DeleteCorrelationUnauthorized) IsSuccess

func (o *DeleteCorrelationUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete correlation unauthorized response has a 2xx status code

func (*DeleteCorrelationUnauthorized) String

type GetCorrelationInternalServerError

type GetCorrelationInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetCorrelationInternalServerError

func NewGetCorrelationInternalServerError() *GetCorrelationInternalServerError

NewGetCorrelationInternalServerError creates a GetCorrelationInternalServerError with default headers values

func (*GetCorrelationInternalServerError) Code

Code gets the status code for the get correlation internal server error response

func (*GetCorrelationInternalServerError) Error

func (*GetCorrelationInternalServerError) GetPayload

func (*GetCorrelationInternalServerError) IsClientError

func (o *GetCorrelationInternalServerError) IsClientError() bool

IsClientError returns true when this get correlation internal server error response has a 4xx status code

func (*GetCorrelationInternalServerError) IsCode

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

IsCode returns true when this get correlation internal server error response a status code equal to that given

func (*GetCorrelationInternalServerError) IsRedirect

func (o *GetCorrelationInternalServerError) IsRedirect() bool

IsRedirect returns true when this get correlation internal server error response has a 3xx status code

func (*GetCorrelationInternalServerError) IsServerError

func (o *GetCorrelationInternalServerError) IsServerError() bool

IsServerError returns true when this get correlation internal server error response has a 5xx status code

func (*GetCorrelationInternalServerError) IsSuccess

func (o *GetCorrelationInternalServerError) IsSuccess() bool

IsSuccess returns true when this get correlation internal server error response has a 2xx status code

func (*GetCorrelationInternalServerError) String

type GetCorrelationNotFound

type GetCorrelationNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetCorrelationNotFound

func NewGetCorrelationNotFound() *GetCorrelationNotFound

NewGetCorrelationNotFound creates a GetCorrelationNotFound with default headers values

func (*GetCorrelationNotFound) Code

func (o *GetCorrelationNotFound) Code() int

Code gets the status code for the get correlation not found response

func (*GetCorrelationNotFound) Error

func (o *GetCorrelationNotFound) Error() string

func (*GetCorrelationNotFound) GetPayload

func (*GetCorrelationNotFound) IsClientError

func (o *GetCorrelationNotFound) IsClientError() bool

IsClientError returns true when this get correlation not found response has a 4xx status code

func (*GetCorrelationNotFound) IsCode

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

IsCode returns true when this get correlation not found response a status code equal to that given

func (*GetCorrelationNotFound) IsRedirect

func (o *GetCorrelationNotFound) IsRedirect() bool

IsRedirect returns true when this get correlation not found response has a 3xx status code

func (*GetCorrelationNotFound) IsServerError

func (o *GetCorrelationNotFound) IsServerError() bool

IsServerError returns true when this get correlation not found response has a 5xx status code

func (*GetCorrelationNotFound) IsSuccess

func (o *GetCorrelationNotFound) IsSuccess() bool

IsSuccess returns true when this get correlation not found response has a 2xx status code

func (*GetCorrelationNotFound) String

func (o *GetCorrelationNotFound) String() string

type GetCorrelationOK

type GetCorrelationOK struct {
	Payload *models.Correlation
}

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

(empty)

func NewGetCorrelationOK

func NewGetCorrelationOK() *GetCorrelationOK

NewGetCorrelationOK creates a GetCorrelationOK with default headers values

func (*GetCorrelationOK) Code

func (o *GetCorrelationOK) Code() int

Code gets the status code for the get correlation Ok response

func (*GetCorrelationOK) Error

func (o *GetCorrelationOK) Error() string

func (*GetCorrelationOK) GetPayload

func (o *GetCorrelationOK) GetPayload() *models.Correlation

func (*GetCorrelationOK) IsClientError

func (o *GetCorrelationOK) IsClientError() bool

IsClientError returns true when this get correlation Ok response has a 4xx status code

func (*GetCorrelationOK) IsCode

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

IsCode returns true when this get correlation Ok response a status code equal to that given

func (*GetCorrelationOK) IsRedirect

func (o *GetCorrelationOK) IsRedirect() bool

IsRedirect returns true when this get correlation Ok response has a 3xx status code

func (*GetCorrelationOK) IsServerError

func (o *GetCorrelationOK) IsServerError() bool

IsServerError returns true when this get correlation Ok response has a 5xx status code

func (*GetCorrelationOK) IsSuccess

func (o *GetCorrelationOK) IsSuccess() bool

IsSuccess returns true when this get correlation Ok response has a 2xx status code

func (*GetCorrelationOK) String

func (o *GetCorrelationOK) String() string

type GetCorrelationParams

type GetCorrelationParams struct {

	// CorrelationUID.
	CorrelationUID string

	// SourceUID.
	SourceUID string

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

GetCorrelationParams contains all the parameters to send to the API endpoint

for the get correlation operation.

Typically these are written to a http.Request.

func NewGetCorrelationParams

func NewGetCorrelationParams() *GetCorrelationParams

NewGetCorrelationParams creates a new GetCorrelationParams 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 NewGetCorrelationParamsWithContext

func NewGetCorrelationParamsWithContext(ctx context.Context) *GetCorrelationParams

NewGetCorrelationParamsWithContext creates a new GetCorrelationParams object with the ability to set a context for a request.

func NewGetCorrelationParamsWithHTTPClient

func NewGetCorrelationParamsWithHTTPClient(client *http.Client) *GetCorrelationParams

NewGetCorrelationParamsWithHTTPClient creates a new GetCorrelationParams object with the ability to set a custom HTTPClient for a request.

func NewGetCorrelationParamsWithTimeout

func NewGetCorrelationParamsWithTimeout(timeout time.Duration) *GetCorrelationParams

NewGetCorrelationParamsWithTimeout creates a new GetCorrelationParams object with the ability to set a timeout on a request.

func (*GetCorrelationParams) SetContext

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

SetContext adds the context to the get correlation params

func (*GetCorrelationParams) SetCorrelationUID

func (o *GetCorrelationParams) SetCorrelationUID(correlationUID string)

SetCorrelationUID adds the correlationUid to the get correlation params

func (*GetCorrelationParams) SetDefaults

func (o *GetCorrelationParams) SetDefaults()

SetDefaults hydrates default values in the get correlation params (not the query body).

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

func (*GetCorrelationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get correlation params

func (*GetCorrelationParams) SetSourceUID

func (o *GetCorrelationParams) SetSourceUID(sourceUID string)

SetSourceUID adds the sourceUid to the get correlation params

func (*GetCorrelationParams) SetTimeout

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

SetTimeout adds the timeout to the get correlation params

func (*GetCorrelationParams) WithContext

WithContext adds the context to the get correlation params

func (*GetCorrelationParams) WithCorrelationUID

func (o *GetCorrelationParams) WithCorrelationUID(correlationUID string) *GetCorrelationParams

WithCorrelationUID adds the correlationUID to the get correlation params

func (*GetCorrelationParams) WithDefaults

func (o *GetCorrelationParams) WithDefaults() *GetCorrelationParams

WithDefaults hydrates default values in the get correlation params (not the query body).

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

func (*GetCorrelationParams) WithHTTPClient

func (o *GetCorrelationParams) WithHTTPClient(client *http.Client) *GetCorrelationParams

WithHTTPClient adds the HTTPClient to the get correlation params

func (*GetCorrelationParams) WithSourceUID

func (o *GetCorrelationParams) WithSourceUID(sourceUID string) *GetCorrelationParams

WithSourceUID adds the sourceUID to the get correlation params

func (*GetCorrelationParams) WithTimeout

func (o *GetCorrelationParams) WithTimeout(timeout time.Duration) *GetCorrelationParams

WithTimeout adds the timeout to the get correlation params

func (*GetCorrelationParams) WriteToRequest

func (o *GetCorrelationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCorrelationReader

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

GetCorrelationReader is a Reader for the GetCorrelation structure.

func (*GetCorrelationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCorrelationUnauthorized

type GetCorrelationUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetCorrelationUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetCorrelationUnauthorized

func NewGetCorrelationUnauthorized() *GetCorrelationUnauthorized

NewGetCorrelationUnauthorized creates a GetCorrelationUnauthorized with default headers values

func (*GetCorrelationUnauthorized) Code

func (o *GetCorrelationUnauthorized) Code() int

Code gets the status code for the get correlation unauthorized response

func (*GetCorrelationUnauthorized) Error

func (*GetCorrelationUnauthorized) GetPayload

func (*GetCorrelationUnauthorized) IsClientError

func (o *GetCorrelationUnauthorized) IsClientError() bool

IsClientError returns true when this get correlation unauthorized response has a 4xx status code

func (*GetCorrelationUnauthorized) IsCode

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

IsCode returns true when this get correlation unauthorized response a status code equal to that given

func (*GetCorrelationUnauthorized) IsRedirect

func (o *GetCorrelationUnauthorized) IsRedirect() bool

IsRedirect returns true when this get correlation unauthorized response has a 3xx status code

func (*GetCorrelationUnauthorized) IsServerError

func (o *GetCorrelationUnauthorized) IsServerError() bool

IsServerError returns true when this get correlation unauthorized response has a 5xx status code

func (*GetCorrelationUnauthorized) IsSuccess

func (o *GetCorrelationUnauthorized) IsSuccess() bool

IsSuccess returns true when this get correlation unauthorized response has a 2xx status code

func (*GetCorrelationUnauthorized) String

func (o *GetCorrelationUnauthorized) String() string

type GetCorrelationsBySourceUIDInternalServerError

type GetCorrelationsBySourceUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetCorrelationsBySourceUIDInternalServerError

func NewGetCorrelationsBySourceUIDInternalServerError() *GetCorrelationsBySourceUIDInternalServerError

NewGetCorrelationsBySourceUIDInternalServerError creates a GetCorrelationsBySourceUIDInternalServerError with default headers values

func (*GetCorrelationsBySourceUIDInternalServerError) Code

Code gets the status code for the get correlations by source Uid internal server error response

func (*GetCorrelationsBySourceUIDInternalServerError) Error

func (*GetCorrelationsBySourceUIDInternalServerError) GetPayload

func (*GetCorrelationsBySourceUIDInternalServerError) IsClientError

IsClientError returns true when this get correlations by source Uid internal server error response has a 4xx status code

func (*GetCorrelationsBySourceUIDInternalServerError) IsCode

IsCode returns true when this get correlations by source Uid internal server error response a status code equal to that given

func (*GetCorrelationsBySourceUIDInternalServerError) IsRedirect

IsRedirect returns true when this get correlations by source Uid internal server error response has a 3xx status code

func (*GetCorrelationsBySourceUIDInternalServerError) IsServerError

IsServerError returns true when this get correlations by source Uid internal server error response has a 5xx status code

func (*GetCorrelationsBySourceUIDInternalServerError) IsSuccess

IsSuccess returns true when this get correlations by source Uid internal server error response has a 2xx status code

func (*GetCorrelationsBySourceUIDInternalServerError) String

type GetCorrelationsBySourceUIDNotFound

type GetCorrelationsBySourceUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetCorrelationsBySourceUIDNotFound

func NewGetCorrelationsBySourceUIDNotFound() *GetCorrelationsBySourceUIDNotFound

NewGetCorrelationsBySourceUIDNotFound creates a GetCorrelationsBySourceUIDNotFound with default headers values

func (*GetCorrelationsBySourceUIDNotFound) Code

Code gets the status code for the get correlations by source Uid not found response

func (*GetCorrelationsBySourceUIDNotFound) Error

func (*GetCorrelationsBySourceUIDNotFound) GetPayload

func (*GetCorrelationsBySourceUIDNotFound) IsClientError

func (o *GetCorrelationsBySourceUIDNotFound) IsClientError() bool

IsClientError returns true when this get correlations by source Uid not found response has a 4xx status code

func (*GetCorrelationsBySourceUIDNotFound) IsCode

IsCode returns true when this get correlations by source Uid not found response a status code equal to that given

func (*GetCorrelationsBySourceUIDNotFound) IsRedirect

func (o *GetCorrelationsBySourceUIDNotFound) IsRedirect() bool

IsRedirect returns true when this get correlations by source Uid not found response has a 3xx status code

func (*GetCorrelationsBySourceUIDNotFound) IsServerError

func (o *GetCorrelationsBySourceUIDNotFound) IsServerError() bool

IsServerError returns true when this get correlations by source Uid not found response has a 5xx status code

func (*GetCorrelationsBySourceUIDNotFound) IsSuccess

IsSuccess returns true when this get correlations by source Uid not found response has a 2xx status code

func (*GetCorrelationsBySourceUIDNotFound) String

type GetCorrelationsBySourceUIDOK

type GetCorrelationsBySourceUIDOK struct {
	Payload []*models.Correlation
}

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

(empty)

func NewGetCorrelationsBySourceUIDOK

func NewGetCorrelationsBySourceUIDOK() *GetCorrelationsBySourceUIDOK

NewGetCorrelationsBySourceUIDOK creates a GetCorrelationsBySourceUIDOK with default headers values

func (*GetCorrelationsBySourceUIDOK) Code

Code gets the status code for the get correlations by source Uid Ok response

func (*GetCorrelationsBySourceUIDOK) Error

func (*GetCorrelationsBySourceUIDOK) GetPayload

func (o *GetCorrelationsBySourceUIDOK) GetPayload() []*models.Correlation

func (*GetCorrelationsBySourceUIDOK) IsClientError

func (o *GetCorrelationsBySourceUIDOK) IsClientError() bool

IsClientError returns true when this get correlations by source Uid Ok response has a 4xx status code

func (*GetCorrelationsBySourceUIDOK) IsCode

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

IsCode returns true when this get correlations by source Uid Ok response a status code equal to that given

func (*GetCorrelationsBySourceUIDOK) IsRedirect

func (o *GetCorrelationsBySourceUIDOK) IsRedirect() bool

IsRedirect returns true when this get correlations by source Uid Ok response has a 3xx status code

func (*GetCorrelationsBySourceUIDOK) IsServerError

func (o *GetCorrelationsBySourceUIDOK) IsServerError() bool

IsServerError returns true when this get correlations by source Uid Ok response has a 5xx status code

func (*GetCorrelationsBySourceUIDOK) IsSuccess

func (o *GetCorrelationsBySourceUIDOK) IsSuccess() bool

IsSuccess returns true when this get correlations by source Uid Ok response has a 2xx status code

func (*GetCorrelationsBySourceUIDOK) String

type GetCorrelationsBySourceUIDParams

type GetCorrelationsBySourceUIDParams struct {

	// SourceUID.
	SourceUID string

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

GetCorrelationsBySourceUIDParams contains all the parameters to send to the API endpoint

for the get correlations by source UID operation.

Typically these are written to a http.Request.

func NewGetCorrelationsBySourceUIDParams

func NewGetCorrelationsBySourceUIDParams() *GetCorrelationsBySourceUIDParams

NewGetCorrelationsBySourceUIDParams creates a new GetCorrelationsBySourceUIDParams 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 NewGetCorrelationsBySourceUIDParamsWithContext

func NewGetCorrelationsBySourceUIDParamsWithContext(ctx context.Context) *GetCorrelationsBySourceUIDParams

NewGetCorrelationsBySourceUIDParamsWithContext creates a new GetCorrelationsBySourceUIDParams object with the ability to set a context for a request.

func NewGetCorrelationsBySourceUIDParamsWithHTTPClient

func NewGetCorrelationsBySourceUIDParamsWithHTTPClient(client *http.Client) *GetCorrelationsBySourceUIDParams

NewGetCorrelationsBySourceUIDParamsWithHTTPClient creates a new GetCorrelationsBySourceUIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetCorrelationsBySourceUIDParamsWithTimeout

func NewGetCorrelationsBySourceUIDParamsWithTimeout(timeout time.Duration) *GetCorrelationsBySourceUIDParams

NewGetCorrelationsBySourceUIDParamsWithTimeout creates a new GetCorrelationsBySourceUIDParams object with the ability to set a timeout on a request.

func (*GetCorrelationsBySourceUIDParams) SetContext

SetContext adds the context to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) SetDefaults

func (o *GetCorrelationsBySourceUIDParams) SetDefaults()

SetDefaults hydrates default values in the get correlations by source UID params (not the query body).

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

func (*GetCorrelationsBySourceUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) SetSourceUID

func (o *GetCorrelationsBySourceUIDParams) SetSourceUID(sourceUID string)

SetSourceUID adds the sourceUid to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) SetTimeout

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

SetTimeout adds the timeout to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) WithContext

WithContext adds the context to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) WithDefaults

WithDefaults hydrates default values in the get correlations by source UID params (not the query body).

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

func (*GetCorrelationsBySourceUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) WithSourceUID

WithSourceUID adds the sourceUID to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) WithTimeout

WithTimeout adds the timeout to the get correlations by source UID params

func (*GetCorrelationsBySourceUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCorrelationsBySourceUIDReader

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

GetCorrelationsBySourceUIDReader is a Reader for the GetCorrelationsBySourceUID structure.

func (*GetCorrelationsBySourceUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCorrelationsBySourceUIDUnauthorized

type GetCorrelationsBySourceUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetCorrelationsBySourceUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetCorrelationsBySourceUIDUnauthorized

func NewGetCorrelationsBySourceUIDUnauthorized() *GetCorrelationsBySourceUIDUnauthorized

NewGetCorrelationsBySourceUIDUnauthorized creates a GetCorrelationsBySourceUIDUnauthorized with default headers values

func (*GetCorrelationsBySourceUIDUnauthorized) Code

Code gets the status code for the get correlations by source Uid unauthorized response

func (*GetCorrelationsBySourceUIDUnauthorized) Error

func (*GetCorrelationsBySourceUIDUnauthorized) GetPayload

func (*GetCorrelationsBySourceUIDUnauthorized) IsClientError

func (o *GetCorrelationsBySourceUIDUnauthorized) IsClientError() bool

IsClientError returns true when this get correlations by source Uid unauthorized response has a 4xx status code

func (*GetCorrelationsBySourceUIDUnauthorized) IsCode

IsCode returns true when this get correlations by source Uid unauthorized response a status code equal to that given

func (*GetCorrelationsBySourceUIDUnauthorized) IsRedirect

IsRedirect returns true when this get correlations by source Uid unauthorized response has a 3xx status code

func (*GetCorrelationsBySourceUIDUnauthorized) IsServerError

func (o *GetCorrelationsBySourceUIDUnauthorized) IsServerError() bool

IsServerError returns true when this get correlations by source Uid unauthorized response has a 5xx status code

func (*GetCorrelationsBySourceUIDUnauthorized) IsSuccess

IsSuccess returns true when this get correlations by source Uid unauthorized response has a 2xx status code

func (*GetCorrelationsBySourceUIDUnauthorized) String

type GetCorrelationsInternalServerError

type GetCorrelationsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetCorrelationsInternalServerError

func NewGetCorrelationsInternalServerError() *GetCorrelationsInternalServerError

NewGetCorrelationsInternalServerError creates a GetCorrelationsInternalServerError with default headers values

func (*GetCorrelationsInternalServerError) Code

Code gets the status code for the get correlations internal server error response

func (*GetCorrelationsInternalServerError) Error

func (*GetCorrelationsInternalServerError) GetPayload

func (*GetCorrelationsInternalServerError) IsClientError

func (o *GetCorrelationsInternalServerError) IsClientError() bool

IsClientError returns true when this get correlations internal server error response has a 4xx status code

func (*GetCorrelationsInternalServerError) IsCode

IsCode returns true when this get correlations internal server error response a status code equal to that given

func (*GetCorrelationsInternalServerError) IsRedirect

func (o *GetCorrelationsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get correlations internal server error response has a 3xx status code

func (*GetCorrelationsInternalServerError) IsServerError

func (o *GetCorrelationsInternalServerError) IsServerError() bool

IsServerError returns true when this get correlations internal server error response has a 5xx status code

func (*GetCorrelationsInternalServerError) IsSuccess

IsSuccess returns true when this get correlations internal server error response has a 2xx status code

func (*GetCorrelationsInternalServerError) String

type GetCorrelationsNotFound

type GetCorrelationsNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetCorrelationsNotFound

func NewGetCorrelationsNotFound() *GetCorrelationsNotFound

NewGetCorrelationsNotFound creates a GetCorrelationsNotFound with default headers values

func (*GetCorrelationsNotFound) Code

func (o *GetCorrelationsNotFound) Code() int

Code gets the status code for the get correlations not found response

func (*GetCorrelationsNotFound) Error

func (o *GetCorrelationsNotFound) Error() string

func (*GetCorrelationsNotFound) GetPayload

func (*GetCorrelationsNotFound) IsClientError

func (o *GetCorrelationsNotFound) IsClientError() bool

IsClientError returns true when this get correlations not found response has a 4xx status code

func (*GetCorrelationsNotFound) IsCode

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

IsCode returns true when this get correlations not found response a status code equal to that given

func (*GetCorrelationsNotFound) IsRedirect

func (o *GetCorrelationsNotFound) IsRedirect() bool

IsRedirect returns true when this get correlations not found response has a 3xx status code

func (*GetCorrelationsNotFound) IsServerError

func (o *GetCorrelationsNotFound) IsServerError() bool

IsServerError returns true when this get correlations not found response has a 5xx status code

func (*GetCorrelationsNotFound) IsSuccess

func (o *GetCorrelationsNotFound) IsSuccess() bool

IsSuccess returns true when this get correlations not found response has a 2xx status code

func (*GetCorrelationsNotFound) String

func (o *GetCorrelationsNotFound) String() string

type GetCorrelationsOK

type GetCorrelationsOK struct {
	Payload []*models.Correlation
}

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

(empty)

func NewGetCorrelationsOK

func NewGetCorrelationsOK() *GetCorrelationsOK

NewGetCorrelationsOK creates a GetCorrelationsOK with default headers values

func (*GetCorrelationsOK) Code

func (o *GetCorrelationsOK) Code() int

Code gets the status code for the get correlations Ok response

func (*GetCorrelationsOK) Error

func (o *GetCorrelationsOK) Error() string

func (*GetCorrelationsOK) GetPayload

func (o *GetCorrelationsOK) GetPayload() []*models.Correlation

func (*GetCorrelationsOK) IsClientError

func (o *GetCorrelationsOK) IsClientError() bool

IsClientError returns true when this get correlations Ok response has a 4xx status code

func (*GetCorrelationsOK) IsCode

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

IsCode returns true when this get correlations Ok response a status code equal to that given

func (*GetCorrelationsOK) IsRedirect

func (o *GetCorrelationsOK) IsRedirect() bool

IsRedirect returns true when this get correlations Ok response has a 3xx status code

func (*GetCorrelationsOK) IsServerError

func (o *GetCorrelationsOK) IsServerError() bool

IsServerError returns true when this get correlations Ok response has a 5xx status code

func (*GetCorrelationsOK) IsSuccess

func (o *GetCorrelationsOK) IsSuccess() bool

IsSuccess returns true when this get correlations Ok response has a 2xx status code

func (*GetCorrelationsOK) String

func (o *GetCorrelationsOK) String() string

type GetCorrelationsParams

type GetCorrelationsParams struct {

	/* Limit.

	   Limit the maximum number of correlations to return per page

	   Format: int64
	   Default: 100
	*/
	Limit *int64

	/* Page.

	   Page index for starting fetching correlations

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* SourceUID.

	   Source datasource UID filter to be applied to correlations
	*/
	SourceUID []string

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

GetCorrelationsParams contains all the parameters to send to the API endpoint

for the get correlations operation.

Typically these are written to a http.Request.

func NewGetCorrelationsParams

func NewGetCorrelationsParams() *GetCorrelationsParams

NewGetCorrelationsParams creates a new GetCorrelationsParams 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 NewGetCorrelationsParamsWithContext

func NewGetCorrelationsParamsWithContext(ctx context.Context) *GetCorrelationsParams

NewGetCorrelationsParamsWithContext creates a new GetCorrelationsParams object with the ability to set a context for a request.

func NewGetCorrelationsParamsWithHTTPClient

func NewGetCorrelationsParamsWithHTTPClient(client *http.Client) *GetCorrelationsParams

NewGetCorrelationsParamsWithHTTPClient creates a new GetCorrelationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCorrelationsParamsWithTimeout

func NewGetCorrelationsParamsWithTimeout(timeout time.Duration) *GetCorrelationsParams

NewGetCorrelationsParamsWithTimeout creates a new GetCorrelationsParams object with the ability to set a timeout on a request.

func (*GetCorrelationsParams) SetContext

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

SetContext adds the context to the get correlations params

func (*GetCorrelationsParams) SetDefaults

func (o *GetCorrelationsParams) SetDefaults()

SetDefaults hydrates default values in the get correlations params (not the query body).

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

func (*GetCorrelationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get correlations params

func (*GetCorrelationsParams) SetLimit

func (o *GetCorrelationsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get correlations params

func (*GetCorrelationsParams) SetPage

func (o *GetCorrelationsParams) SetPage(page *int64)

SetPage adds the page to the get correlations params

func (*GetCorrelationsParams) SetSourceUID

func (o *GetCorrelationsParams) SetSourceUID(sourceUID []string)

SetSourceUID adds the sourceUid to the get correlations params

func (*GetCorrelationsParams) SetTimeout

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

SetTimeout adds the timeout to the get correlations params

func (*GetCorrelationsParams) WithContext

WithContext adds the context to the get correlations params

func (*GetCorrelationsParams) WithDefaults

func (o *GetCorrelationsParams) WithDefaults() *GetCorrelationsParams

WithDefaults hydrates default values in the get correlations params (not the query body).

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

func (*GetCorrelationsParams) WithHTTPClient

func (o *GetCorrelationsParams) WithHTTPClient(client *http.Client) *GetCorrelationsParams

WithHTTPClient adds the HTTPClient to the get correlations params

func (*GetCorrelationsParams) WithLimit

func (o *GetCorrelationsParams) WithLimit(limit *int64) *GetCorrelationsParams

WithLimit adds the limit to the get correlations params

func (*GetCorrelationsParams) WithPage

WithPage adds the page to the get correlations params

func (*GetCorrelationsParams) WithSourceUID

func (o *GetCorrelationsParams) WithSourceUID(sourceUID []string) *GetCorrelationsParams

WithSourceUID adds the sourceUID to the get correlations params

func (*GetCorrelationsParams) WithTimeout

func (o *GetCorrelationsParams) WithTimeout(timeout time.Duration) *GetCorrelationsParams

WithTimeout adds the timeout to the get correlations params

func (*GetCorrelationsParams) WriteToRequest

func (o *GetCorrelationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCorrelationsReader

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

GetCorrelationsReader is a Reader for the GetCorrelations structure.

func (*GetCorrelationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCorrelationsUnauthorized

type GetCorrelationsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetCorrelationsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetCorrelationsUnauthorized

func NewGetCorrelationsUnauthorized() *GetCorrelationsUnauthorized

NewGetCorrelationsUnauthorized creates a GetCorrelationsUnauthorized with default headers values

func (*GetCorrelationsUnauthorized) Code

func (o *GetCorrelationsUnauthorized) Code() int

Code gets the status code for the get correlations unauthorized response

func (*GetCorrelationsUnauthorized) Error

func (*GetCorrelationsUnauthorized) GetPayload

func (*GetCorrelationsUnauthorized) IsClientError

func (o *GetCorrelationsUnauthorized) IsClientError() bool

IsClientError returns true when this get correlations unauthorized response has a 4xx status code

func (*GetCorrelationsUnauthorized) IsCode

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

IsCode returns true when this get correlations unauthorized response a status code equal to that given

func (*GetCorrelationsUnauthorized) IsRedirect

func (o *GetCorrelationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get correlations unauthorized response has a 3xx status code

func (*GetCorrelationsUnauthorized) IsServerError

func (o *GetCorrelationsUnauthorized) IsServerError() bool

IsServerError returns true when this get correlations unauthorized response has a 5xx status code

func (*GetCorrelationsUnauthorized) IsSuccess

func (o *GetCorrelationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get correlations unauthorized response has a 2xx status code

func (*GetCorrelationsUnauthorized) String

func (o *GetCorrelationsUnauthorized) String() string

type UpdateCorrelationBadRequest

type UpdateCorrelationBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewUpdateCorrelationBadRequest

func NewUpdateCorrelationBadRequest() *UpdateCorrelationBadRequest

NewUpdateCorrelationBadRequest creates a UpdateCorrelationBadRequest with default headers values

func (*UpdateCorrelationBadRequest) Code

func (o *UpdateCorrelationBadRequest) Code() int

Code gets the status code for the update correlation bad request response

func (*UpdateCorrelationBadRequest) Error

func (*UpdateCorrelationBadRequest) GetPayload

func (*UpdateCorrelationBadRequest) IsClientError

func (o *UpdateCorrelationBadRequest) IsClientError() bool

IsClientError returns true when this update correlation bad request response has a 4xx status code

func (*UpdateCorrelationBadRequest) IsCode

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

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

func (*UpdateCorrelationBadRequest) IsRedirect

func (o *UpdateCorrelationBadRequest) IsRedirect() bool

IsRedirect returns true when this update correlation bad request response has a 3xx status code

func (*UpdateCorrelationBadRequest) IsServerError

func (o *UpdateCorrelationBadRequest) IsServerError() bool

IsServerError returns true when this update correlation bad request response has a 5xx status code

func (*UpdateCorrelationBadRequest) IsSuccess

func (o *UpdateCorrelationBadRequest) IsSuccess() bool

IsSuccess returns true when this update correlation bad request response has a 2xx status code

func (*UpdateCorrelationBadRequest) String

func (o *UpdateCorrelationBadRequest) String() string

type UpdateCorrelationForbidden

type UpdateCorrelationForbidden struct {
	Payload *models.ErrorResponseBody
}

UpdateCorrelationForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateCorrelationForbidden

func NewUpdateCorrelationForbidden() *UpdateCorrelationForbidden

NewUpdateCorrelationForbidden creates a UpdateCorrelationForbidden with default headers values

func (*UpdateCorrelationForbidden) Code

func (o *UpdateCorrelationForbidden) Code() int

Code gets the status code for the update correlation forbidden response

func (*UpdateCorrelationForbidden) Error

func (*UpdateCorrelationForbidden) GetPayload

func (*UpdateCorrelationForbidden) IsClientError

func (o *UpdateCorrelationForbidden) IsClientError() bool

IsClientError returns true when this update correlation forbidden response has a 4xx status code

func (*UpdateCorrelationForbidden) IsCode

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

IsCode returns true when this update correlation forbidden response a status code equal to that given

func (*UpdateCorrelationForbidden) IsRedirect

func (o *UpdateCorrelationForbidden) IsRedirect() bool

IsRedirect returns true when this update correlation forbidden response has a 3xx status code

func (*UpdateCorrelationForbidden) IsServerError

func (o *UpdateCorrelationForbidden) IsServerError() bool

IsServerError returns true when this update correlation forbidden response has a 5xx status code

func (*UpdateCorrelationForbidden) IsSuccess

func (o *UpdateCorrelationForbidden) IsSuccess() bool

IsSuccess returns true when this update correlation forbidden response has a 2xx status code

func (*UpdateCorrelationForbidden) String

func (o *UpdateCorrelationForbidden) String() string

type UpdateCorrelationInternalServerError

type UpdateCorrelationInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateCorrelationInternalServerError

func NewUpdateCorrelationInternalServerError() *UpdateCorrelationInternalServerError

NewUpdateCorrelationInternalServerError creates a UpdateCorrelationInternalServerError with default headers values

func (*UpdateCorrelationInternalServerError) Code

Code gets the status code for the update correlation internal server error response

func (*UpdateCorrelationInternalServerError) Error

func (*UpdateCorrelationInternalServerError) GetPayload

func (*UpdateCorrelationInternalServerError) IsClientError

func (o *UpdateCorrelationInternalServerError) IsClientError() bool

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

func (*UpdateCorrelationInternalServerError) IsCode

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

func (*UpdateCorrelationInternalServerError) IsRedirect

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

func (*UpdateCorrelationInternalServerError) IsServerError

func (o *UpdateCorrelationInternalServerError) IsServerError() bool

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

func (*UpdateCorrelationInternalServerError) IsSuccess

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

func (*UpdateCorrelationInternalServerError) String

type UpdateCorrelationNotFound

type UpdateCorrelationNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewUpdateCorrelationNotFound

func NewUpdateCorrelationNotFound() *UpdateCorrelationNotFound

NewUpdateCorrelationNotFound creates a UpdateCorrelationNotFound with default headers values

func (*UpdateCorrelationNotFound) Code

func (o *UpdateCorrelationNotFound) Code() int

Code gets the status code for the update correlation not found response

func (*UpdateCorrelationNotFound) Error

func (o *UpdateCorrelationNotFound) Error() string

func (*UpdateCorrelationNotFound) GetPayload

func (*UpdateCorrelationNotFound) IsClientError

func (o *UpdateCorrelationNotFound) IsClientError() bool

IsClientError returns true when this update correlation not found response has a 4xx status code

func (*UpdateCorrelationNotFound) IsCode

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

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

func (*UpdateCorrelationNotFound) IsRedirect

func (o *UpdateCorrelationNotFound) IsRedirect() bool

IsRedirect returns true when this update correlation not found response has a 3xx status code

func (*UpdateCorrelationNotFound) IsServerError

func (o *UpdateCorrelationNotFound) IsServerError() bool

IsServerError returns true when this update correlation not found response has a 5xx status code

func (*UpdateCorrelationNotFound) IsSuccess

func (o *UpdateCorrelationNotFound) IsSuccess() bool

IsSuccess returns true when this update correlation not found response has a 2xx status code

func (*UpdateCorrelationNotFound) String

func (o *UpdateCorrelationNotFound) String() string

type UpdateCorrelationOK

type UpdateCorrelationOK struct {
	Payload *models.UpdateCorrelationResponseBody
}

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

(empty)

func NewUpdateCorrelationOK

func NewUpdateCorrelationOK() *UpdateCorrelationOK

NewUpdateCorrelationOK creates a UpdateCorrelationOK with default headers values

func (*UpdateCorrelationOK) Code

func (o *UpdateCorrelationOK) Code() int

Code gets the status code for the update correlation Ok response

func (*UpdateCorrelationOK) Error

func (o *UpdateCorrelationOK) Error() string

func (*UpdateCorrelationOK) GetPayload

func (*UpdateCorrelationOK) IsClientError

func (o *UpdateCorrelationOK) IsClientError() bool

IsClientError returns true when this update correlation Ok response has a 4xx status code

func (*UpdateCorrelationOK) IsCode

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

IsCode returns true when this update correlation Ok response a status code equal to that given

func (*UpdateCorrelationOK) IsRedirect

func (o *UpdateCorrelationOK) IsRedirect() bool

IsRedirect returns true when this update correlation Ok response has a 3xx status code

func (*UpdateCorrelationOK) IsServerError

func (o *UpdateCorrelationOK) IsServerError() bool

IsServerError returns true when this update correlation Ok response has a 5xx status code

func (*UpdateCorrelationOK) IsSuccess

func (o *UpdateCorrelationOK) IsSuccess() bool

IsSuccess returns true when this update correlation Ok response has a 2xx status code

func (*UpdateCorrelationOK) String

func (o *UpdateCorrelationOK) String() string

type UpdateCorrelationParams

type UpdateCorrelationParams struct {

	// Body.
	Body *models.UpdateCorrelationCommand

	// CorrelationUID.
	CorrelationUID string

	// SourceUID.
	SourceUID string

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

UpdateCorrelationParams contains all the parameters to send to the API endpoint

for the update correlation operation.

Typically these are written to a http.Request.

func NewUpdateCorrelationParams

func NewUpdateCorrelationParams() *UpdateCorrelationParams

NewUpdateCorrelationParams creates a new UpdateCorrelationParams 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 NewUpdateCorrelationParamsWithContext

func NewUpdateCorrelationParamsWithContext(ctx context.Context) *UpdateCorrelationParams

NewUpdateCorrelationParamsWithContext creates a new UpdateCorrelationParams object with the ability to set a context for a request.

func NewUpdateCorrelationParamsWithHTTPClient

func NewUpdateCorrelationParamsWithHTTPClient(client *http.Client) *UpdateCorrelationParams

NewUpdateCorrelationParamsWithHTTPClient creates a new UpdateCorrelationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCorrelationParamsWithTimeout

func NewUpdateCorrelationParamsWithTimeout(timeout time.Duration) *UpdateCorrelationParams

NewUpdateCorrelationParamsWithTimeout creates a new UpdateCorrelationParams object with the ability to set a timeout on a request.

func (*UpdateCorrelationParams) SetBody

SetBody adds the body to the update correlation params

func (*UpdateCorrelationParams) SetContext

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

SetContext adds the context to the update correlation params

func (*UpdateCorrelationParams) SetCorrelationUID

func (o *UpdateCorrelationParams) SetCorrelationUID(correlationUID string)

SetCorrelationUID adds the correlationUid to the update correlation params

func (*UpdateCorrelationParams) SetDefaults

func (o *UpdateCorrelationParams) SetDefaults()

SetDefaults hydrates default values in the update correlation params (not the query body).

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

func (*UpdateCorrelationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update correlation params

func (*UpdateCorrelationParams) SetSourceUID

func (o *UpdateCorrelationParams) SetSourceUID(sourceUID string)

SetSourceUID adds the sourceUid to the update correlation params

func (*UpdateCorrelationParams) SetTimeout

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

SetTimeout adds the timeout to the update correlation params

func (*UpdateCorrelationParams) WithBody

WithBody adds the body to the update correlation params

func (*UpdateCorrelationParams) WithContext

WithContext adds the context to the update correlation params

func (*UpdateCorrelationParams) WithCorrelationUID

func (o *UpdateCorrelationParams) WithCorrelationUID(correlationUID string) *UpdateCorrelationParams

WithCorrelationUID adds the correlationUID to the update correlation params

func (*UpdateCorrelationParams) WithDefaults

WithDefaults hydrates default values in the update correlation params (not the query body).

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

func (*UpdateCorrelationParams) WithHTTPClient

func (o *UpdateCorrelationParams) WithHTTPClient(client *http.Client) *UpdateCorrelationParams

WithHTTPClient adds the HTTPClient to the update correlation params

func (*UpdateCorrelationParams) WithSourceUID

func (o *UpdateCorrelationParams) WithSourceUID(sourceUID string) *UpdateCorrelationParams

WithSourceUID adds the sourceUID to the update correlation params

func (*UpdateCorrelationParams) WithTimeout

WithTimeout adds the timeout to the update correlation params

func (*UpdateCorrelationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCorrelationReader

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

UpdateCorrelationReader is a Reader for the UpdateCorrelation structure.

func (*UpdateCorrelationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCorrelationUnauthorized

type UpdateCorrelationUnauthorized struct {
	Payload *models.ErrorResponseBody
}

UpdateCorrelationUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateCorrelationUnauthorized

func NewUpdateCorrelationUnauthorized() *UpdateCorrelationUnauthorized

NewUpdateCorrelationUnauthorized creates a UpdateCorrelationUnauthorized with default headers values

func (*UpdateCorrelationUnauthorized) Code

Code gets the status code for the update correlation unauthorized response

func (*UpdateCorrelationUnauthorized) Error

func (*UpdateCorrelationUnauthorized) GetPayload

func (*UpdateCorrelationUnauthorized) IsClientError

func (o *UpdateCorrelationUnauthorized) IsClientError() bool

IsClientError returns true when this update correlation unauthorized response has a 4xx status code

func (*UpdateCorrelationUnauthorized) IsCode

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

IsCode returns true when this update correlation unauthorized response a status code equal to that given

func (*UpdateCorrelationUnauthorized) IsRedirect

func (o *UpdateCorrelationUnauthorized) IsRedirect() bool

IsRedirect returns true when this update correlation unauthorized response has a 3xx status code

func (*UpdateCorrelationUnauthorized) IsServerError

func (o *UpdateCorrelationUnauthorized) IsServerError() bool

IsServerError returns true when this update correlation unauthorized response has a 5xx status code

func (*UpdateCorrelationUnauthorized) IsSuccess

func (o *UpdateCorrelationUnauthorized) IsSuccess() bool

IsSuccess returns true when this update correlation unauthorized response has a 2xx status code

func (*UpdateCorrelationUnauthorized) String

Jump to

Keyboard shortcuts

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