Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetLogServiceConfigsBadRequest
- type GetLogServiceConfigsInternalServerError
- type GetLogServiceConfigsNotFound
- type GetLogServiceConfigsOK
- type GetLogServiceConfigsParams
- func NewGetLogServiceConfigsParams() *GetLogServiceConfigsParams
- func NewGetLogServiceConfigsParamsWithContext(ctx context.Context) *GetLogServiceConfigsParams
- func NewGetLogServiceConfigsParamsWithHTTPClient(client *http.Client) *GetLogServiceConfigsParams
- func NewGetLogServiceConfigsParamsWithTimeout(timeout time.Duration) *GetLogServiceConfigsParams
- func (o *GetLogServiceConfigsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetLogServiceConfigsParams) SetContext(ctx context.Context)
- func (o *GetLogServiceConfigsParams) SetDefaults()
- func (o *GetLogServiceConfigsParams) SetHTTPClient(client *http.Client)
- func (o *GetLogServiceConfigsParams) SetRequestBody(requestBody *models.GetLogServiceConfigsRequestBody)
- func (o *GetLogServiceConfigsParams) SetTimeout(timeout time.Duration)
- func (o *GetLogServiceConfigsParams) WithContentLanguage(contentLanguage *string) *GetLogServiceConfigsParams
- func (o *GetLogServiceConfigsParams) WithContext(ctx context.Context) *GetLogServiceConfigsParams
- func (o *GetLogServiceConfigsParams) WithDefaults() *GetLogServiceConfigsParams
- func (o *GetLogServiceConfigsParams) WithHTTPClient(client *http.Client) *GetLogServiceConfigsParams
- func (o *GetLogServiceConfigsParams) WithRequestBody(requestBody *models.GetLogServiceConfigsRequestBody) *GetLogServiceConfigsParams
- func (o *GetLogServiceConfigsParams) WithTimeout(timeout time.Duration) *GetLogServiceConfigsParams
- func (o *GetLogServiceConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogServiceConfigsReader
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 ¶
GetLogServiceConfigsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetLogServiceConfigsBadRequest ¶
func NewGetLogServiceConfigsBadRequest() *GetLogServiceConfigsBadRequest
NewGetLogServiceConfigsBadRequest creates a GetLogServiceConfigsBadRequest with default headers values
func (*GetLogServiceConfigsBadRequest) Error ¶
func (o *GetLogServiceConfigsBadRequest) Error() string
func (*GetLogServiceConfigsBadRequest) GetPayload ¶
func (o *GetLogServiceConfigsBadRequest) GetPayload() *models.ErrorBody
type GetLogServiceConfigsInternalServerError ¶
type GetLogServiceConfigsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetLogServiceConfigsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetLogServiceConfigsInternalServerError ¶
func NewGetLogServiceConfigsInternalServerError() *GetLogServiceConfigsInternalServerError
NewGetLogServiceConfigsInternalServerError creates a GetLogServiceConfigsInternalServerError with default headers values
func (*GetLogServiceConfigsInternalServerError) Error ¶
func (o *GetLogServiceConfigsInternalServerError) Error() string
func (*GetLogServiceConfigsInternalServerError) GetPayload ¶
func (o *GetLogServiceConfigsInternalServerError) GetPayload() *models.ErrorBody
type GetLogServiceConfigsNotFound ¶
GetLogServiceConfigsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetLogServiceConfigsNotFound ¶
func NewGetLogServiceConfigsNotFound() *GetLogServiceConfigsNotFound
NewGetLogServiceConfigsNotFound creates a GetLogServiceConfigsNotFound with default headers values
func (*GetLogServiceConfigsNotFound) Error ¶
func (o *GetLogServiceConfigsNotFound) Error() string
func (*GetLogServiceConfigsNotFound) GetPayload ¶
func (o *GetLogServiceConfigsNotFound) GetPayload() *models.ErrorBody
type GetLogServiceConfigsOK ¶
type GetLogServiceConfigsOK struct { XTowerRequestID string Payload []*models.LogServiceConfig }
GetLogServiceConfigsOK describes a response with status code 200, with default header values.
GetLogServiceConfigsOK get log service configs o k
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 ¶
func (o *GetLogServiceConfigsParams) WithContext(ctx context.Context) *GetLogServiceConfigsParams
WithContext adds the context to the get log service configs params
func (*GetLogServiceConfigsParams) WithDefaults ¶
func (o *GetLogServiceConfigsParams) WithDefaults() *GetLogServiceConfigsParams
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 ¶
func (o *GetLogServiceConfigsParams) WithHTTPClient(client *http.Client) *GetLogServiceConfigsParams
WithHTTPClient adds the HTTPClient to the get log service configs params
func (*GetLogServiceConfigsParams) WithRequestBody ¶
func (o *GetLogServiceConfigsParams) WithRequestBody(requestBody *models.GetLogServiceConfigsRequestBody) *GetLogServiceConfigsParams
WithRequestBody adds the requestBody to the get log service configs params
func (*GetLogServiceConfigsParams) WithTimeout ¶
func (o *GetLogServiceConfigsParams) WithTimeout(timeout time.Duration) *GetLogServiceConfigsParams
WithTimeout adds the timeout to the get log service configs params
func (*GetLogServiceConfigsParams) WriteToRequest ¶
func (o *GetLogServiceConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.