Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteMeteringReport(params *DeleteMeteringReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMeteringReportOK, error)
- func (a *Client) GetMeteringReport(params *GetMeteringReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMeteringReportOK, error)
- func (a *Client) ListMeteringReports(params *ListMeteringReportsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListMeteringReportsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteMeteringReportDefault
- type DeleteMeteringReportForbidden
- type DeleteMeteringReportOK
- type DeleteMeteringReportParams
- func NewDeleteMeteringReportParams() *DeleteMeteringReportParams
- func NewDeleteMeteringReportParamsWithContext(ctx context.Context) *DeleteMeteringReportParams
- func NewDeleteMeteringReportParamsWithHTTPClient(client *http.Client) *DeleteMeteringReportParams
- func NewDeleteMeteringReportParamsWithTimeout(timeout time.Duration) *DeleteMeteringReportParams
- func (o *DeleteMeteringReportParams) SetConfigurationName(configurationName *string)
- func (o *DeleteMeteringReportParams) SetContext(ctx context.Context)
- func (o *DeleteMeteringReportParams) SetDefaults()
- func (o *DeleteMeteringReportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMeteringReportParams) SetReportName(reportName string)
- func (o *DeleteMeteringReportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMeteringReportParams) WithConfigurationName(configurationName *string) *DeleteMeteringReportParams
- func (o *DeleteMeteringReportParams) WithContext(ctx context.Context) *DeleteMeteringReportParams
- func (o *DeleteMeteringReportParams) WithDefaults() *DeleteMeteringReportParams
- func (o *DeleteMeteringReportParams) WithHTTPClient(client *http.Client) *DeleteMeteringReportParams
- func (o *DeleteMeteringReportParams) WithReportName(reportName string) *DeleteMeteringReportParams
- func (o *DeleteMeteringReportParams) WithTimeout(timeout time.Duration) *DeleteMeteringReportParams
- func (o *DeleteMeteringReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMeteringReportReader
- type DeleteMeteringReportUnauthorized
- type GetMeteringReportDefault
- type GetMeteringReportForbidden
- type GetMeteringReportOK
- type GetMeteringReportParams
- func NewGetMeteringReportParams() *GetMeteringReportParams
- func NewGetMeteringReportParamsWithContext(ctx context.Context) *GetMeteringReportParams
- func NewGetMeteringReportParamsWithHTTPClient(client *http.Client) *GetMeteringReportParams
- func NewGetMeteringReportParamsWithTimeout(timeout time.Duration) *GetMeteringReportParams
- func (o *GetMeteringReportParams) SetConfigurationName(configurationName *string)
- func (o *GetMeteringReportParams) SetContext(ctx context.Context)
- func (o *GetMeteringReportParams) SetDefaults()
- func (o *GetMeteringReportParams) SetHTTPClient(client *http.Client)
- func (o *GetMeteringReportParams) SetReportName(reportName string)
- func (o *GetMeteringReportParams) SetTimeout(timeout time.Duration)
- func (o *GetMeteringReportParams) WithConfigurationName(configurationName *string) *GetMeteringReportParams
- func (o *GetMeteringReportParams) WithContext(ctx context.Context) *GetMeteringReportParams
- func (o *GetMeteringReportParams) WithDefaults() *GetMeteringReportParams
- func (o *GetMeteringReportParams) WithHTTPClient(client *http.Client) *GetMeteringReportParams
- func (o *GetMeteringReportParams) WithReportName(reportName string) *GetMeteringReportParams
- func (o *GetMeteringReportParams) WithTimeout(timeout time.Duration) *GetMeteringReportParams
- func (o *GetMeteringReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMeteringReportReader
- type GetMeteringReportUnauthorized
- type ListMeteringReportsDefault
- type ListMeteringReportsForbidden
- type ListMeteringReportsOK
- type ListMeteringReportsParams
- func NewListMeteringReportsParams() *ListMeteringReportsParams
- func NewListMeteringReportsParamsWithContext(ctx context.Context) *ListMeteringReportsParams
- func NewListMeteringReportsParamsWithHTTPClient(client *http.Client) *ListMeteringReportsParams
- func NewListMeteringReportsParamsWithTimeout(timeout time.Duration) *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) SetConfigurationName(configurationName *string)
- func (o *ListMeteringReportsParams) SetContext(ctx context.Context)
- func (o *ListMeteringReportsParams) SetDefaults()
- func (o *ListMeteringReportsParams) SetHTTPClient(client *http.Client)
- func (o *ListMeteringReportsParams) SetMaxKeys(maxKeys *int64)
- func (o *ListMeteringReportsParams) SetStartAfter(startAfter *string)
- func (o *ListMeteringReportsParams) SetTimeout(timeout time.Duration)
- func (o *ListMeteringReportsParams) WithConfigurationName(configurationName *string) *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) WithContext(ctx context.Context) *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) WithDefaults() *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) WithHTTPClient(client *http.Client) *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) WithMaxKeys(maxKeys *int64) *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) WithStartAfter(startAfter *string) *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) WithTimeout(timeout time.Duration) *ListMeteringReportsParams
- func (o *ListMeteringReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMeteringReportsReader
- type ListMeteringReportsUnauthorized
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 metering API
func (*Client) DeleteMeteringReport ¶ added in v2.21.0
func (a *Client) DeleteMeteringReport(params *DeleteMeteringReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMeteringReportOK, error)
DeleteMeteringReport Removes a specific metering report. Only available in Kubermatic Enterprise Edition
func (*Client) GetMeteringReport ¶
func (a *Client) GetMeteringReport(params *GetMeteringReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMeteringReportOK, error)
GetMeteringReport Download a specific metering report. Provides an S3 pre signed URL valid for 1 hour. Only available in Kubermatic Enterprise Edition
func (*Client) ListMeteringReports ¶
func (a *Client) ListMeteringReports(params *ListMeteringReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMeteringReportsOK, error)
ListMeteringReports List metering reports. Only available in Kubermatic Enterprise Edition
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 { DeleteMeteringReport(params *DeleteMeteringReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMeteringReportOK, error) GetMeteringReport(params *GetMeteringReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMeteringReportOK, error) ListMeteringReports(params *ListMeteringReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMeteringReportsOK, 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 metering API client.
type DeleteMeteringReportDefault ¶ added in v2.21.0
type DeleteMeteringReportDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteMeteringReportDefault describes a response with status code -1, with default header values.
errorResponse
func NewDeleteMeteringReportDefault ¶ added in v2.21.0
func NewDeleteMeteringReportDefault(code int) *DeleteMeteringReportDefault
NewDeleteMeteringReportDefault creates a DeleteMeteringReportDefault with default headers values
func (*DeleteMeteringReportDefault) Code ¶ added in v2.21.0
func (o *DeleteMeteringReportDefault) Code() int
Code gets the status code for the delete metering report default response
func (*DeleteMeteringReportDefault) Error ¶ added in v2.21.0
func (o *DeleteMeteringReportDefault) Error() string
func (*DeleteMeteringReportDefault) GetPayload ¶ added in v2.21.0
func (o *DeleteMeteringReportDefault) GetPayload() *models.ErrorResponse
type DeleteMeteringReportForbidden ¶ added in v2.21.0
type DeleteMeteringReportForbidden struct { }
DeleteMeteringReportForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewDeleteMeteringReportForbidden ¶ added in v2.21.0
func NewDeleteMeteringReportForbidden() *DeleteMeteringReportForbidden
NewDeleteMeteringReportForbidden creates a DeleteMeteringReportForbidden with default headers values
func (*DeleteMeteringReportForbidden) Error ¶ added in v2.21.0
func (o *DeleteMeteringReportForbidden) Error() string
type DeleteMeteringReportOK ¶ added in v2.21.0
type DeleteMeteringReportOK struct { }
DeleteMeteringReportOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewDeleteMeteringReportOK ¶ added in v2.21.0
func NewDeleteMeteringReportOK() *DeleteMeteringReportOK
NewDeleteMeteringReportOK creates a DeleteMeteringReportOK with default headers values
func (*DeleteMeteringReportOK) Error ¶ added in v2.21.0
func (o *DeleteMeteringReportOK) Error() string
type DeleteMeteringReportParams ¶ added in v2.21.0
type DeleteMeteringReportParams struct { // ConfigurationName. ConfigurationName *string // ReportName. ReportName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMeteringReportParams contains all the parameters to send to the API endpoint
for the delete metering report operation. Typically these are written to a http.Request.
func NewDeleteMeteringReportParams ¶ added in v2.21.0
func NewDeleteMeteringReportParams() *DeleteMeteringReportParams
NewDeleteMeteringReportParams creates a new DeleteMeteringReportParams 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 NewDeleteMeteringReportParamsWithContext ¶ added in v2.21.0
func NewDeleteMeteringReportParamsWithContext(ctx context.Context) *DeleteMeteringReportParams
NewDeleteMeteringReportParamsWithContext creates a new DeleteMeteringReportParams object with the ability to set a context for a request.
func NewDeleteMeteringReportParamsWithHTTPClient ¶ added in v2.21.0
func NewDeleteMeteringReportParamsWithHTTPClient(client *http.Client) *DeleteMeteringReportParams
NewDeleteMeteringReportParamsWithHTTPClient creates a new DeleteMeteringReportParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMeteringReportParamsWithTimeout ¶ added in v2.21.0
func NewDeleteMeteringReportParamsWithTimeout(timeout time.Duration) *DeleteMeteringReportParams
NewDeleteMeteringReportParamsWithTimeout creates a new DeleteMeteringReportParams object with the ability to set a timeout on a request.
func (*DeleteMeteringReportParams) SetConfigurationName ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) SetConfigurationName(configurationName *string)
SetConfigurationName adds the configurationName to the delete metering report params
func (*DeleteMeteringReportParams) SetContext ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete metering report params
func (*DeleteMeteringReportParams) SetDefaults ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) SetDefaults()
SetDefaults hydrates default values in the delete metering report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMeteringReportParams) SetHTTPClient ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete metering report params
func (*DeleteMeteringReportParams) SetReportName ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) SetReportName(reportName string)
SetReportName adds the reportName to the delete metering report params
func (*DeleteMeteringReportParams) SetTimeout ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete metering report params
func (*DeleteMeteringReportParams) WithConfigurationName ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) WithConfigurationName(configurationName *string) *DeleteMeteringReportParams
WithConfigurationName adds the configurationName to the delete metering report params
func (*DeleteMeteringReportParams) WithContext ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) WithContext(ctx context.Context) *DeleteMeteringReportParams
WithContext adds the context to the delete metering report params
func (*DeleteMeteringReportParams) WithDefaults ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) WithDefaults() *DeleteMeteringReportParams
WithDefaults hydrates default values in the delete metering report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMeteringReportParams) WithHTTPClient ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) WithHTTPClient(client *http.Client) *DeleteMeteringReportParams
WithHTTPClient adds the HTTPClient to the delete metering report params
func (*DeleteMeteringReportParams) WithReportName ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) WithReportName(reportName string) *DeleteMeteringReportParams
WithReportName adds the reportName to the delete metering report params
func (*DeleteMeteringReportParams) WithTimeout ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) WithTimeout(timeout time.Duration) *DeleteMeteringReportParams
WithTimeout adds the timeout to the delete metering report params
func (*DeleteMeteringReportParams) WriteToRequest ¶ added in v2.21.0
func (o *DeleteMeteringReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMeteringReportReader ¶ added in v2.21.0
type DeleteMeteringReportReader struct {
// contains filtered or unexported fields
}
DeleteMeteringReportReader is a Reader for the DeleteMeteringReport structure.
func (*DeleteMeteringReportReader) ReadResponse ¶ added in v2.21.0
func (o *DeleteMeteringReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMeteringReportUnauthorized ¶ added in v2.21.0
type DeleteMeteringReportUnauthorized struct { }
DeleteMeteringReportUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewDeleteMeteringReportUnauthorized ¶ added in v2.21.0
func NewDeleteMeteringReportUnauthorized() *DeleteMeteringReportUnauthorized
NewDeleteMeteringReportUnauthorized creates a DeleteMeteringReportUnauthorized with default headers values
func (*DeleteMeteringReportUnauthorized) Error ¶ added in v2.21.0
func (o *DeleteMeteringReportUnauthorized) Error() string
type GetMeteringReportDefault ¶
type GetMeteringReportDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetMeteringReportDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetMeteringReportDefault ¶
func NewGetMeteringReportDefault(code int) *GetMeteringReportDefault
NewGetMeteringReportDefault creates a GetMeteringReportDefault with default headers values
func (*GetMeteringReportDefault) Code ¶
func (o *GetMeteringReportDefault) Code() int
Code gets the status code for the get metering report default response
func (*GetMeteringReportDefault) Error ¶
func (o *GetMeteringReportDefault) Error() string
func (*GetMeteringReportDefault) GetPayload ¶
func (o *GetMeteringReportDefault) GetPayload() *models.ErrorResponse
type GetMeteringReportForbidden ¶
type GetMeteringReportForbidden struct { }
GetMeteringReportForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetMeteringReportForbidden ¶
func NewGetMeteringReportForbidden() *GetMeteringReportForbidden
NewGetMeteringReportForbidden creates a GetMeteringReportForbidden with default headers values
func (*GetMeteringReportForbidden) Error ¶
func (o *GetMeteringReportForbidden) Error() string
type GetMeteringReportOK ¶
GetMeteringReportOK describes a response with status code 200, with default header values.
MeteringReportURL
func NewGetMeteringReportOK ¶
func NewGetMeteringReportOK() *GetMeteringReportOK
NewGetMeteringReportOK creates a GetMeteringReportOK with default headers values
func (*GetMeteringReportOK) Error ¶
func (o *GetMeteringReportOK) Error() string
func (*GetMeteringReportOK) GetPayload ¶
func (o *GetMeteringReportOK) GetPayload() models.ReportURL
type GetMeteringReportParams ¶
type GetMeteringReportParams struct { // ConfigurationName. ConfigurationName *string // ReportName. ReportName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMeteringReportParams contains all the parameters to send to the API endpoint
for the get metering report operation. Typically these are written to a http.Request.
func NewGetMeteringReportParams ¶
func NewGetMeteringReportParams() *GetMeteringReportParams
NewGetMeteringReportParams creates a new GetMeteringReportParams 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 NewGetMeteringReportParamsWithContext ¶
func NewGetMeteringReportParamsWithContext(ctx context.Context) *GetMeteringReportParams
NewGetMeteringReportParamsWithContext creates a new GetMeteringReportParams object with the ability to set a context for a request.
func NewGetMeteringReportParamsWithHTTPClient ¶
func NewGetMeteringReportParamsWithHTTPClient(client *http.Client) *GetMeteringReportParams
NewGetMeteringReportParamsWithHTTPClient creates a new GetMeteringReportParams object with the ability to set a custom HTTPClient for a request.
func NewGetMeteringReportParamsWithTimeout ¶
func NewGetMeteringReportParamsWithTimeout(timeout time.Duration) *GetMeteringReportParams
NewGetMeteringReportParamsWithTimeout creates a new GetMeteringReportParams object with the ability to set a timeout on a request.
func (*GetMeteringReportParams) SetConfigurationName ¶ added in v2.21.0
func (o *GetMeteringReportParams) SetConfigurationName(configurationName *string)
SetConfigurationName adds the configurationName to the get metering report params
func (*GetMeteringReportParams) SetContext ¶
func (o *GetMeteringReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get metering report params
func (*GetMeteringReportParams) SetDefaults ¶
func (o *GetMeteringReportParams) SetDefaults()
SetDefaults hydrates default values in the get metering report params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringReportParams) SetHTTPClient ¶
func (o *GetMeteringReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metering report params
func (*GetMeteringReportParams) SetReportName ¶
func (o *GetMeteringReportParams) SetReportName(reportName string)
SetReportName adds the reportName to the get metering report params
func (*GetMeteringReportParams) SetTimeout ¶
func (o *GetMeteringReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metering report params
func (*GetMeteringReportParams) WithConfigurationName ¶ added in v2.21.0
func (o *GetMeteringReportParams) WithConfigurationName(configurationName *string) *GetMeteringReportParams
WithConfigurationName adds the configurationName to the get metering report params
func (*GetMeteringReportParams) WithContext ¶
func (o *GetMeteringReportParams) WithContext(ctx context.Context) *GetMeteringReportParams
WithContext adds the context to the get metering report params
func (*GetMeteringReportParams) WithDefaults ¶
func (o *GetMeteringReportParams) WithDefaults() *GetMeteringReportParams
WithDefaults hydrates default values in the get metering report params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringReportParams) WithHTTPClient ¶
func (o *GetMeteringReportParams) WithHTTPClient(client *http.Client) *GetMeteringReportParams
WithHTTPClient adds the HTTPClient to the get metering report params
func (*GetMeteringReportParams) WithReportName ¶
func (o *GetMeteringReportParams) WithReportName(reportName string) *GetMeteringReportParams
WithReportName adds the reportName to the get metering report params
func (*GetMeteringReportParams) WithTimeout ¶
func (o *GetMeteringReportParams) WithTimeout(timeout time.Duration) *GetMeteringReportParams
WithTimeout adds the timeout to the get metering report params
func (*GetMeteringReportParams) WriteToRequest ¶
func (o *GetMeteringReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMeteringReportReader ¶
type GetMeteringReportReader struct {
// contains filtered or unexported fields
}
GetMeteringReportReader is a Reader for the GetMeteringReport structure.
func (*GetMeteringReportReader) ReadResponse ¶
func (o *GetMeteringReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMeteringReportUnauthorized ¶
type GetMeteringReportUnauthorized struct { }
GetMeteringReportUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetMeteringReportUnauthorized ¶
func NewGetMeteringReportUnauthorized() *GetMeteringReportUnauthorized
NewGetMeteringReportUnauthorized creates a GetMeteringReportUnauthorized with default headers values
func (*GetMeteringReportUnauthorized) Error ¶
func (o *GetMeteringReportUnauthorized) Error() string
type ListMeteringReportsDefault ¶
type ListMeteringReportsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListMeteringReportsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListMeteringReportsDefault ¶
func NewListMeteringReportsDefault(code int) *ListMeteringReportsDefault
NewListMeteringReportsDefault creates a ListMeteringReportsDefault with default headers values
func (*ListMeteringReportsDefault) Code ¶
func (o *ListMeteringReportsDefault) Code() int
Code gets the status code for the list metering reports default response
func (*ListMeteringReportsDefault) Error ¶
func (o *ListMeteringReportsDefault) Error() string
func (*ListMeteringReportsDefault) GetPayload ¶
func (o *ListMeteringReportsDefault) GetPayload() *models.ErrorResponse
type ListMeteringReportsForbidden ¶
type ListMeteringReportsForbidden struct { }
ListMeteringReportsForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewListMeteringReportsForbidden ¶
func NewListMeteringReportsForbidden() *ListMeteringReportsForbidden
NewListMeteringReportsForbidden creates a ListMeteringReportsForbidden with default headers values
func (*ListMeteringReportsForbidden) Error ¶
func (o *ListMeteringReportsForbidden) Error() string
type ListMeteringReportsOK ¶
type ListMeteringReportsOK struct {
Payload []*models.MeteringReport
}
ListMeteringReportsOK describes a response with status code 200, with default header values.
MeteringReport
func NewListMeteringReportsOK ¶
func NewListMeteringReportsOK() *ListMeteringReportsOK
NewListMeteringReportsOK creates a ListMeteringReportsOK with default headers values
func (*ListMeteringReportsOK) Error ¶
func (o *ListMeteringReportsOK) Error() string
func (*ListMeteringReportsOK) GetPayload ¶
func (o *ListMeteringReportsOK) GetPayload() []*models.MeteringReport
type ListMeteringReportsParams ¶
type ListMeteringReportsParams struct { // ConfigurationName. ConfigurationName *string // MaxKeys. // // Format: int64 MaxKeys *int64 // StartAfter. StartAfter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMeteringReportsParams contains all the parameters to send to the API endpoint
for the list metering reports operation. Typically these are written to a http.Request.
func NewListMeteringReportsParams ¶
func NewListMeteringReportsParams() *ListMeteringReportsParams
NewListMeteringReportsParams creates a new ListMeteringReportsParams 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 NewListMeteringReportsParamsWithContext ¶
func NewListMeteringReportsParamsWithContext(ctx context.Context) *ListMeteringReportsParams
NewListMeteringReportsParamsWithContext creates a new ListMeteringReportsParams object with the ability to set a context for a request.
func NewListMeteringReportsParamsWithHTTPClient ¶
func NewListMeteringReportsParamsWithHTTPClient(client *http.Client) *ListMeteringReportsParams
NewListMeteringReportsParamsWithHTTPClient creates a new ListMeteringReportsParams object with the ability to set a custom HTTPClient for a request.
func NewListMeteringReportsParamsWithTimeout ¶
func NewListMeteringReportsParamsWithTimeout(timeout time.Duration) *ListMeteringReportsParams
NewListMeteringReportsParamsWithTimeout creates a new ListMeteringReportsParams object with the ability to set a timeout on a request.
func (*ListMeteringReportsParams) SetConfigurationName ¶ added in v2.21.0
func (o *ListMeteringReportsParams) SetConfigurationName(configurationName *string)
SetConfigurationName adds the configurationName to the list metering reports params
func (*ListMeteringReportsParams) SetContext ¶
func (o *ListMeteringReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the list metering reports params
func (*ListMeteringReportsParams) SetDefaults ¶
func (o *ListMeteringReportsParams) SetDefaults()
SetDefaults hydrates default values in the list metering reports params (not the query body).
All values with no default are reset to their zero value.
func (*ListMeteringReportsParams) SetHTTPClient ¶
func (o *ListMeteringReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list metering reports params
func (*ListMeteringReportsParams) SetMaxKeys ¶
func (o *ListMeteringReportsParams) SetMaxKeys(maxKeys *int64)
SetMaxKeys adds the maxKeys to the list metering reports params
func (*ListMeteringReportsParams) SetStartAfter ¶
func (o *ListMeteringReportsParams) SetStartAfter(startAfter *string)
SetStartAfter adds the startAfter to the list metering reports params
func (*ListMeteringReportsParams) SetTimeout ¶
func (o *ListMeteringReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list metering reports params
func (*ListMeteringReportsParams) WithConfigurationName ¶ added in v2.21.0
func (o *ListMeteringReportsParams) WithConfigurationName(configurationName *string) *ListMeteringReportsParams
WithConfigurationName adds the configurationName to the list metering reports params
func (*ListMeteringReportsParams) WithContext ¶
func (o *ListMeteringReportsParams) WithContext(ctx context.Context) *ListMeteringReportsParams
WithContext adds the context to the list metering reports params
func (*ListMeteringReportsParams) WithDefaults ¶
func (o *ListMeteringReportsParams) WithDefaults() *ListMeteringReportsParams
WithDefaults hydrates default values in the list metering reports params (not the query body).
All values with no default are reset to their zero value.
func (*ListMeteringReportsParams) WithHTTPClient ¶
func (o *ListMeteringReportsParams) WithHTTPClient(client *http.Client) *ListMeteringReportsParams
WithHTTPClient adds the HTTPClient to the list metering reports params
func (*ListMeteringReportsParams) WithMaxKeys ¶
func (o *ListMeteringReportsParams) WithMaxKeys(maxKeys *int64) *ListMeteringReportsParams
WithMaxKeys adds the maxKeys to the list metering reports params
func (*ListMeteringReportsParams) WithStartAfter ¶
func (o *ListMeteringReportsParams) WithStartAfter(startAfter *string) *ListMeteringReportsParams
WithStartAfter adds the startAfter to the list metering reports params
func (*ListMeteringReportsParams) WithTimeout ¶
func (o *ListMeteringReportsParams) WithTimeout(timeout time.Duration) *ListMeteringReportsParams
WithTimeout adds the timeout to the list metering reports params
func (*ListMeteringReportsParams) WriteToRequest ¶
func (o *ListMeteringReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMeteringReportsReader ¶
type ListMeteringReportsReader struct {
// contains filtered or unexported fields
}
ListMeteringReportsReader is a Reader for the ListMeteringReports structure.
func (*ListMeteringReportsReader) ReadResponse ¶
func (o *ListMeteringReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMeteringReportsUnauthorized ¶
type ListMeteringReportsUnauthorized struct { }
ListMeteringReportsUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewListMeteringReportsUnauthorized ¶
func NewListMeteringReportsUnauthorized() *ListMeteringReportsUnauthorized
NewListMeteringReportsUnauthorized creates a ListMeteringReportsUnauthorized with default headers values
func (*ListMeteringReportsUnauthorized) Error ¶
func (o *ListMeteringReportsUnauthorized) Error() string