Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLogCollections(params *GetLogCollectionsParams, opts ...ClientOption) (*GetLogCollectionsOK, error)
- func (a *Client) GetLogCollectionsConnection(params *GetLogCollectionsConnectionParams, opts ...ClientOption) (*GetLogCollectionsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetLogCollectionsBadRequest
- type GetLogCollectionsConnectionBadRequest
- type GetLogCollectionsConnectionOK
- type GetLogCollectionsConnectionParams
- func NewGetLogCollectionsConnectionParams() *GetLogCollectionsConnectionParams
- func NewGetLogCollectionsConnectionParamsWithContext(ctx context.Context) *GetLogCollectionsConnectionParams
- func NewGetLogCollectionsConnectionParamsWithHTTPClient(client *http.Client) *GetLogCollectionsConnectionParams
- func NewGetLogCollectionsConnectionParamsWithTimeout(timeout time.Duration) *GetLogCollectionsConnectionParams
- func (o *GetLogCollectionsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetLogCollectionsConnectionParams) SetContext(ctx context.Context)
- func (o *GetLogCollectionsConnectionParams) SetDefaults()
- func (o *GetLogCollectionsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetLogCollectionsConnectionParams) SetRequestBody(requestBody *models.GetLogCollectionsConnectionRequestBody)
- func (o *GetLogCollectionsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetLogCollectionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetLogCollectionsConnectionParams
- func (o *GetLogCollectionsConnectionParams) WithContext(ctx context.Context) *GetLogCollectionsConnectionParams
- func (o *GetLogCollectionsConnectionParams) WithDefaults() *GetLogCollectionsConnectionParams
- func (o *GetLogCollectionsConnectionParams) WithHTTPClient(client *http.Client) *GetLogCollectionsConnectionParams
- func (o *GetLogCollectionsConnectionParams) WithRequestBody(requestBody *models.GetLogCollectionsConnectionRequestBody) *GetLogCollectionsConnectionParams
- func (o *GetLogCollectionsConnectionParams) WithTimeout(timeout time.Duration) *GetLogCollectionsConnectionParams
- func (o *GetLogCollectionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogCollectionsConnectionReader
- type GetLogCollectionsOK
- type GetLogCollectionsParams
- func NewGetLogCollectionsParams() *GetLogCollectionsParams
- func NewGetLogCollectionsParamsWithContext(ctx context.Context) *GetLogCollectionsParams
- func NewGetLogCollectionsParamsWithHTTPClient(client *http.Client) *GetLogCollectionsParams
- func NewGetLogCollectionsParamsWithTimeout(timeout time.Duration) *GetLogCollectionsParams
- func (o *GetLogCollectionsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetLogCollectionsParams) SetContext(ctx context.Context)
- func (o *GetLogCollectionsParams) SetDefaults()
- func (o *GetLogCollectionsParams) SetHTTPClient(client *http.Client)
- func (o *GetLogCollectionsParams) SetRequestBody(requestBody *models.GetLogCollectionsRequestBody)
- func (o *GetLogCollectionsParams) SetTimeout(timeout time.Duration)
- func (o *GetLogCollectionsParams) WithContentLanguage(contentLanguage *string) *GetLogCollectionsParams
- func (o *GetLogCollectionsParams) WithContext(ctx context.Context) *GetLogCollectionsParams
- func (o *GetLogCollectionsParams) WithDefaults() *GetLogCollectionsParams
- func (o *GetLogCollectionsParams) WithHTTPClient(client *http.Client) *GetLogCollectionsParams
- func (o *GetLogCollectionsParams) WithRequestBody(requestBody *models.GetLogCollectionsRequestBody) *GetLogCollectionsParams
- func (o *GetLogCollectionsParams) WithTimeout(timeout time.Duration) *GetLogCollectionsParams
- func (o *GetLogCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogCollectionsReader
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 (o *GetLogCollectionsBadRequest) Error() string
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 (o *GetLogCollectionsConnectionBadRequest) Error() string
func (*GetLogCollectionsConnectionBadRequest) GetPayload ¶
func (o *GetLogCollectionsConnectionBadRequest) GetPayload() string
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 (o *GetLogCollectionsConnectionOK) Error() string
func (*GetLogCollectionsConnectionOK) GetPayload ¶
func (o *GetLogCollectionsConnectionOK) GetPayload() *models.LogCollectionConnection
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 ¶
func (o *GetLogCollectionsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetLogCollectionsConnectionParams) SetRequestBody(requestBody *models.GetLogCollectionsConnectionRequestBody)
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 ¶
func (o *GetLogCollectionsConnectionParams) WithContext(ctx context.Context) *GetLogCollectionsConnectionParams
WithContext adds the context to the get log collections connection params
func (*GetLogCollectionsConnectionParams) WithDefaults ¶
func (o *GetLogCollectionsConnectionParams) WithDefaults() *GetLogCollectionsConnectionParams
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 ¶
func (o *GetLogCollectionsConnectionParams) WithHTTPClient(client *http.Client) *GetLogCollectionsConnectionParams
WithHTTPClient adds the HTTPClient to the get log collections connection params
func (*GetLogCollectionsConnectionParams) WithRequestBody ¶
func (o *GetLogCollectionsConnectionParams) WithRequestBody(requestBody *models.GetLogCollectionsConnectionRequestBody) *GetLogCollectionsConnectionParams
WithRequestBody adds the requestBody to the get log collections connection params
func (*GetLogCollectionsConnectionParams) WithTimeout ¶
func (o *GetLogCollectionsConnectionParams) WithTimeout(timeout time.Duration) *GetLogCollectionsConnectionParams
WithTimeout adds the timeout to the get log collections connection params
func (*GetLogCollectionsConnectionParams) WriteToRequest ¶
func (o *GetLogCollectionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetLogCollectionsParams) WithContext(ctx context.Context) *GetLogCollectionsParams
WithContext adds the context to the get log collections params
func (*GetLogCollectionsParams) WithDefaults ¶
func (o *GetLogCollectionsParams) WithDefaults() *GetLogCollectionsParams
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 ¶
func (o *GetLogCollectionsParams) WithRequestBody(requestBody *models.GetLogCollectionsRequestBody) *GetLogCollectionsParams
WithRequestBody adds the requestBody to the get log collections params
func (*GetLogCollectionsParams) WithTimeout ¶
func (o *GetLogCollectionsParams) WithTimeout(timeout time.Duration) *GetLogCollectionsParams
WithTimeout adds the timeout to the get log collections params
func (*GetLogCollectionsParams) WriteToRequest ¶
func (o *GetLogCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.