log_collection

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 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 log collection API

func (*Client) CreateLogCollection

func (a *Client) CreateLogCollection(params *CreateLogCollectionParams, opts ...ClientOption) (*CreateLogCollectionOK, error)

CreateLogCollection create log collection API

func (*Client) DeleteLogCollection

func (a *Client) DeleteLogCollection(params *DeleteLogCollectionParams, opts ...ClientOption) (*DeleteLogCollectionOK, error)

DeleteLogCollection delete log collection API

func (*Client) ForceStopLogCollection

func (a *Client) ForceStopLogCollection(params *ForceStopLogCollectionParams, opts ...ClientOption) (*ForceStopLogCollectionOK, error)

ForceStopLogCollection force stop log collection API

func (*Client) GetLogCollections

func (a *Client) GetLogCollections(params *GetLogCollectionsParams, opts ...ClientOption) (*GetLogCollectionsOK, error)

GetLogCollections get log collections API

func (*Client) GetLogCollectionsConnection

func (a *Client) GetLogCollectionsConnection(params *GetLogCollectionsConnectionParams, opts ...ClientOption) (*GetLogCollectionsConnectionOK, error)

GetLogCollectionsConnection get log collections connection API

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 {
	CreateLogCollection(params *CreateLogCollectionParams, opts ...ClientOption) (*CreateLogCollectionOK, error)

	DeleteLogCollection(params *DeleteLogCollectionParams, opts ...ClientOption) (*DeleteLogCollectionOK, error)

	ForceStopLogCollection(params *ForceStopLogCollectionParams, opts ...ClientOption) (*ForceStopLogCollectionOK, error)

	GetLogCollections(params *GetLogCollectionsParams, opts ...ClientOption) (*GetLogCollectionsOK, error)

	GetLogCollectionsConnection(params *GetLogCollectionsConnectionParams, opts ...ClientOption) (*GetLogCollectionsConnectionOK, 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 log collection API client.

type CreateLogCollectionBadRequest

type CreateLogCollectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateLogCollectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateLogCollectionBadRequest

func NewCreateLogCollectionBadRequest() *CreateLogCollectionBadRequest

NewCreateLogCollectionBadRequest creates a CreateLogCollectionBadRequest with default headers values

func (*CreateLogCollectionBadRequest) Error

func (*CreateLogCollectionBadRequest) GetPayload

type CreateLogCollectionInternalServerError

type CreateLogCollectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateLogCollectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateLogCollectionInternalServerError

func NewCreateLogCollectionInternalServerError() *CreateLogCollectionInternalServerError

NewCreateLogCollectionInternalServerError creates a CreateLogCollectionInternalServerError with default headers values

func (*CreateLogCollectionInternalServerError) Error

func (*CreateLogCollectionInternalServerError) GetPayload

type CreateLogCollectionNotFound

type CreateLogCollectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateLogCollectionNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateLogCollectionNotFound

func NewCreateLogCollectionNotFound() *CreateLogCollectionNotFound

NewCreateLogCollectionNotFound creates a CreateLogCollectionNotFound with default headers values

func (*CreateLogCollectionNotFound) Error

func (*CreateLogCollectionNotFound) GetPayload

func (o *CreateLogCollectionNotFound) GetPayload() *models.ErrorBody

type CreateLogCollectionOK

type CreateLogCollectionOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskLogCollection
}
CreateLogCollectionOK describes a response with status code 200, with default header values.

CreateLogCollectionOK create log collection o k

func NewCreateLogCollectionOK

func NewCreateLogCollectionOK() *CreateLogCollectionOK

NewCreateLogCollectionOK creates a CreateLogCollectionOK with default headers values

func (*CreateLogCollectionOK) Error

func (o *CreateLogCollectionOK) Error() string

func (*CreateLogCollectionOK) GetPayload

type CreateLogCollectionParams

type CreateLogCollectionParams struct {

	// RequestBody.
	RequestBody []*models.LogCollectionCreationParams

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

CreateLogCollectionParams contains all the parameters to send to the API endpoint

for the create log collection operation.

Typically these are written to a http.Request.

func NewCreateLogCollectionParams

func NewCreateLogCollectionParams() *CreateLogCollectionParams

NewCreateLogCollectionParams creates a new CreateLogCollectionParams 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 NewCreateLogCollectionParamsWithContext

func NewCreateLogCollectionParamsWithContext(ctx context.Context) *CreateLogCollectionParams

NewCreateLogCollectionParamsWithContext creates a new CreateLogCollectionParams object with the ability to set a context for a request.

func NewCreateLogCollectionParamsWithHTTPClient

func NewCreateLogCollectionParamsWithHTTPClient(client *http.Client) *CreateLogCollectionParams

NewCreateLogCollectionParamsWithHTTPClient creates a new CreateLogCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLogCollectionParamsWithTimeout

func NewCreateLogCollectionParamsWithTimeout(timeout time.Duration) *CreateLogCollectionParams

NewCreateLogCollectionParamsWithTimeout creates a new CreateLogCollectionParams object with the ability to set a timeout on a request.

func (*CreateLogCollectionParams) SetContext

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

SetContext adds the context to the create log collection params

func (*CreateLogCollectionParams) SetDefaults

func (o *CreateLogCollectionParams) SetDefaults()

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

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

func (*CreateLogCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create log collection params

func (*CreateLogCollectionParams) SetRequestBody

func (o *CreateLogCollectionParams) SetRequestBody(requestBody []*models.LogCollectionCreationParams)

SetRequestBody adds the requestBody to the create log collection params

func (*CreateLogCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the create log collection params

func (*CreateLogCollectionParams) WithContext

WithContext adds the context to the create log collection params

func (*CreateLogCollectionParams) WithDefaults

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

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

func (*CreateLogCollectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create log collection params

func (*CreateLogCollectionParams) WithRequestBody

WithRequestBody adds the requestBody to the create log collection params

func (*CreateLogCollectionParams) WithTimeout

WithTimeout adds the timeout to the create log collection params

func (*CreateLogCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLogCollectionReader

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

CreateLogCollectionReader is a Reader for the CreateLogCollection structure.

func (*CreateLogCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLogCollectionBadRequest

type DeleteLogCollectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteLogCollectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteLogCollectionBadRequest

func NewDeleteLogCollectionBadRequest() *DeleteLogCollectionBadRequest

NewDeleteLogCollectionBadRequest creates a DeleteLogCollectionBadRequest with default headers values

func (*DeleteLogCollectionBadRequest) Error

func (*DeleteLogCollectionBadRequest) GetPayload

type DeleteLogCollectionInternalServerError

type DeleteLogCollectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteLogCollectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteLogCollectionInternalServerError

func NewDeleteLogCollectionInternalServerError() *DeleteLogCollectionInternalServerError

NewDeleteLogCollectionInternalServerError creates a DeleteLogCollectionInternalServerError with default headers values

func (*DeleteLogCollectionInternalServerError) Error

func (*DeleteLogCollectionInternalServerError) GetPayload

type DeleteLogCollectionNotFound

type DeleteLogCollectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteLogCollectionNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteLogCollectionNotFound

func NewDeleteLogCollectionNotFound() *DeleteLogCollectionNotFound

NewDeleteLogCollectionNotFound creates a DeleteLogCollectionNotFound with default headers values

func (*DeleteLogCollectionNotFound) Error

func (*DeleteLogCollectionNotFound) GetPayload

func (o *DeleteLogCollectionNotFound) GetPayload() *models.ErrorBody

type DeleteLogCollectionOK

type DeleteLogCollectionOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteLogCollection
}
DeleteLogCollectionOK describes a response with status code 200, with default header values.

DeleteLogCollectionOK delete log collection o k

func NewDeleteLogCollectionOK

func NewDeleteLogCollectionOK() *DeleteLogCollectionOK

NewDeleteLogCollectionOK creates a DeleteLogCollectionOK with default headers values

func (*DeleteLogCollectionOK) Error

func (o *DeleteLogCollectionOK) Error() string

func (*DeleteLogCollectionOK) GetPayload

type DeleteLogCollectionParams

type DeleteLogCollectionParams struct {

	// RequestBody.
	RequestBody *models.LogCollectionDeletionParams

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

DeleteLogCollectionParams contains all the parameters to send to the API endpoint

for the delete log collection operation.

Typically these are written to a http.Request.

func NewDeleteLogCollectionParams

func NewDeleteLogCollectionParams() *DeleteLogCollectionParams

NewDeleteLogCollectionParams creates a new DeleteLogCollectionParams 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 NewDeleteLogCollectionParamsWithContext

func NewDeleteLogCollectionParamsWithContext(ctx context.Context) *DeleteLogCollectionParams

NewDeleteLogCollectionParamsWithContext creates a new DeleteLogCollectionParams object with the ability to set a context for a request.

func NewDeleteLogCollectionParamsWithHTTPClient

func NewDeleteLogCollectionParamsWithHTTPClient(client *http.Client) *DeleteLogCollectionParams

NewDeleteLogCollectionParamsWithHTTPClient creates a new DeleteLogCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLogCollectionParamsWithTimeout

func NewDeleteLogCollectionParamsWithTimeout(timeout time.Duration) *DeleteLogCollectionParams

NewDeleteLogCollectionParamsWithTimeout creates a new DeleteLogCollectionParams object with the ability to set a timeout on a request.

func (*DeleteLogCollectionParams) SetContext

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

SetContext adds the context to the delete log collection params

func (*DeleteLogCollectionParams) SetDefaults

func (o *DeleteLogCollectionParams) SetDefaults()

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

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

func (*DeleteLogCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete log collection params

func (*DeleteLogCollectionParams) SetRequestBody

func (o *DeleteLogCollectionParams) SetRequestBody(requestBody *models.LogCollectionDeletionParams)

SetRequestBody adds the requestBody to the delete log collection params

func (*DeleteLogCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete log collection params

func (*DeleteLogCollectionParams) WithContext

WithContext adds the context to the delete log collection params

func (*DeleteLogCollectionParams) WithDefaults

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

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

func (*DeleteLogCollectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete log collection params

func (*DeleteLogCollectionParams) WithRequestBody

WithRequestBody adds the requestBody to the delete log collection params

func (*DeleteLogCollectionParams) WithTimeout

WithTimeout adds the timeout to the delete log collection params

func (*DeleteLogCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLogCollectionReader

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

DeleteLogCollectionReader is a Reader for the DeleteLogCollection structure.

func (*DeleteLogCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForceStopLogCollectionBadRequest

type ForceStopLogCollectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ForceStopLogCollectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewForceStopLogCollectionBadRequest

func NewForceStopLogCollectionBadRequest() *ForceStopLogCollectionBadRequest

NewForceStopLogCollectionBadRequest creates a ForceStopLogCollectionBadRequest with default headers values

func (*ForceStopLogCollectionBadRequest) Error

func (*ForceStopLogCollectionBadRequest) GetPayload

type ForceStopLogCollectionInternalServerError

type ForceStopLogCollectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ForceStopLogCollectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewForceStopLogCollectionInternalServerError

func NewForceStopLogCollectionInternalServerError() *ForceStopLogCollectionInternalServerError

NewForceStopLogCollectionInternalServerError creates a ForceStopLogCollectionInternalServerError with default headers values

func (*ForceStopLogCollectionInternalServerError) Error

func (*ForceStopLogCollectionInternalServerError) GetPayload

type ForceStopLogCollectionNotFound

type ForceStopLogCollectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ForceStopLogCollectionNotFound describes a response with status code 404, with default header values.

Not found

func NewForceStopLogCollectionNotFound

func NewForceStopLogCollectionNotFound() *ForceStopLogCollectionNotFound

NewForceStopLogCollectionNotFound creates a ForceStopLogCollectionNotFound with default headers values

func (*ForceStopLogCollectionNotFound) Error

func (*ForceStopLogCollectionNotFound) GetPayload

type ForceStopLogCollectionOK

type ForceStopLogCollectionOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskLogCollection
}
ForceStopLogCollectionOK describes a response with status code 200, with default header values.

ForceStopLogCollectionOK force stop log collection o k

func NewForceStopLogCollectionOK

func NewForceStopLogCollectionOK() *ForceStopLogCollectionOK

NewForceStopLogCollectionOK creates a ForceStopLogCollectionOK with default headers values

func (*ForceStopLogCollectionOK) Error

func (o *ForceStopLogCollectionOK) Error() string

func (*ForceStopLogCollectionOK) GetPayload

type ForceStopLogCollectionParams

type ForceStopLogCollectionParams struct {

	// RequestBody.
	RequestBody *models.ForceStopLogCollectionParams

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

ForceStopLogCollectionParams contains all the parameters to send to the API endpoint

for the force stop log collection operation.

Typically these are written to a http.Request.

func NewForceStopLogCollectionParams

func NewForceStopLogCollectionParams() *ForceStopLogCollectionParams

NewForceStopLogCollectionParams creates a new ForceStopLogCollectionParams 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 NewForceStopLogCollectionParamsWithContext

func NewForceStopLogCollectionParamsWithContext(ctx context.Context) *ForceStopLogCollectionParams

NewForceStopLogCollectionParamsWithContext creates a new ForceStopLogCollectionParams object with the ability to set a context for a request.

func NewForceStopLogCollectionParamsWithHTTPClient

func NewForceStopLogCollectionParamsWithHTTPClient(client *http.Client) *ForceStopLogCollectionParams

NewForceStopLogCollectionParamsWithHTTPClient creates a new ForceStopLogCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewForceStopLogCollectionParamsWithTimeout

func NewForceStopLogCollectionParamsWithTimeout(timeout time.Duration) *ForceStopLogCollectionParams

NewForceStopLogCollectionParamsWithTimeout creates a new ForceStopLogCollectionParams object with the ability to set a timeout on a request.

func (*ForceStopLogCollectionParams) SetContext

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

SetContext adds the context to the force stop log collection params

func (*ForceStopLogCollectionParams) SetDefaults

func (o *ForceStopLogCollectionParams) SetDefaults()

SetDefaults hydrates default values in the force stop log collection params (not the query body).

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

func (*ForceStopLogCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the force stop log collection params

func (*ForceStopLogCollectionParams) SetRequestBody

func (o *ForceStopLogCollectionParams) SetRequestBody(requestBody *models.ForceStopLogCollectionParams)

SetRequestBody adds the requestBody to the force stop log collection params

func (*ForceStopLogCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the force stop log collection params

func (*ForceStopLogCollectionParams) WithContext

WithContext adds the context to the force stop log collection params

func (*ForceStopLogCollectionParams) WithDefaults

WithDefaults hydrates default values in the force stop log collection params (not the query body).

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

func (*ForceStopLogCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the force stop log collection params

func (*ForceStopLogCollectionParams) WithRequestBody

WithRequestBody adds the requestBody to the force stop log collection params

func (*ForceStopLogCollectionParams) WithTimeout

WithTimeout adds the timeout to the force stop log collection params

func (*ForceStopLogCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForceStopLogCollectionReader

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

ForceStopLogCollectionReader is a Reader for the ForceStopLogCollection structure.

func (*ForceStopLogCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogCollectionsBadRequest

type GetLogCollectionsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogCollectionsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetLogCollectionsBadRequest

func NewGetLogCollectionsBadRequest() *GetLogCollectionsBadRequest

NewGetLogCollectionsBadRequest creates a GetLogCollectionsBadRequest with default headers values

func (*GetLogCollectionsBadRequest) Error

func (*GetLogCollectionsBadRequest) GetPayload

func (o *GetLogCollectionsBadRequest) GetPayload() *models.ErrorBody

type GetLogCollectionsConnectionBadRequest

type GetLogCollectionsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogCollectionsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetLogCollectionsConnectionBadRequest

func NewGetLogCollectionsConnectionBadRequest() *GetLogCollectionsConnectionBadRequest

NewGetLogCollectionsConnectionBadRequest creates a GetLogCollectionsConnectionBadRequest with default headers values

func (*GetLogCollectionsConnectionBadRequest) Error

func (*GetLogCollectionsConnectionBadRequest) GetPayload

type GetLogCollectionsConnectionInternalServerError

type GetLogCollectionsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogCollectionsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetLogCollectionsConnectionInternalServerError

func NewGetLogCollectionsConnectionInternalServerError() *GetLogCollectionsConnectionInternalServerError

NewGetLogCollectionsConnectionInternalServerError creates a GetLogCollectionsConnectionInternalServerError with default headers values

func (*GetLogCollectionsConnectionInternalServerError) Error

func (*GetLogCollectionsConnectionInternalServerError) GetPayload

type GetLogCollectionsConnectionNotFound

type GetLogCollectionsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogCollectionsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetLogCollectionsConnectionNotFound

func NewGetLogCollectionsConnectionNotFound() *GetLogCollectionsConnectionNotFound

NewGetLogCollectionsConnectionNotFound creates a GetLogCollectionsConnectionNotFound with default headers values

func (*GetLogCollectionsConnectionNotFound) Error

func (*GetLogCollectionsConnectionNotFound) GetPayload

type GetLogCollectionsConnectionOK

type GetLogCollectionsConnectionOK struct {
	XTowerRequestID string

	Payload *models.LogCollectionConnection
}
GetLogCollectionsConnectionOK describes a response with status code 200, with default header values.

GetLogCollectionsConnectionOK get log collections connection o k

func NewGetLogCollectionsConnectionOK

func NewGetLogCollectionsConnectionOK() *GetLogCollectionsConnectionOK

NewGetLogCollectionsConnectionOK creates a GetLogCollectionsConnectionOK with default headers values

func (*GetLogCollectionsConnectionOK) Error

func (*GetLogCollectionsConnectionOK) GetPayload

type GetLogCollectionsConnectionParams

type GetLogCollectionsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetLogCollectionsConnectionRequestBody

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

GetLogCollectionsConnectionParams contains all the parameters to send to the API endpoint

for the get log collections connection operation.

Typically these are written to a http.Request.

func NewGetLogCollectionsConnectionParams

func NewGetLogCollectionsConnectionParams() *GetLogCollectionsConnectionParams

NewGetLogCollectionsConnectionParams creates a new GetLogCollectionsConnectionParams 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 NewGetLogCollectionsConnectionParamsWithContext

func NewGetLogCollectionsConnectionParamsWithContext(ctx context.Context) *GetLogCollectionsConnectionParams

NewGetLogCollectionsConnectionParamsWithContext creates a new GetLogCollectionsConnectionParams object with the ability to set a context for a request.

func NewGetLogCollectionsConnectionParamsWithHTTPClient

func NewGetLogCollectionsConnectionParamsWithHTTPClient(client *http.Client) *GetLogCollectionsConnectionParams

NewGetLogCollectionsConnectionParamsWithHTTPClient creates a new GetLogCollectionsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogCollectionsConnectionParamsWithTimeout

func NewGetLogCollectionsConnectionParamsWithTimeout(timeout time.Duration) *GetLogCollectionsConnectionParams

NewGetLogCollectionsConnectionParamsWithTimeout creates a new GetLogCollectionsConnectionParams object with the ability to set a timeout on a request.

func (*GetLogCollectionsConnectionParams) SetContentLanguage

func (o *GetLogCollectionsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get log collections connection params

func (*GetLogCollectionsConnectionParams) SetContext

SetContext adds the context to the get log collections connection params

func (*GetLogCollectionsConnectionParams) SetDefaults

func (o *GetLogCollectionsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get log collections connection params (not the query body).

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

func (*GetLogCollectionsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log collections connection params

func (*GetLogCollectionsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get log collections connection params

func (*GetLogCollectionsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get log collections connection params

func (*GetLogCollectionsConnectionParams) WithContentLanguage

func (o *GetLogCollectionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetLogCollectionsConnectionParams

WithContentLanguage adds the contentLanguage to the get log collections connection params

func (*GetLogCollectionsConnectionParams) WithContext

WithContext adds the context to the get log collections connection params

func (*GetLogCollectionsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get log collections connection params (not the query body).

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

func (*GetLogCollectionsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get log collections connection params

func (*GetLogCollectionsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get log collections connection params

func (*GetLogCollectionsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get log collections connection params

func (*GetLogCollectionsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLogCollectionsConnectionReader

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

GetLogCollectionsConnectionReader is a Reader for the GetLogCollectionsConnection structure.

func (*GetLogCollectionsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogCollectionsInternalServerError

type GetLogCollectionsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogCollectionsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetLogCollectionsInternalServerError

func NewGetLogCollectionsInternalServerError() *GetLogCollectionsInternalServerError

NewGetLogCollectionsInternalServerError creates a GetLogCollectionsInternalServerError with default headers values

func (*GetLogCollectionsInternalServerError) Error

func (*GetLogCollectionsInternalServerError) GetPayload

type GetLogCollectionsNotFound

type GetLogCollectionsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetLogCollectionsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetLogCollectionsNotFound

func NewGetLogCollectionsNotFound() *GetLogCollectionsNotFound

NewGetLogCollectionsNotFound creates a GetLogCollectionsNotFound with default headers values

func (*GetLogCollectionsNotFound) Error

func (o *GetLogCollectionsNotFound) Error() string

func (*GetLogCollectionsNotFound) GetPayload

func (o *GetLogCollectionsNotFound) GetPayload() *models.ErrorBody

type GetLogCollectionsOK

type GetLogCollectionsOK struct {
	XTowerRequestID string

	Payload []*models.LogCollection
}
GetLogCollectionsOK describes a response with status code 200, with default header values.

GetLogCollectionsOK get log collections o k

func NewGetLogCollectionsOK

func NewGetLogCollectionsOK() *GetLogCollectionsOK

NewGetLogCollectionsOK creates a GetLogCollectionsOK with default headers values

func (*GetLogCollectionsOK) Error

func (o *GetLogCollectionsOK) Error() string

func (*GetLogCollectionsOK) GetPayload

func (o *GetLogCollectionsOK) GetPayload() []*models.LogCollection

type GetLogCollectionsParams

type GetLogCollectionsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetLogCollectionsRequestBody

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

GetLogCollectionsParams contains all the parameters to send to the API endpoint

for the get log collections operation.

Typically these are written to a http.Request.

func NewGetLogCollectionsParams

func NewGetLogCollectionsParams() *GetLogCollectionsParams

NewGetLogCollectionsParams creates a new GetLogCollectionsParams 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 NewGetLogCollectionsParamsWithContext

func NewGetLogCollectionsParamsWithContext(ctx context.Context) *GetLogCollectionsParams

NewGetLogCollectionsParamsWithContext creates a new GetLogCollectionsParams object with the ability to set a context for a request.

func NewGetLogCollectionsParamsWithHTTPClient

func NewGetLogCollectionsParamsWithHTTPClient(client *http.Client) *GetLogCollectionsParams

NewGetLogCollectionsParamsWithHTTPClient creates a new GetLogCollectionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogCollectionsParamsWithTimeout

func NewGetLogCollectionsParamsWithTimeout(timeout time.Duration) *GetLogCollectionsParams

NewGetLogCollectionsParamsWithTimeout creates a new GetLogCollectionsParams object with the ability to set a timeout on a request.

func (*GetLogCollectionsParams) SetContentLanguage

func (o *GetLogCollectionsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get log collections params

func (*GetLogCollectionsParams) SetContext

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

SetContext adds the context to the get log collections params

func (*GetLogCollectionsParams) SetDefaults

func (o *GetLogCollectionsParams) SetDefaults()

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

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

func (*GetLogCollectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log collections params

func (*GetLogCollectionsParams) SetRequestBody

func (o *GetLogCollectionsParams) SetRequestBody(requestBody *models.GetLogCollectionsRequestBody)

SetRequestBody adds the requestBody to the get log collections params

func (*GetLogCollectionsParams) SetTimeout

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

SetTimeout adds the timeout to the get log collections params

func (*GetLogCollectionsParams) WithContentLanguage

func (o *GetLogCollectionsParams) WithContentLanguage(contentLanguage *string) *GetLogCollectionsParams

WithContentLanguage adds the contentLanguage to the get log collections params

func (*GetLogCollectionsParams) WithContext

WithContext adds the context to the get log collections params

func (*GetLogCollectionsParams) WithDefaults

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

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

func (*GetLogCollectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log collections params

func (*GetLogCollectionsParams) WithRequestBody

WithRequestBody adds the requestBody to the get log collections params

func (*GetLogCollectionsParams) WithTimeout

WithTimeout adds the timeout to the get log collections params

func (*GetLogCollectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLogCollectionsReader

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

GetLogCollectionsReader is a Reader for the GetLogCollections structure.

func (*GetLogCollectionsReader) ReadResponse

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