log_collection

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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) 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 {
	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 GetLogCollectionsBadRequest

type GetLogCollectionsBadRequest struct {
	Payload string
}
GetLogCollectionsBadRequest describes a response with status code 400, with default header values.

GetLogCollectionsBadRequest get log collections 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() string

type GetLogCollectionsConnectionBadRequest

type GetLogCollectionsConnectionBadRequest struct {
	Payload string
}
GetLogCollectionsConnectionBadRequest describes a response with status code 400, with default header values.

GetLogCollectionsConnectionBadRequest get log collections connection bad request

func NewGetLogCollectionsConnectionBadRequest

func NewGetLogCollectionsConnectionBadRequest() *GetLogCollectionsConnectionBadRequest

NewGetLogCollectionsConnectionBadRequest creates a GetLogCollectionsConnectionBadRequest with default headers values

func (*GetLogCollectionsConnectionBadRequest) Error

func (*GetLogCollectionsConnectionBadRequest) GetPayload

type GetLogCollectionsConnectionOK

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

Ok

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 GetLogCollectionsOK

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

Ok

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