recorder

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

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 recorder API

func (*Client) DeleteRecorderID

func (a *Client) DeleteRecorderID(params *DeleteRecorderIDParams, opts ...ClientOption) (*DeleteRecorderIDOK, error)

DeleteRecorderID deletes a recorder

func (*Client) GetRecorder

func (a *Client) GetRecorder(params *GetRecorderParams, opts ...ClientOption) (*GetRecorderOK, error)

GetRecorder retrieves list of all recorders

func (*Client) GetRecorderID

func (a *Client) GetRecorderID(params *GetRecorderIDParams, opts ...ClientOption) (*GetRecorderIDOK, error)

GetRecorderID retrieves configuration of a recorder

func (*Client) GetRecorderMasks

func (a *Client) GetRecorderMasks(params *GetRecorderMasksParams, opts ...ClientOption) (*GetRecorderMasksOK, error)

GetRecorderMasks retrieves list of all recorder masks

func (*Client) PutRecorderID

func (a *Client) PutRecorderID(params *PutRecorderIDParams, opts ...ClientOption) (*PutRecorderIDOK, *PutRecorderIDCreated, error)

PutRecorderID creates or update recorder

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteRecorderID(params *DeleteRecorderIDParams, opts ...ClientOption) (*DeleteRecorderIDOK, error)

	GetRecorder(params *GetRecorderParams, opts ...ClientOption) (*GetRecorderOK, error)

	GetRecorderID(params *GetRecorderIDParams, opts ...ClientOption) (*GetRecorderIDOK, error)

	GetRecorderMasks(params *GetRecorderMasksParams, opts ...ClientOption) (*GetRecorderMasksOK, error)

	PutRecorderID(params *PutRecorderIDParams, opts ...ClientOption) (*PutRecorderIDOK, *PutRecorderIDCreated, 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 recorder API client.

type DeleteRecorderIDFailure

type DeleteRecorderIDFailure struct {
	Payload models.Error
}

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

Recorder deletion failed

func NewDeleteRecorderIDFailure

func NewDeleteRecorderIDFailure() *DeleteRecorderIDFailure

NewDeleteRecorderIDFailure creates a DeleteRecorderIDFailure with default headers values

func (*DeleteRecorderIDFailure) Error

func (o *DeleteRecorderIDFailure) Error() string

func (*DeleteRecorderIDFailure) GetPayload

func (o *DeleteRecorderIDFailure) GetPayload() models.Error

func (*DeleteRecorderIDFailure) IsClientError

func (o *DeleteRecorderIDFailure) IsClientError() bool

IsClientError returns true when this delete recorder Id failure response has a 4xx status code

func (*DeleteRecorderIDFailure) IsCode

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

IsCode returns true when this delete recorder Id failure response a status code equal to that given

func (*DeleteRecorderIDFailure) IsRedirect

func (o *DeleteRecorderIDFailure) IsRedirect() bool

IsRedirect returns true when this delete recorder Id failure response has a 3xx status code

func (*DeleteRecorderIDFailure) IsServerError

func (o *DeleteRecorderIDFailure) IsServerError() bool

IsServerError returns true when this delete recorder Id failure response has a 5xx status code

func (*DeleteRecorderIDFailure) IsSuccess

func (o *DeleteRecorderIDFailure) IsSuccess() bool

IsSuccess returns true when this delete recorder Id failure response has a 2xx status code

func (*DeleteRecorderIDFailure) String

func (o *DeleteRecorderIDFailure) String() string

type DeleteRecorderIDForbidden

type DeleteRecorderIDForbidden struct {
}

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

Forbidden

func NewDeleteRecorderIDForbidden

func NewDeleteRecorderIDForbidden() *DeleteRecorderIDForbidden

NewDeleteRecorderIDForbidden creates a DeleteRecorderIDForbidden with default headers values

func (*DeleteRecorderIDForbidden) Error

func (o *DeleteRecorderIDForbidden) Error() string

func (*DeleteRecorderIDForbidden) IsClientError

func (o *DeleteRecorderIDForbidden) IsClientError() bool

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

func (*DeleteRecorderIDForbidden) IsCode

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

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

func (*DeleteRecorderIDForbidden) IsRedirect

func (o *DeleteRecorderIDForbidden) IsRedirect() bool

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

func (*DeleteRecorderIDForbidden) IsServerError

func (o *DeleteRecorderIDForbidden) IsServerError() bool

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

func (*DeleteRecorderIDForbidden) IsSuccess

func (o *DeleteRecorderIDForbidden) IsSuccess() bool

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

func (*DeleteRecorderIDForbidden) String

func (o *DeleteRecorderIDForbidden) String() string

type DeleteRecorderIDNotFound

type DeleteRecorderIDNotFound struct {
}

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

Recorder not found

func NewDeleteRecorderIDNotFound

func NewDeleteRecorderIDNotFound() *DeleteRecorderIDNotFound

NewDeleteRecorderIDNotFound creates a DeleteRecorderIDNotFound with default headers values

func (*DeleteRecorderIDNotFound) Error

func (o *DeleteRecorderIDNotFound) Error() string

func (*DeleteRecorderIDNotFound) IsClientError

func (o *DeleteRecorderIDNotFound) IsClientError() bool

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

func (*DeleteRecorderIDNotFound) IsCode

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

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

func (*DeleteRecorderIDNotFound) IsRedirect

func (o *DeleteRecorderIDNotFound) IsRedirect() bool

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

func (*DeleteRecorderIDNotFound) IsServerError

func (o *DeleteRecorderIDNotFound) IsServerError() bool

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

func (*DeleteRecorderIDNotFound) IsSuccess

func (o *DeleteRecorderIDNotFound) IsSuccess() bool

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

func (*DeleteRecorderIDNotFound) String

func (o *DeleteRecorderIDNotFound) String() string

type DeleteRecorderIDOK

type DeleteRecorderIDOK struct {
}

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

Success

func NewDeleteRecorderIDOK

func NewDeleteRecorderIDOK() *DeleteRecorderIDOK

NewDeleteRecorderIDOK creates a DeleteRecorderIDOK with default headers values

func (*DeleteRecorderIDOK) Error

func (o *DeleteRecorderIDOK) Error() string

func (*DeleteRecorderIDOK) IsClientError

func (o *DeleteRecorderIDOK) IsClientError() bool

IsClientError returns true when this delete recorder Id o k response has a 4xx status code

func (*DeleteRecorderIDOK) IsCode

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

IsCode returns true when this delete recorder Id o k response a status code equal to that given

func (*DeleteRecorderIDOK) IsRedirect

func (o *DeleteRecorderIDOK) IsRedirect() bool

IsRedirect returns true when this delete recorder Id o k response has a 3xx status code

func (*DeleteRecorderIDOK) IsServerError

func (o *DeleteRecorderIDOK) IsServerError() bool

IsServerError returns true when this delete recorder Id o k response has a 5xx status code

func (*DeleteRecorderIDOK) IsSuccess

func (o *DeleteRecorderIDOK) IsSuccess() bool

IsSuccess returns true when this delete recorder Id o k response has a 2xx status code

func (*DeleteRecorderIDOK) String

func (o *DeleteRecorderIDOK) String() string

type DeleteRecorderIDParams

type DeleteRecorderIDParams struct {

	/* ID.

	   ID of recorder
	*/
	ID int64

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

DeleteRecorderIDParams contains all the parameters to send to the API endpoint

for the delete recorder ID operation.

Typically these are written to a http.Request.

func NewDeleteRecorderIDParams

func NewDeleteRecorderIDParams() *DeleteRecorderIDParams

NewDeleteRecorderIDParams creates a new DeleteRecorderIDParams 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 NewDeleteRecorderIDParamsWithContext

func NewDeleteRecorderIDParamsWithContext(ctx context.Context) *DeleteRecorderIDParams

NewDeleteRecorderIDParamsWithContext creates a new DeleteRecorderIDParams object with the ability to set a context for a request.

func NewDeleteRecorderIDParamsWithHTTPClient

func NewDeleteRecorderIDParamsWithHTTPClient(client *http.Client) *DeleteRecorderIDParams

NewDeleteRecorderIDParamsWithHTTPClient creates a new DeleteRecorderIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRecorderIDParamsWithTimeout

func NewDeleteRecorderIDParamsWithTimeout(timeout time.Duration) *DeleteRecorderIDParams

NewDeleteRecorderIDParamsWithTimeout creates a new DeleteRecorderIDParams object with the ability to set a timeout on a request.

func (*DeleteRecorderIDParams) SetContext

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

SetContext adds the context to the delete recorder ID params

func (*DeleteRecorderIDParams) SetDefaults

func (o *DeleteRecorderIDParams) SetDefaults()

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

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

func (*DeleteRecorderIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete recorder ID params

func (*DeleteRecorderIDParams) SetID

func (o *DeleteRecorderIDParams) SetID(id int64)

SetID adds the id to the delete recorder ID params

func (*DeleteRecorderIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete recorder ID params

func (*DeleteRecorderIDParams) WithContext

WithContext adds the context to the delete recorder ID params

func (*DeleteRecorderIDParams) WithDefaults

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

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

func (*DeleteRecorderIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete recorder ID params

func (*DeleteRecorderIDParams) WithID

WithID adds the id to the delete recorder ID params

func (*DeleteRecorderIDParams) WithTimeout

WithTimeout adds the timeout to the delete recorder ID params

func (*DeleteRecorderIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRecorderIDReader

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

DeleteRecorderIDReader is a Reader for the DeleteRecorderID structure.

func (*DeleteRecorderIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecorderIDNotFound

type GetRecorderIDNotFound struct {
}

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

Recorder not found

func NewGetRecorderIDNotFound

func NewGetRecorderIDNotFound() *GetRecorderIDNotFound

NewGetRecorderIDNotFound creates a GetRecorderIDNotFound with default headers values

func (*GetRecorderIDNotFound) Error

func (o *GetRecorderIDNotFound) Error() string

func (*GetRecorderIDNotFound) IsClientError

func (o *GetRecorderIDNotFound) IsClientError() bool

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

func (*GetRecorderIDNotFound) IsCode

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

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

func (*GetRecorderIDNotFound) IsRedirect

func (o *GetRecorderIDNotFound) IsRedirect() bool

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

func (*GetRecorderIDNotFound) IsServerError

func (o *GetRecorderIDNotFound) IsServerError() bool

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

func (*GetRecorderIDNotFound) IsSuccess

func (o *GetRecorderIDNotFound) IsSuccess() bool

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

func (*GetRecorderIDNotFound) String

func (o *GetRecorderIDNotFound) String() string

type GetRecorderIDOK

type GetRecorderIDOK struct {
	Payload *models.Recorder
}

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

Success

func NewGetRecorderIDOK

func NewGetRecorderIDOK() *GetRecorderIDOK

NewGetRecorderIDOK creates a GetRecorderIDOK with default headers values

func (*GetRecorderIDOK) Error

func (o *GetRecorderIDOK) Error() string

func (*GetRecorderIDOK) GetPayload

func (o *GetRecorderIDOK) GetPayload() *models.Recorder

func (*GetRecorderIDOK) IsClientError

func (o *GetRecorderIDOK) IsClientError() bool

IsClientError returns true when this get recorder Id o k response has a 4xx status code

func (*GetRecorderIDOK) IsCode

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

IsCode returns true when this get recorder Id o k response a status code equal to that given

func (*GetRecorderIDOK) IsRedirect

func (o *GetRecorderIDOK) IsRedirect() bool

IsRedirect returns true when this get recorder Id o k response has a 3xx status code

func (*GetRecorderIDOK) IsServerError

func (o *GetRecorderIDOK) IsServerError() bool

IsServerError returns true when this get recorder Id o k response has a 5xx status code

func (*GetRecorderIDOK) IsSuccess

func (o *GetRecorderIDOK) IsSuccess() bool

IsSuccess returns true when this get recorder Id o k response has a 2xx status code

func (*GetRecorderIDOK) String

func (o *GetRecorderIDOK) String() string

type GetRecorderIDParams

type GetRecorderIDParams struct {

	/* ID.

	   ID of recorder
	*/
	ID int64

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

GetRecorderIDParams contains all the parameters to send to the API endpoint

for the get recorder ID operation.

Typically these are written to a http.Request.

func NewGetRecorderIDParams

func NewGetRecorderIDParams() *GetRecorderIDParams

NewGetRecorderIDParams creates a new GetRecorderIDParams 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 NewGetRecorderIDParamsWithContext

func NewGetRecorderIDParamsWithContext(ctx context.Context) *GetRecorderIDParams

NewGetRecorderIDParamsWithContext creates a new GetRecorderIDParams object with the ability to set a context for a request.

func NewGetRecorderIDParamsWithHTTPClient

func NewGetRecorderIDParamsWithHTTPClient(client *http.Client) *GetRecorderIDParams

NewGetRecorderIDParamsWithHTTPClient creates a new GetRecorderIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetRecorderIDParamsWithTimeout

func NewGetRecorderIDParamsWithTimeout(timeout time.Duration) *GetRecorderIDParams

NewGetRecorderIDParamsWithTimeout creates a new GetRecorderIDParams object with the ability to set a timeout on a request.

func (*GetRecorderIDParams) SetContext

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

SetContext adds the context to the get recorder ID params

func (*GetRecorderIDParams) SetDefaults

func (o *GetRecorderIDParams) SetDefaults()

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

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

func (*GetRecorderIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recorder ID params

func (*GetRecorderIDParams) SetID

func (o *GetRecorderIDParams) SetID(id int64)

SetID adds the id to the get recorder ID params

func (*GetRecorderIDParams) SetTimeout

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

SetTimeout adds the timeout to the get recorder ID params

func (*GetRecorderIDParams) WithContext

WithContext adds the context to the get recorder ID params

func (*GetRecorderIDParams) WithDefaults

func (o *GetRecorderIDParams) WithDefaults() *GetRecorderIDParams

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

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

func (*GetRecorderIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get recorder ID params

func (*GetRecorderIDParams) WithID

WithID adds the id to the get recorder ID params

func (*GetRecorderIDParams) WithTimeout

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

WithTimeout adds the timeout to the get recorder ID params

func (*GetRecorderIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRecorderIDReader

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

GetRecorderIDReader is a Reader for the GetRecorderID structure.

func (*GetRecorderIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecorderMasksOK

type GetRecorderMasksOK struct {
	Payload []*models.RecorderMask
}

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

Success

func NewGetRecorderMasksOK

func NewGetRecorderMasksOK() *GetRecorderMasksOK

NewGetRecorderMasksOK creates a GetRecorderMasksOK with default headers values

func (*GetRecorderMasksOK) Error

func (o *GetRecorderMasksOK) Error() string

func (*GetRecorderMasksOK) GetPayload

func (o *GetRecorderMasksOK) GetPayload() []*models.RecorderMask

func (*GetRecorderMasksOK) IsClientError

func (o *GetRecorderMasksOK) IsClientError() bool

IsClientError returns true when this get recorder masks o k response has a 4xx status code

func (*GetRecorderMasksOK) IsCode

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

IsCode returns true when this get recorder masks o k response a status code equal to that given

func (*GetRecorderMasksOK) IsRedirect

func (o *GetRecorderMasksOK) IsRedirect() bool

IsRedirect returns true when this get recorder masks o k response has a 3xx status code

func (*GetRecorderMasksOK) IsServerError

func (o *GetRecorderMasksOK) IsServerError() bool

IsServerError returns true when this get recorder masks o k response has a 5xx status code

func (*GetRecorderMasksOK) IsSuccess

func (o *GetRecorderMasksOK) IsSuccess() bool

IsSuccess returns true when this get recorder masks o k response has a 2xx status code

func (*GetRecorderMasksOK) String

func (o *GetRecorderMasksOK) String() string

type GetRecorderMasksParams

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

GetRecorderMasksParams contains all the parameters to send to the API endpoint

for the get recorder masks operation.

Typically these are written to a http.Request.

func NewGetRecorderMasksParams

func NewGetRecorderMasksParams() *GetRecorderMasksParams

NewGetRecorderMasksParams creates a new GetRecorderMasksParams 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 NewGetRecorderMasksParamsWithContext

func NewGetRecorderMasksParamsWithContext(ctx context.Context) *GetRecorderMasksParams

NewGetRecorderMasksParamsWithContext creates a new GetRecorderMasksParams object with the ability to set a context for a request.

func NewGetRecorderMasksParamsWithHTTPClient

func NewGetRecorderMasksParamsWithHTTPClient(client *http.Client) *GetRecorderMasksParams

NewGetRecorderMasksParamsWithHTTPClient creates a new GetRecorderMasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetRecorderMasksParamsWithTimeout

func NewGetRecorderMasksParamsWithTimeout(timeout time.Duration) *GetRecorderMasksParams

NewGetRecorderMasksParamsWithTimeout creates a new GetRecorderMasksParams object with the ability to set a timeout on a request.

func (*GetRecorderMasksParams) SetContext

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

SetContext adds the context to the get recorder masks params

func (*GetRecorderMasksParams) SetDefaults

func (o *GetRecorderMasksParams) SetDefaults()

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

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

func (*GetRecorderMasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recorder masks params

func (*GetRecorderMasksParams) SetTimeout

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

SetTimeout adds the timeout to the get recorder masks params

func (*GetRecorderMasksParams) WithContext

WithContext adds the context to the get recorder masks params

func (*GetRecorderMasksParams) WithDefaults

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

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

func (*GetRecorderMasksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get recorder masks params

func (*GetRecorderMasksParams) WithTimeout

WithTimeout adds the timeout to the get recorder masks params

func (*GetRecorderMasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRecorderMasksReader

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

GetRecorderMasksReader is a Reader for the GetRecorderMasks structure.

func (*GetRecorderMasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecorderOK

type GetRecorderOK struct {
	Payload []*models.Recorder
}

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

Success

func NewGetRecorderOK

func NewGetRecorderOK() *GetRecorderOK

NewGetRecorderOK creates a GetRecorderOK with default headers values

func (*GetRecorderOK) Error

func (o *GetRecorderOK) Error() string

func (*GetRecorderOK) GetPayload

func (o *GetRecorderOK) GetPayload() []*models.Recorder

func (*GetRecorderOK) IsClientError

func (o *GetRecorderOK) IsClientError() bool

IsClientError returns true when this get recorder o k response has a 4xx status code

func (*GetRecorderOK) IsCode

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

IsCode returns true when this get recorder o k response a status code equal to that given

func (*GetRecorderOK) IsRedirect

func (o *GetRecorderOK) IsRedirect() bool

IsRedirect returns true when this get recorder o k response has a 3xx status code

func (*GetRecorderOK) IsServerError

func (o *GetRecorderOK) IsServerError() bool

IsServerError returns true when this get recorder o k response has a 5xx status code

func (*GetRecorderOK) IsSuccess

func (o *GetRecorderOK) IsSuccess() bool

IsSuccess returns true when this get recorder o k response has a 2xx status code

func (*GetRecorderOK) String

func (o *GetRecorderOK) String() string

type GetRecorderParams

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

GetRecorderParams contains all the parameters to send to the API endpoint

for the get recorder operation.

Typically these are written to a http.Request.

func NewGetRecorderParams

func NewGetRecorderParams() *GetRecorderParams

NewGetRecorderParams creates a new GetRecorderParams 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 NewGetRecorderParamsWithContext

func NewGetRecorderParamsWithContext(ctx context.Context) *GetRecorderParams

NewGetRecorderParamsWithContext creates a new GetRecorderParams object with the ability to set a context for a request.

func NewGetRecorderParamsWithHTTPClient

func NewGetRecorderParamsWithHTTPClient(client *http.Client) *GetRecorderParams

NewGetRecorderParamsWithHTTPClient creates a new GetRecorderParams object with the ability to set a custom HTTPClient for a request.

func NewGetRecorderParamsWithTimeout

func NewGetRecorderParamsWithTimeout(timeout time.Duration) *GetRecorderParams

NewGetRecorderParamsWithTimeout creates a new GetRecorderParams object with the ability to set a timeout on a request.

func (*GetRecorderParams) SetContext

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

SetContext adds the context to the get recorder params

func (*GetRecorderParams) SetDefaults

func (o *GetRecorderParams) SetDefaults()

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

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

func (*GetRecorderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recorder params

func (*GetRecorderParams) SetTimeout

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

SetTimeout adds the timeout to the get recorder params

func (*GetRecorderParams) WithContext

func (o *GetRecorderParams) WithContext(ctx context.Context) *GetRecorderParams

WithContext adds the context to the get recorder params

func (*GetRecorderParams) WithDefaults

func (o *GetRecorderParams) WithDefaults() *GetRecorderParams

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

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

func (*GetRecorderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get recorder params

func (*GetRecorderParams) WithTimeout

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

WithTimeout adds the timeout to the get recorder params

func (*GetRecorderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRecorderReader

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

GetRecorderReader is a Reader for the GetRecorder structure.

func (*GetRecorderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutRecorderIDCreated

type PutRecorderIDCreated struct {
}

PutRecorderIDCreated describes a response with status code 201, with default header values.

Created

func NewPutRecorderIDCreated

func NewPutRecorderIDCreated() *PutRecorderIDCreated

NewPutRecorderIDCreated creates a PutRecorderIDCreated with default headers values

func (*PutRecorderIDCreated) Error

func (o *PutRecorderIDCreated) Error() string

func (*PutRecorderIDCreated) IsClientError

func (o *PutRecorderIDCreated) IsClientError() bool

IsClientError returns true when this put recorder Id created response has a 4xx status code

func (*PutRecorderIDCreated) IsCode

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

IsCode returns true when this put recorder Id created response a status code equal to that given

func (*PutRecorderIDCreated) IsRedirect

func (o *PutRecorderIDCreated) IsRedirect() bool

IsRedirect returns true when this put recorder Id created response has a 3xx status code

func (*PutRecorderIDCreated) IsServerError

func (o *PutRecorderIDCreated) IsServerError() bool

IsServerError returns true when this put recorder Id created response has a 5xx status code

func (*PutRecorderIDCreated) IsSuccess

func (o *PutRecorderIDCreated) IsSuccess() bool

IsSuccess returns true when this put recorder Id created response has a 2xx status code

func (*PutRecorderIDCreated) String

func (o *PutRecorderIDCreated) String() string

type PutRecorderIDFailure

type PutRecorderIDFailure struct {
	Payload models.Error
}

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

Error while creating recorder

func NewPutRecorderIDFailure

func NewPutRecorderIDFailure() *PutRecorderIDFailure

NewPutRecorderIDFailure creates a PutRecorderIDFailure with default headers values

func (*PutRecorderIDFailure) Error

func (o *PutRecorderIDFailure) Error() string

func (*PutRecorderIDFailure) GetPayload

func (o *PutRecorderIDFailure) GetPayload() models.Error

func (*PutRecorderIDFailure) IsClientError

func (o *PutRecorderIDFailure) IsClientError() bool

IsClientError returns true when this put recorder Id failure response has a 4xx status code

func (*PutRecorderIDFailure) IsCode

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

IsCode returns true when this put recorder Id failure response a status code equal to that given

func (*PutRecorderIDFailure) IsRedirect

func (o *PutRecorderIDFailure) IsRedirect() bool

IsRedirect returns true when this put recorder Id failure response has a 3xx status code

func (*PutRecorderIDFailure) IsServerError

func (o *PutRecorderIDFailure) IsServerError() bool

IsServerError returns true when this put recorder Id failure response has a 5xx status code

func (*PutRecorderIDFailure) IsSuccess

func (o *PutRecorderIDFailure) IsSuccess() bool

IsSuccess returns true when this put recorder Id failure response has a 2xx status code

func (*PutRecorderIDFailure) String

func (o *PutRecorderIDFailure) String() string

type PutRecorderIDForbidden

type PutRecorderIDForbidden struct {
}

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

Forbidden

func NewPutRecorderIDForbidden

func NewPutRecorderIDForbidden() *PutRecorderIDForbidden

NewPutRecorderIDForbidden creates a PutRecorderIDForbidden with default headers values

func (*PutRecorderIDForbidden) Error

func (o *PutRecorderIDForbidden) Error() string

func (*PutRecorderIDForbidden) IsClientError

func (o *PutRecorderIDForbidden) IsClientError() bool

IsClientError returns true when this put recorder Id forbidden response has a 4xx status code

func (*PutRecorderIDForbidden) IsCode

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

IsCode returns true when this put recorder Id forbidden response a status code equal to that given

func (*PutRecorderIDForbidden) IsRedirect

func (o *PutRecorderIDForbidden) IsRedirect() bool

IsRedirect returns true when this put recorder Id forbidden response has a 3xx status code

func (*PutRecorderIDForbidden) IsServerError

func (o *PutRecorderIDForbidden) IsServerError() bool

IsServerError returns true when this put recorder Id forbidden response has a 5xx status code

func (*PutRecorderIDForbidden) IsSuccess

func (o *PutRecorderIDForbidden) IsSuccess() bool

IsSuccess returns true when this put recorder Id forbidden response has a 2xx status code

func (*PutRecorderIDForbidden) String

func (o *PutRecorderIDForbidden) String() string

type PutRecorderIDOK

type PutRecorderIDOK struct {
}

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

Updated

func NewPutRecorderIDOK

func NewPutRecorderIDOK() *PutRecorderIDOK

NewPutRecorderIDOK creates a PutRecorderIDOK with default headers values

func (*PutRecorderIDOK) Error

func (o *PutRecorderIDOK) Error() string

func (*PutRecorderIDOK) IsClientError

func (o *PutRecorderIDOK) IsClientError() bool

IsClientError returns true when this put recorder Id o k response has a 4xx status code

func (*PutRecorderIDOK) IsCode

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

IsCode returns true when this put recorder Id o k response a status code equal to that given

func (*PutRecorderIDOK) IsRedirect

func (o *PutRecorderIDOK) IsRedirect() bool

IsRedirect returns true when this put recorder Id o k response has a 3xx status code

func (*PutRecorderIDOK) IsServerError

func (o *PutRecorderIDOK) IsServerError() bool

IsServerError returns true when this put recorder Id o k response has a 5xx status code

func (*PutRecorderIDOK) IsSuccess

func (o *PutRecorderIDOK) IsSuccess() bool

IsSuccess returns true when this put recorder Id o k response has a 2xx status code

func (*PutRecorderIDOK) String

func (o *PutRecorderIDOK) String() string

type PutRecorderIDParams

type PutRecorderIDParams struct {

	/* Config.

	   Recorder configuration
	*/
	Config *models.RecorderSpec

	/* ID.

	   ID of recorder
	*/
	ID int64

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

PutRecorderIDParams contains all the parameters to send to the API endpoint

for the put recorder ID operation.

Typically these are written to a http.Request.

func NewPutRecorderIDParams

func NewPutRecorderIDParams() *PutRecorderIDParams

NewPutRecorderIDParams creates a new PutRecorderIDParams 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 NewPutRecorderIDParamsWithContext

func NewPutRecorderIDParamsWithContext(ctx context.Context) *PutRecorderIDParams

NewPutRecorderIDParamsWithContext creates a new PutRecorderIDParams object with the ability to set a context for a request.

func NewPutRecorderIDParamsWithHTTPClient

func NewPutRecorderIDParamsWithHTTPClient(client *http.Client) *PutRecorderIDParams

NewPutRecorderIDParamsWithHTTPClient creates a new PutRecorderIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutRecorderIDParamsWithTimeout

func NewPutRecorderIDParamsWithTimeout(timeout time.Duration) *PutRecorderIDParams

NewPutRecorderIDParamsWithTimeout creates a new PutRecorderIDParams object with the ability to set a timeout on a request.

func (*PutRecorderIDParams) SetConfig

func (o *PutRecorderIDParams) SetConfig(config *models.RecorderSpec)

SetConfig adds the config to the put recorder ID params

func (*PutRecorderIDParams) SetContext

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

SetContext adds the context to the put recorder ID params

func (*PutRecorderIDParams) SetDefaults

func (o *PutRecorderIDParams) SetDefaults()

SetDefaults hydrates default values in the put recorder ID params (not the query body).

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

func (*PutRecorderIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put recorder ID params

func (*PutRecorderIDParams) SetID

func (o *PutRecorderIDParams) SetID(id int64)

SetID adds the id to the put recorder ID params

func (*PutRecorderIDParams) SetTimeout

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

SetTimeout adds the timeout to the put recorder ID params

func (*PutRecorderIDParams) WithConfig

WithConfig adds the config to the put recorder ID params

func (*PutRecorderIDParams) WithContext

WithContext adds the context to the put recorder ID params

func (*PutRecorderIDParams) WithDefaults

func (o *PutRecorderIDParams) WithDefaults() *PutRecorderIDParams

WithDefaults hydrates default values in the put recorder ID params (not the query body).

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

func (*PutRecorderIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put recorder ID params

func (*PutRecorderIDParams) WithID

WithID adds the id to the put recorder ID params

func (*PutRecorderIDParams) WithTimeout

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

WithTimeout adds the timeout to the put recorder ID params

func (*PutRecorderIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutRecorderIDReader

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

PutRecorderIDReader is a Reader for the PutRecorderID structure.

func (*PutRecorderIDReader) ReadResponse

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