log_service_config

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 service config API

func (*Client) GetLogServiceConfigs

func (a *Client) GetLogServiceConfigs(params *GetLogServiceConfigsParams, opts ...ClientOption) (*GetLogServiceConfigsOK, error)

GetLogServiceConfigs get log service configs 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 {
	GetLogServiceConfigs(params *GetLogServiceConfigsParams, opts ...ClientOption) (*GetLogServiceConfigsOK, 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 service config API client.

type GetLogServiceConfigsBadRequest

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

GetLogServiceConfigsBadRequest get log service configs bad request

func NewGetLogServiceConfigsBadRequest

func NewGetLogServiceConfigsBadRequest() *GetLogServiceConfigsBadRequest

NewGetLogServiceConfigsBadRequest creates a GetLogServiceConfigsBadRequest with default headers values

func (*GetLogServiceConfigsBadRequest) Error

func (*GetLogServiceConfigsBadRequest) GetPayload

func (o *GetLogServiceConfigsBadRequest) GetPayload() string

type GetLogServiceConfigsOK

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

Ok

func NewGetLogServiceConfigsOK

func NewGetLogServiceConfigsOK() *GetLogServiceConfigsOK

NewGetLogServiceConfigsOK creates a GetLogServiceConfigsOK with default headers values

func (*GetLogServiceConfigsOK) Error

func (o *GetLogServiceConfigsOK) Error() string

func (*GetLogServiceConfigsOK) GetPayload

func (o *GetLogServiceConfigsOK) GetPayload() []*models.LogServiceConfig

type GetLogServiceConfigsParams

type GetLogServiceConfigsParams struct {

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

	// RequestBody.
	RequestBody *models.GetLogServiceConfigsRequestBody

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

GetLogServiceConfigsParams contains all the parameters to send to the API endpoint

for the get log service configs operation.

Typically these are written to a http.Request.

func NewGetLogServiceConfigsParams

func NewGetLogServiceConfigsParams() *GetLogServiceConfigsParams

NewGetLogServiceConfigsParams creates a new GetLogServiceConfigsParams 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 NewGetLogServiceConfigsParamsWithContext

func NewGetLogServiceConfigsParamsWithContext(ctx context.Context) *GetLogServiceConfigsParams

NewGetLogServiceConfigsParamsWithContext creates a new GetLogServiceConfigsParams object with the ability to set a context for a request.

func NewGetLogServiceConfigsParamsWithHTTPClient

func NewGetLogServiceConfigsParamsWithHTTPClient(client *http.Client) *GetLogServiceConfigsParams

NewGetLogServiceConfigsParamsWithHTTPClient creates a new GetLogServiceConfigsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogServiceConfigsParamsWithTimeout

func NewGetLogServiceConfigsParamsWithTimeout(timeout time.Duration) *GetLogServiceConfigsParams

NewGetLogServiceConfigsParamsWithTimeout creates a new GetLogServiceConfigsParams object with the ability to set a timeout on a request.

func (*GetLogServiceConfigsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get log service configs params

func (*GetLogServiceConfigsParams) SetContext

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

SetContext adds the context to the get log service configs params

func (*GetLogServiceConfigsParams) SetDefaults

func (o *GetLogServiceConfigsParams) SetDefaults()

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

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

func (*GetLogServiceConfigsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log service configs params

func (*GetLogServiceConfigsParams) SetRequestBody

func (o *GetLogServiceConfigsParams) SetRequestBody(requestBody *models.GetLogServiceConfigsRequestBody)

SetRequestBody adds the requestBody to the get log service configs params

func (*GetLogServiceConfigsParams) SetTimeout

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

SetTimeout adds the timeout to the get log service configs params

func (*GetLogServiceConfigsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get log service configs params

func (*GetLogServiceConfigsParams) WithContext

WithContext adds the context to the get log service configs params

func (*GetLogServiceConfigsParams) WithDefaults

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

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

func (*GetLogServiceConfigsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get log service configs params

func (*GetLogServiceConfigsParams) WithRequestBody

WithRequestBody adds the requestBody to the get log service configs params

func (*GetLogServiceConfigsParams) WithTimeout

WithTimeout adds the timeout to the get log service configs params

func (*GetLogServiceConfigsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLogServiceConfigsReader

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

GetLogServiceConfigsReader is a Reader for the GetLogServiceConfigs structure.

func (*GetLogServiceConfigsReader) ReadResponse

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