Documentation
¶
Index ¶
- type Client
- func (a *Client) GetLogsUsingPOST(params *GetLogsUsingPOSTParams, opts ...ClientOption) (*GetLogsUsingPOSTOK, error)
- func (a *Client) LogCategoriesListUsingGET(params *LogCategoriesListUsingGETParams, opts ...ClientOption) (*LogCategoriesListUsingGETOK, error)
- func (a *Client) LogCategoryGetUsingGET(params *LogCategoryGetUsingGETParams, opts ...ClientOption) (*LogCategoryGetUsingGETOK, error)
- func (a *Client) LogCategoryUpdateUsingPUT(params *LogCategoryUpdateUsingPUTParams, opts ...ClientOption) (*LogCategoryUpdateUsingPUTOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetLogsUsingPOSTBadRequest
- type GetLogsUsingPOSTOK
- type GetLogsUsingPOSTParams
- func NewGetLogsUsingPOSTParams() *GetLogsUsingPOSTParams
- func NewGetLogsUsingPOSTParamsWithContext(ctx context.Context) *GetLogsUsingPOSTParams
- func NewGetLogsUsingPOSTParamsWithHTTPClient(client *http.Client) *GetLogsUsingPOSTParams
- func NewGetLogsUsingPOSTParamsWithTimeout(timeout time.Duration) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) SetContext(ctx context.Context)
- func (o *GetLogsUsingPOSTParams) SetDataSize(dataSize int32)
- func (o *GetLogsUsingPOSTParams) SetDefaults()
- func (o *GetLogsUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *GetLogsUsingPOSTParams) SetLastIndex(lastIndex int64)
- func (o *GetLogsUsingPOSTParams) SetLogCategoryID(logCategoryID int32)
- func (o *GetLogsUsingPOSTParams) SetQueryFilter(queryFilter *models.QueryFilter)
- func (o *GetLogsUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *GetLogsUsingPOSTParams) WithContext(ctx context.Context) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WithDataSize(dataSize int32) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WithDefaults() *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WithHTTPClient(client *http.Client) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WithLastIndex(lastIndex int64) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WithLogCategoryID(logCategoryID int32) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WithQueryFilter(queryFilter *models.QueryFilter) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WithTimeout(timeout time.Duration) *GetLogsUsingPOSTParams
- func (o *GetLogsUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogsUsingPOSTReader
- type LogCategoriesListUsingGETBadRequest
- type LogCategoriesListUsingGETOK
- type LogCategoriesListUsingGETParams
- func NewLogCategoriesListUsingGETParams() *LogCategoriesListUsingGETParams
- func NewLogCategoriesListUsingGETParamsWithContext(ctx context.Context) *LogCategoriesListUsingGETParams
- func NewLogCategoriesListUsingGETParamsWithHTTPClient(client *http.Client) *LogCategoriesListUsingGETParams
- func NewLogCategoriesListUsingGETParamsWithTimeout(timeout time.Duration) *LogCategoriesListUsingGETParams
- func (o *LogCategoriesListUsingGETParams) SetContext(ctx context.Context)
- func (o *LogCategoriesListUsingGETParams) SetDefaults()
- func (o *LogCategoriesListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *LogCategoriesListUsingGETParams) SetLogCategoryName(logCategoryName *string)
- func (o *LogCategoriesListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *LogCategoriesListUsingGETParams) WithContext(ctx context.Context) *LogCategoriesListUsingGETParams
- func (o *LogCategoriesListUsingGETParams) WithDefaults() *LogCategoriesListUsingGETParams
- func (o *LogCategoriesListUsingGETParams) WithHTTPClient(client *http.Client) *LogCategoriesListUsingGETParams
- func (o *LogCategoriesListUsingGETParams) WithLogCategoryName(logCategoryName *string) *LogCategoriesListUsingGETParams
- func (o *LogCategoriesListUsingGETParams) WithTimeout(timeout time.Duration) *LogCategoriesListUsingGETParams
- func (o *LogCategoriesListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogCategoriesListUsingGETReader
- type LogCategoryGetUsingGETBadRequest
- type LogCategoryGetUsingGETOK
- type LogCategoryGetUsingGETParams
- func NewLogCategoryGetUsingGETParams() *LogCategoryGetUsingGETParams
- func NewLogCategoryGetUsingGETParamsWithContext(ctx context.Context) *LogCategoryGetUsingGETParams
- func NewLogCategoryGetUsingGETParamsWithHTTPClient(client *http.Client) *LogCategoryGetUsingGETParams
- func NewLogCategoryGetUsingGETParamsWithTimeout(timeout time.Duration) *LogCategoryGetUsingGETParams
- func (o *LogCategoryGetUsingGETParams) SetContext(ctx context.Context)
- func (o *LogCategoryGetUsingGETParams) SetDefaults()
- func (o *LogCategoryGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *LogCategoryGetUsingGETParams) SetLogCategoryID(logCategoryID int32)
- func (o *LogCategoryGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *LogCategoryGetUsingGETParams) WithContext(ctx context.Context) *LogCategoryGetUsingGETParams
- func (o *LogCategoryGetUsingGETParams) WithDefaults() *LogCategoryGetUsingGETParams
- func (o *LogCategoryGetUsingGETParams) WithHTTPClient(client *http.Client) *LogCategoryGetUsingGETParams
- func (o *LogCategoryGetUsingGETParams) WithLogCategoryID(logCategoryID int32) *LogCategoryGetUsingGETParams
- func (o *LogCategoryGetUsingGETParams) WithTimeout(timeout time.Duration) *LogCategoryGetUsingGETParams
- func (o *LogCategoryGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogCategoryGetUsingGETReader
- type LogCategoryUpdateUsingPUTBadRequest
- type LogCategoryUpdateUsingPUTOK
- type LogCategoryUpdateUsingPUTParams
- func NewLogCategoryUpdateUsingPUTParams() *LogCategoryUpdateUsingPUTParams
- func NewLogCategoryUpdateUsingPUTParamsWithContext(ctx context.Context) *LogCategoryUpdateUsingPUTParams
- func NewLogCategoryUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *LogCategoryUpdateUsingPUTParams
- func NewLogCategoryUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *LogCategoryUpdateUsingPUTParams
- func (o *LogCategoryUpdateUsingPUTParams) SetContext(ctx context.Context)
- func (o *LogCategoryUpdateUsingPUTParams) SetDefaults()
- func (o *LogCategoryUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *LogCategoryUpdateUsingPUTParams) SetLogCategory(logCategory *models.LogCategory)
- func (o *LogCategoryUpdateUsingPUTParams) SetLogCategoryID(logCategoryID int32)
- func (o *LogCategoryUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *LogCategoryUpdateUsingPUTParams) WithContext(ctx context.Context) *LogCategoryUpdateUsingPUTParams
- func (o *LogCategoryUpdateUsingPUTParams) WithDefaults() *LogCategoryUpdateUsingPUTParams
- func (o *LogCategoryUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *LogCategoryUpdateUsingPUTParams
- func (o *LogCategoryUpdateUsingPUTParams) WithLogCategory(logCategory *models.LogCategory) *LogCategoryUpdateUsingPUTParams
- func (o *LogCategoryUpdateUsingPUTParams) WithLogCategoryID(logCategoryID int32) *LogCategoryUpdateUsingPUTParams
- func (o *LogCategoryUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *LogCategoryUpdateUsingPUTParams
- func (o *LogCategoryUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogCategoryUpdateUsingPUTReader
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 categories API
func (*Client) GetLogsUsingPOST ¶
func (a *Client) GetLogsUsingPOST(params *GetLogsUsingPOSTParams, opts ...ClientOption) (*GetLogsUsingPOSTOK, error)
GetLogsUsingPOST gets logs
Get logs
func (*Client) LogCategoriesListUsingGET ¶
func (a *Client) LogCategoriesListUsingGET(params *LogCategoriesListUsingGETParams, opts ...ClientOption) (*LogCategoriesListUsingGETOK, error)
LogCategoriesListUsingGET lists
List log categories
func (*Client) LogCategoryGetUsingGET ¶
func (a *Client) LogCategoryGetUsingGET(params *LogCategoryGetUsingGETParams, opts ...ClientOption) (*LogCategoryGetUsingGETOK, error)
LogCategoryGetUsingGET gets
Get log category
func (*Client) LogCategoryUpdateUsingPUT ¶
func (a *Client) LogCategoryUpdateUsingPUT(params *LogCategoryUpdateUsingPUTParams, opts ...ClientOption) (*LogCategoryUpdateUsingPUTOK, error)
LogCategoryUpdateUsingPUT updates
Update log category
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetLogsUsingPOST(params *GetLogsUsingPOSTParams, opts ...ClientOption) (*GetLogsUsingPOSTOK, error) LogCategoriesListUsingGET(params *LogCategoriesListUsingGETParams, opts ...ClientOption) (*LogCategoriesListUsingGETOK, error) LogCategoryGetUsingGET(params *LogCategoryGetUsingGETParams, opts ...ClientOption) (*LogCategoryGetUsingGETOK, error) LogCategoryUpdateUsingPUT(params *LogCategoryUpdateUsingPUTParams, opts ...ClientOption) (*LogCategoryUpdateUsingPUTOK, 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 categories API client.
type GetLogsUsingPOSTBadRequest ¶
type GetLogsUsingPOSTBadRequest struct {
Payload *models.ProxyResponseMessage
}
GetLogsUsingPOSTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewGetLogsUsingPOSTBadRequest ¶
func NewGetLogsUsingPOSTBadRequest() *GetLogsUsingPOSTBadRequest
NewGetLogsUsingPOSTBadRequest creates a GetLogsUsingPOSTBadRequest with default headers values
func (*GetLogsUsingPOSTBadRequest) Error ¶
func (o *GetLogsUsingPOSTBadRequest) Error() string
func (*GetLogsUsingPOSTBadRequest) GetPayload ¶
func (o *GetLogsUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
type GetLogsUsingPOSTOK ¶
type GetLogsUsingPOSTOK struct {
Payload *models.GetLogsResponse
}
GetLogsUsingPOSTOK describes a response with status code 200, with default header values.
Request has been completed successfully
func NewGetLogsUsingPOSTOK ¶
func NewGetLogsUsingPOSTOK() *GetLogsUsingPOSTOK
NewGetLogsUsingPOSTOK creates a GetLogsUsingPOSTOK with default headers values
func (*GetLogsUsingPOSTOK) Error ¶
func (o *GetLogsUsingPOSTOK) Error() string
func (*GetLogsUsingPOSTOK) GetPayload ¶
func (o *GetLogsUsingPOSTOK) GetPayload() *models.GetLogsResponse
type GetLogsUsingPOSTParams ¶
type GetLogsUsingPOSTParams struct { /* DataSize. dataSize Format: int32 */ DataSize int32 /* LastIndex. lastIndex Format: int64 */ LastIndex int64 /* LogCategoryID. logCategoryId Format: int32 */ LogCategoryID int32 /* QueryFilter. queryFilter */ QueryFilter *models.QueryFilter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogsUsingPOSTParams contains all the parameters to send to the API endpoint
for the get logs using p o s t operation. Typically these are written to a http.Request.
func NewGetLogsUsingPOSTParams ¶
func NewGetLogsUsingPOSTParams() *GetLogsUsingPOSTParams
NewGetLogsUsingPOSTParams creates a new GetLogsUsingPOSTParams 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 NewGetLogsUsingPOSTParamsWithContext ¶
func NewGetLogsUsingPOSTParamsWithContext(ctx context.Context) *GetLogsUsingPOSTParams
NewGetLogsUsingPOSTParamsWithContext creates a new GetLogsUsingPOSTParams object with the ability to set a context for a request.
func NewGetLogsUsingPOSTParamsWithHTTPClient ¶
func NewGetLogsUsingPOSTParamsWithHTTPClient(client *http.Client) *GetLogsUsingPOSTParams
NewGetLogsUsingPOSTParamsWithHTTPClient creates a new GetLogsUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewGetLogsUsingPOSTParamsWithTimeout ¶
func NewGetLogsUsingPOSTParamsWithTimeout(timeout time.Duration) *GetLogsUsingPOSTParams
NewGetLogsUsingPOSTParamsWithTimeout creates a new GetLogsUsingPOSTParams object with the ability to set a timeout on a request.
func (*GetLogsUsingPOSTParams) SetContext ¶
func (o *GetLogsUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) SetDataSize ¶
func (o *GetLogsUsingPOSTParams) SetDataSize(dataSize int32)
SetDataSize adds the dataSize to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) SetDefaults ¶ added in v1.2.4
func (o *GetLogsUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the get logs using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsUsingPOSTParams) SetHTTPClient ¶
func (o *GetLogsUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) SetLastIndex ¶
func (o *GetLogsUsingPOSTParams) SetLastIndex(lastIndex int64)
SetLastIndex adds the lastIndex to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) SetLogCategoryID ¶
func (o *GetLogsUsingPOSTParams) SetLogCategoryID(logCategoryID int32)
SetLogCategoryID adds the logCategoryId to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) SetQueryFilter ¶
func (o *GetLogsUsingPOSTParams) SetQueryFilter(queryFilter *models.QueryFilter)
SetQueryFilter adds the queryFilter to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) SetTimeout ¶
func (o *GetLogsUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WithContext ¶
func (o *GetLogsUsingPOSTParams) WithContext(ctx context.Context) *GetLogsUsingPOSTParams
WithContext adds the context to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WithDataSize ¶
func (o *GetLogsUsingPOSTParams) WithDataSize(dataSize int32) *GetLogsUsingPOSTParams
WithDataSize adds the dataSize to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WithDefaults ¶ added in v1.2.4
func (o *GetLogsUsingPOSTParams) WithDefaults() *GetLogsUsingPOSTParams
WithDefaults hydrates default values in the get logs using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsUsingPOSTParams) WithHTTPClient ¶
func (o *GetLogsUsingPOSTParams) WithHTTPClient(client *http.Client) *GetLogsUsingPOSTParams
WithHTTPClient adds the HTTPClient to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WithLastIndex ¶
func (o *GetLogsUsingPOSTParams) WithLastIndex(lastIndex int64) *GetLogsUsingPOSTParams
WithLastIndex adds the lastIndex to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WithLogCategoryID ¶
func (o *GetLogsUsingPOSTParams) WithLogCategoryID(logCategoryID int32) *GetLogsUsingPOSTParams
WithLogCategoryID adds the logCategoryID to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WithQueryFilter ¶
func (o *GetLogsUsingPOSTParams) WithQueryFilter(queryFilter *models.QueryFilter) *GetLogsUsingPOSTParams
WithQueryFilter adds the queryFilter to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WithTimeout ¶
func (o *GetLogsUsingPOSTParams) WithTimeout(timeout time.Duration) *GetLogsUsingPOSTParams
WithTimeout adds the timeout to the get logs using p o s t params
func (*GetLogsUsingPOSTParams) WriteToRequest ¶
func (o *GetLogsUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogsUsingPOSTReader ¶
type GetLogsUsingPOSTReader struct {
// contains filtered or unexported fields
}
GetLogsUsingPOSTReader is a Reader for the GetLogsUsingPOST structure.
func (*GetLogsUsingPOSTReader) ReadResponse ¶
func (o *GetLogsUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LogCategoriesListUsingGETBadRequest ¶
type LogCategoriesListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
LogCategoriesListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewLogCategoriesListUsingGETBadRequest ¶
func NewLogCategoriesListUsingGETBadRequest() *LogCategoriesListUsingGETBadRequest
NewLogCategoriesListUsingGETBadRequest creates a LogCategoriesListUsingGETBadRequest with default headers values
func (*LogCategoriesListUsingGETBadRequest) Error ¶
func (o *LogCategoriesListUsingGETBadRequest) Error() string
func (*LogCategoriesListUsingGETBadRequest) GetPayload ¶
func (o *LogCategoriesListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type LogCategoriesListUsingGETOK ¶
type LogCategoriesListUsingGETOK struct {
Payload *models.LogCategoryListResponse
}
LogCategoriesListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewLogCategoriesListUsingGETOK ¶
func NewLogCategoriesListUsingGETOK() *LogCategoriesListUsingGETOK
NewLogCategoriesListUsingGETOK creates a LogCategoriesListUsingGETOK with default headers values
func (*LogCategoriesListUsingGETOK) Error ¶
func (o *LogCategoriesListUsingGETOK) Error() string
func (*LogCategoriesListUsingGETOK) GetPayload ¶
func (o *LogCategoriesListUsingGETOK) GetPayload() *models.LogCategoryListResponse
type LogCategoriesListUsingGETParams ¶
type LogCategoriesListUsingGETParams struct { /* LogCategoryName. logCategoryName */ LogCategoryName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LogCategoriesListUsingGETParams contains all the parameters to send to the API endpoint
for the log categories list using g e t operation. Typically these are written to a http.Request.
func NewLogCategoriesListUsingGETParams ¶
func NewLogCategoriesListUsingGETParams() *LogCategoriesListUsingGETParams
NewLogCategoriesListUsingGETParams creates a new LogCategoriesListUsingGETParams 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 NewLogCategoriesListUsingGETParamsWithContext ¶
func NewLogCategoriesListUsingGETParamsWithContext(ctx context.Context) *LogCategoriesListUsingGETParams
NewLogCategoriesListUsingGETParamsWithContext creates a new LogCategoriesListUsingGETParams object with the ability to set a context for a request.
func NewLogCategoriesListUsingGETParamsWithHTTPClient ¶
func NewLogCategoriesListUsingGETParamsWithHTTPClient(client *http.Client) *LogCategoriesListUsingGETParams
NewLogCategoriesListUsingGETParamsWithHTTPClient creates a new LogCategoriesListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewLogCategoriesListUsingGETParamsWithTimeout ¶
func NewLogCategoriesListUsingGETParamsWithTimeout(timeout time.Duration) *LogCategoriesListUsingGETParams
NewLogCategoriesListUsingGETParamsWithTimeout creates a new LogCategoriesListUsingGETParams object with the ability to set a timeout on a request.
func (*LogCategoriesListUsingGETParams) SetContext ¶
func (o *LogCategoriesListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *LogCategoriesListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the log categories list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*LogCategoriesListUsingGETParams) SetHTTPClient ¶
func (o *LogCategoriesListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) SetLogCategoryName ¶
func (o *LogCategoriesListUsingGETParams) SetLogCategoryName(logCategoryName *string)
SetLogCategoryName adds the logCategoryName to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) SetTimeout ¶
func (o *LogCategoriesListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) WithContext ¶
func (o *LogCategoriesListUsingGETParams) WithContext(ctx context.Context) *LogCategoriesListUsingGETParams
WithContext adds the context to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *LogCategoriesListUsingGETParams) WithDefaults() *LogCategoriesListUsingGETParams
WithDefaults hydrates default values in the log categories list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*LogCategoriesListUsingGETParams) WithHTTPClient ¶
func (o *LogCategoriesListUsingGETParams) WithHTTPClient(client *http.Client) *LogCategoriesListUsingGETParams
WithHTTPClient adds the HTTPClient to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) WithLogCategoryName ¶
func (o *LogCategoriesListUsingGETParams) WithLogCategoryName(logCategoryName *string) *LogCategoriesListUsingGETParams
WithLogCategoryName adds the logCategoryName to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) WithTimeout ¶
func (o *LogCategoriesListUsingGETParams) WithTimeout(timeout time.Duration) *LogCategoriesListUsingGETParams
WithTimeout adds the timeout to the log categories list using g e t params
func (*LogCategoriesListUsingGETParams) WriteToRequest ¶
func (o *LogCategoriesListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogCategoriesListUsingGETReader ¶
type LogCategoriesListUsingGETReader struct {
// contains filtered or unexported fields
}
LogCategoriesListUsingGETReader is a Reader for the LogCategoriesListUsingGET structure.
func (*LogCategoriesListUsingGETReader) ReadResponse ¶
func (o *LogCategoriesListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LogCategoryGetUsingGETBadRequest ¶
type LogCategoryGetUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
LogCategoryGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewLogCategoryGetUsingGETBadRequest ¶
func NewLogCategoryGetUsingGETBadRequest() *LogCategoryGetUsingGETBadRequest
NewLogCategoryGetUsingGETBadRequest creates a LogCategoryGetUsingGETBadRequest with default headers values
func (*LogCategoryGetUsingGETBadRequest) Error ¶
func (o *LogCategoryGetUsingGETBadRequest) Error() string
func (*LogCategoryGetUsingGETBadRequest) GetPayload ¶
func (o *LogCategoryGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type LogCategoryGetUsingGETOK ¶
type LogCategoryGetUsingGETOK struct {
Payload *models.LogCategoryGetResponse
}
LogCategoryGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewLogCategoryGetUsingGETOK ¶
func NewLogCategoryGetUsingGETOK() *LogCategoryGetUsingGETOK
NewLogCategoryGetUsingGETOK creates a LogCategoryGetUsingGETOK with default headers values
func (*LogCategoryGetUsingGETOK) Error ¶
func (o *LogCategoryGetUsingGETOK) Error() string
func (*LogCategoryGetUsingGETOK) GetPayload ¶
func (o *LogCategoryGetUsingGETOK) GetPayload() *models.LogCategoryGetResponse
type LogCategoryGetUsingGETParams ¶
type LogCategoryGetUsingGETParams struct { /* LogCategoryID. logCategoryId Format: int32 */ LogCategoryID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LogCategoryGetUsingGETParams contains all the parameters to send to the API endpoint
for the log category get using g e t operation. Typically these are written to a http.Request.
func NewLogCategoryGetUsingGETParams ¶
func NewLogCategoryGetUsingGETParams() *LogCategoryGetUsingGETParams
NewLogCategoryGetUsingGETParams creates a new LogCategoryGetUsingGETParams 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 NewLogCategoryGetUsingGETParamsWithContext ¶
func NewLogCategoryGetUsingGETParamsWithContext(ctx context.Context) *LogCategoryGetUsingGETParams
NewLogCategoryGetUsingGETParamsWithContext creates a new LogCategoryGetUsingGETParams object with the ability to set a context for a request.
func NewLogCategoryGetUsingGETParamsWithHTTPClient ¶
func NewLogCategoryGetUsingGETParamsWithHTTPClient(client *http.Client) *LogCategoryGetUsingGETParams
NewLogCategoryGetUsingGETParamsWithHTTPClient creates a new LogCategoryGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewLogCategoryGetUsingGETParamsWithTimeout ¶
func NewLogCategoryGetUsingGETParamsWithTimeout(timeout time.Duration) *LogCategoryGetUsingGETParams
NewLogCategoryGetUsingGETParamsWithTimeout creates a new LogCategoryGetUsingGETParams object with the ability to set a timeout on a request.
func (*LogCategoryGetUsingGETParams) SetContext ¶
func (o *LogCategoryGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *LogCategoryGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the log category get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*LogCategoryGetUsingGETParams) SetHTTPClient ¶
func (o *LogCategoryGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) SetLogCategoryID ¶
func (o *LogCategoryGetUsingGETParams) SetLogCategoryID(logCategoryID int32)
SetLogCategoryID adds the logCategoryId to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) SetTimeout ¶
func (o *LogCategoryGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) WithContext ¶
func (o *LogCategoryGetUsingGETParams) WithContext(ctx context.Context) *LogCategoryGetUsingGETParams
WithContext adds the context to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *LogCategoryGetUsingGETParams) WithDefaults() *LogCategoryGetUsingGETParams
WithDefaults hydrates default values in the log category get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*LogCategoryGetUsingGETParams) WithHTTPClient ¶
func (o *LogCategoryGetUsingGETParams) WithHTTPClient(client *http.Client) *LogCategoryGetUsingGETParams
WithHTTPClient adds the HTTPClient to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) WithLogCategoryID ¶
func (o *LogCategoryGetUsingGETParams) WithLogCategoryID(logCategoryID int32) *LogCategoryGetUsingGETParams
WithLogCategoryID adds the logCategoryID to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) WithTimeout ¶
func (o *LogCategoryGetUsingGETParams) WithTimeout(timeout time.Duration) *LogCategoryGetUsingGETParams
WithTimeout adds the timeout to the log category get using g e t params
func (*LogCategoryGetUsingGETParams) WriteToRequest ¶
func (o *LogCategoryGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogCategoryGetUsingGETReader ¶
type LogCategoryGetUsingGETReader struct {
// contains filtered or unexported fields
}
LogCategoryGetUsingGETReader is a Reader for the LogCategoryGetUsingGET structure.
func (*LogCategoryGetUsingGETReader) ReadResponse ¶
func (o *LogCategoryGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LogCategoryUpdateUsingPUTBadRequest ¶
type LogCategoryUpdateUsingPUTBadRequest struct {
Payload *models.ProxyResponseMessage
}
LogCategoryUpdateUsingPUTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewLogCategoryUpdateUsingPUTBadRequest ¶
func NewLogCategoryUpdateUsingPUTBadRequest() *LogCategoryUpdateUsingPUTBadRequest
NewLogCategoryUpdateUsingPUTBadRequest creates a LogCategoryUpdateUsingPUTBadRequest with default headers values
func (*LogCategoryUpdateUsingPUTBadRequest) Error ¶
func (o *LogCategoryUpdateUsingPUTBadRequest) Error() string
func (*LogCategoryUpdateUsingPUTBadRequest) GetPayload ¶
func (o *LogCategoryUpdateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type LogCategoryUpdateUsingPUTOK ¶
type LogCategoryUpdateUsingPUTOK struct {
Payload *models.UpdateLogCategoryResponse
}
LogCategoryUpdateUsingPUTOK describes a response with status code 200, with default header values.
Request has been completed successfully
func NewLogCategoryUpdateUsingPUTOK ¶
func NewLogCategoryUpdateUsingPUTOK() *LogCategoryUpdateUsingPUTOK
NewLogCategoryUpdateUsingPUTOK creates a LogCategoryUpdateUsingPUTOK with default headers values
func (*LogCategoryUpdateUsingPUTOK) Error ¶
func (o *LogCategoryUpdateUsingPUTOK) Error() string
func (*LogCategoryUpdateUsingPUTOK) GetPayload ¶
func (o *LogCategoryUpdateUsingPUTOK) GetPayload() *models.UpdateLogCategoryResponse
type LogCategoryUpdateUsingPUTParams ¶
type LogCategoryUpdateUsingPUTParams struct { /* LogCategory. logCategory */ LogCategory *models.LogCategory /* LogCategoryID. logCategoryId Format: int32 */ LogCategoryID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LogCategoryUpdateUsingPUTParams contains all the parameters to send to the API endpoint
for the log category update using p u t operation. Typically these are written to a http.Request.
func NewLogCategoryUpdateUsingPUTParams ¶
func NewLogCategoryUpdateUsingPUTParams() *LogCategoryUpdateUsingPUTParams
NewLogCategoryUpdateUsingPUTParams creates a new LogCategoryUpdateUsingPUTParams 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 NewLogCategoryUpdateUsingPUTParamsWithContext ¶
func NewLogCategoryUpdateUsingPUTParamsWithContext(ctx context.Context) *LogCategoryUpdateUsingPUTParams
NewLogCategoryUpdateUsingPUTParamsWithContext creates a new LogCategoryUpdateUsingPUTParams object with the ability to set a context for a request.
func NewLogCategoryUpdateUsingPUTParamsWithHTTPClient ¶
func NewLogCategoryUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *LogCategoryUpdateUsingPUTParams
NewLogCategoryUpdateUsingPUTParamsWithHTTPClient creates a new LogCategoryUpdateUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewLogCategoryUpdateUsingPUTParamsWithTimeout ¶
func NewLogCategoryUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *LogCategoryUpdateUsingPUTParams
NewLogCategoryUpdateUsingPUTParamsWithTimeout creates a new LogCategoryUpdateUsingPUTParams object with the ability to set a timeout on a request.
func (*LogCategoryUpdateUsingPUTParams) SetContext ¶
func (o *LogCategoryUpdateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) SetDefaults ¶ added in v1.2.4
func (o *LogCategoryUpdateUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the log category update using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*LogCategoryUpdateUsingPUTParams) SetHTTPClient ¶
func (o *LogCategoryUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) SetLogCategory ¶
func (o *LogCategoryUpdateUsingPUTParams) SetLogCategory(logCategory *models.LogCategory)
SetLogCategory adds the logCategory to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) SetLogCategoryID ¶
func (o *LogCategoryUpdateUsingPUTParams) SetLogCategoryID(logCategoryID int32)
SetLogCategoryID adds the logCategoryId to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) SetTimeout ¶
func (o *LogCategoryUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) WithContext ¶
func (o *LogCategoryUpdateUsingPUTParams) WithContext(ctx context.Context) *LogCategoryUpdateUsingPUTParams
WithContext adds the context to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *LogCategoryUpdateUsingPUTParams) WithDefaults() *LogCategoryUpdateUsingPUTParams
WithDefaults hydrates default values in the log category update using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*LogCategoryUpdateUsingPUTParams) WithHTTPClient ¶
func (o *LogCategoryUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *LogCategoryUpdateUsingPUTParams
WithHTTPClient adds the HTTPClient to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) WithLogCategory ¶
func (o *LogCategoryUpdateUsingPUTParams) WithLogCategory(logCategory *models.LogCategory) *LogCategoryUpdateUsingPUTParams
WithLogCategory adds the logCategory to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) WithLogCategoryID ¶
func (o *LogCategoryUpdateUsingPUTParams) WithLogCategoryID(logCategoryID int32) *LogCategoryUpdateUsingPUTParams
WithLogCategoryID adds the logCategoryID to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) WithTimeout ¶
func (o *LogCategoryUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *LogCategoryUpdateUsingPUTParams
WithTimeout adds the timeout to the log category update using p u t params
func (*LogCategoryUpdateUsingPUTParams) WriteToRequest ¶
func (o *LogCategoryUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogCategoryUpdateUsingPUTReader ¶
type LogCategoryUpdateUsingPUTReader struct {
// contains filtered or unexported fields
}
LogCategoryUpdateUsingPUTReader is a Reader for the LogCategoryUpdateUsingPUT structure.
func (*LogCategoryUpdateUsingPUTReader) ReadResponse ¶
func (o *LogCategoryUpdateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- get_logs_using_p_o_s_t_parameters.go
- get_logs_using_p_o_s_t_responses.go
- log_categories_client.go
- log_categories_list_using_g_e_t_parameters.go
- log_categories_list_using_g_e_t_responses.go
- log_category_get_using_g_e_t_parameters.go
- log_category_get_using_g_e_t_responses.go
- log_category_update_using_p_u_t_parameters.go
- log_category_update_using_p_u_t_responses.go