Documentation ¶
Index ¶
- type Client
- func (a *Client) GetGlobalStatItems(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error)
- func (a *Client) GetGlobalStatItemsShort(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetGlobalStatItemsOK
- type GetGlobalStatItemsParams
- func NewGetGlobalStatItemsParams() *GetGlobalStatItemsParams
- func NewGetGlobalStatItemsParamsWithContext(ctx context.Context) *GetGlobalStatItemsParams
- func NewGetGlobalStatItemsParamsWithHTTPClient(client *http.Client) *GetGlobalStatItemsParams
- func NewGetGlobalStatItemsParamsWithTimeout(timeout time.Duration) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGlobalStatItemsParams) SetContext(ctx context.Context)
- func (o *GetGlobalStatItemsParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalStatItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGlobalStatItemsParams) SetLimit(limit *int32)
- func (o *GetGlobalStatItemsParams) SetNamespace(namespace string)
- func (o *GetGlobalStatItemsParams) SetOffset(offset *int32)
- func (o *GetGlobalStatItemsParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalStatItemsParams) WithContext(ctx context.Context) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WithHTTPClient(client *http.Client) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WithLimit(limit *int32) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WithNamespace(namespace string) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WithOffset(offset *int32) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WithTimeout(timeout time.Duration) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalStatItemsReader
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 global statistic API
func (*Client) GetGlobalStatItems ¶
func (a *Client) GetGlobalStatItems(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error)
GetGlobalStatItems lists global stat items
List global statItems by pagination.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STATITEM", action=2 (READ)</li><li><i>Returns</i>: stat items</li>ul
func (*Client) GetGlobalStatItemsShort ¶ added in v0.8.0
func (a *Client) GetGlobalStatItemsShort(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetGlobalStatItems(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error) GetGlobalStatItemsShort(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, 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 global statistic API client.
type GetGlobalStatItemsOK ¶
type GetGlobalStatItemsOK struct {
Payload *socialclientmodels.GlobalStatItemPagingSlicedResult
}
GetGlobalStatItemsOK handles this case with default header values.
successful operation
func NewGetGlobalStatItemsOK ¶
func NewGetGlobalStatItemsOK() *GetGlobalStatItemsOK
NewGetGlobalStatItemsOK creates a GetGlobalStatItemsOK with default headers values
func (*GetGlobalStatItemsOK) Error ¶
func (o *GetGlobalStatItemsOK) Error() string
func (*GetGlobalStatItemsOK) GetPayload ¶
func (o *GetGlobalStatItemsOK) GetPayload() *socialclientmodels.GlobalStatItemPagingSlicedResult
type GetGlobalStatItemsParams ¶
type GetGlobalStatItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit*/ Limit *int32 /*Namespace namespace */ Namespace string /*Offset*/ Offset *int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGlobalStatItemsParams contains all the parameters to send to the API endpoint for the get global stat items operation typically these are written to a http.Request
func NewGetGlobalStatItemsParams ¶
func NewGetGlobalStatItemsParams() *GetGlobalStatItemsParams
NewGetGlobalStatItemsParams creates a new GetGlobalStatItemsParams object with the default values initialized.
func NewGetGlobalStatItemsParamsWithContext ¶
func NewGetGlobalStatItemsParamsWithContext(ctx context.Context) *GetGlobalStatItemsParams
NewGetGlobalStatItemsParamsWithContext creates a new GetGlobalStatItemsParams object with the default values initialized, and the ability to set a context for a request
func NewGetGlobalStatItemsParamsWithHTTPClient ¶
func NewGetGlobalStatItemsParamsWithHTTPClient(client *http.Client) *GetGlobalStatItemsParams
NewGetGlobalStatItemsParamsWithHTTPClient creates a new GetGlobalStatItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGlobalStatItemsParamsWithTimeout ¶
func NewGetGlobalStatItemsParamsWithTimeout(timeout time.Duration) *GetGlobalStatItemsParams
NewGetGlobalStatItemsParamsWithTimeout creates a new GetGlobalStatItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGlobalStatItemsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetGlobalStatItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get global stat items params
func (*GetGlobalStatItemsParams) SetContext ¶
func (o *GetGlobalStatItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the get global stat items params
func (*GetGlobalStatItemsParams) SetHTTPClient ¶
func (o *GetGlobalStatItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global stat items params
func (*GetGlobalStatItemsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetGlobalStatItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get global stat items params
func (*GetGlobalStatItemsParams) SetLimit ¶
func (o *GetGlobalStatItemsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get global stat items params
func (*GetGlobalStatItemsParams) SetNamespace ¶
func (o *GetGlobalStatItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get global stat items params
func (*GetGlobalStatItemsParams) SetOffset ¶
func (o *GetGlobalStatItemsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get global stat items params
func (*GetGlobalStatItemsParams) SetTimeout ¶
func (o *GetGlobalStatItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global stat items params
func (*GetGlobalStatItemsParams) WithContext ¶
func (o *GetGlobalStatItemsParams) WithContext(ctx context.Context) *GetGlobalStatItemsParams
WithContext adds the context to the get global stat items params
func (*GetGlobalStatItemsParams) WithHTTPClient ¶
func (o *GetGlobalStatItemsParams) WithHTTPClient(client *http.Client) *GetGlobalStatItemsParams
WithHTTPClient adds the HTTPClient to the get global stat items params
func (*GetGlobalStatItemsParams) WithLimit ¶
func (o *GetGlobalStatItemsParams) WithLimit(limit *int32) *GetGlobalStatItemsParams
WithLimit adds the limit to the get global stat items params
func (*GetGlobalStatItemsParams) WithNamespace ¶
func (o *GetGlobalStatItemsParams) WithNamespace(namespace string) *GetGlobalStatItemsParams
WithNamespace adds the namespace to the get global stat items params
func (*GetGlobalStatItemsParams) WithOffset ¶
func (o *GetGlobalStatItemsParams) WithOffset(offset *int32) *GetGlobalStatItemsParams
WithOffset adds the offset to the get global stat items params
func (*GetGlobalStatItemsParams) WithTimeout ¶
func (o *GetGlobalStatItemsParams) WithTimeout(timeout time.Duration) *GetGlobalStatItemsParams
WithTimeout adds the timeout to the get global stat items params
func (*GetGlobalStatItemsParams) WriteToRequest ¶
func (o *GetGlobalStatItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalStatItemsReader ¶
type GetGlobalStatItemsReader struct {
// contains filtered or unexported fields
}
GetGlobalStatItemsReader is a Reader for the GetGlobalStatItems structure.
func (*GetGlobalStatItemsReader) ReadResponse ¶
func (o *GetGlobalStatItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.