Documentation ¶
Index ¶
- type Client
- func (a *Client) GetGlobalStatItemByStatCode(params *GetGlobalStatItemByStatCodeParams, ...) (*GetGlobalStatItemByStatCodeOK, *GetGlobalStatItemByStatCodeUnauthorized, ...)deprecated
- func (a *Client) GetGlobalStatItemByStatCode1(params *GetGlobalStatItemByStatCode1Params, ...) (*GetGlobalStatItemByStatCode1OK, *GetGlobalStatItemByStatCode1Unauthorized, ...)deprecated
- func (a *Client) GetGlobalStatItemByStatCode1Short(params *GetGlobalStatItemByStatCode1Params, ...) (*GetGlobalStatItemByStatCode1OK, error)
- func (a *Client) GetGlobalStatItemByStatCodeShort(params *GetGlobalStatItemByStatCodeParams, ...) (*GetGlobalStatItemByStatCodeOK, error)
- func (a *Client) GetGlobalStatItems(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, *GetGlobalStatItemsUnauthorized, ...)deprecated
- func (a *Client) GetGlobalStatItems1(params *GetGlobalStatItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItems1OK, *GetGlobalStatItems1Unauthorized, ...)deprecated
- func (a *Client) GetGlobalStatItems1Short(params *GetGlobalStatItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItems1OK, error)
- func (a *Client) GetGlobalStatItemsShort(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetGlobalStatItemByStatCode1Forbidden
- type GetGlobalStatItemByStatCode1InternalServerError
- type GetGlobalStatItemByStatCode1NotFound
- type GetGlobalStatItemByStatCode1OK
- type GetGlobalStatItemByStatCode1Params
- func NewGetGlobalStatItemByStatCode1Params() *GetGlobalStatItemByStatCode1Params
- func NewGetGlobalStatItemByStatCode1ParamsWithContext(ctx context.Context) *GetGlobalStatItemByStatCode1Params
- func NewGetGlobalStatItemByStatCode1ParamsWithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCode1Params
- func NewGetGlobalStatItemByStatCode1ParamsWithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCode1Params
- func (o *GetGlobalStatItemByStatCode1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGlobalStatItemByStatCode1Params) SetContext(ctx context.Context)
- func (o *GetGlobalStatItemByStatCode1Params) SetHTTPClient(client *http.Client)
- func (o *GetGlobalStatItemByStatCode1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGlobalStatItemByStatCode1Params) SetNamespace(namespace string)
- func (o *GetGlobalStatItemByStatCode1Params) SetStatCode(statCode string)
- func (o *GetGlobalStatItemByStatCode1Params) SetTimeout(timeout time.Duration)
- func (o *GetGlobalStatItemByStatCode1Params) WithContext(ctx context.Context) *GetGlobalStatItemByStatCode1Params
- func (o *GetGlobalStatItemByStatCode1Params) WithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCode1Params
- func (o *GetGlobalStatItemByStatCode1Params) WithNamespace(namespace string) *GetGlobalStatItemByStatCode1Params
- func (o *GetGlobalStatItemByStatCode1Params) WithStatCode(statCode string) *GetGlobalStatItemByStatCode1Params
- func (o *GetGlobalStatItemByStatCode1Params) WithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCode1Params
- func (o *GetGlobalStatItemByStatCode1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalStatItemByStatCode1Reader
- type GetGlobalStatItemByStatCode1Unauthorized
- type GetGlobalStatItemByStatCodeForbidden
- type GetGlobalStatItemByStatCodeInternalServerError
- type GetGlobalStatItemByStatCodeNotFound
- type GetGlobalStatItemByStatCodeOK
- type GetGlobalStatItemByStatCodeParams
- func NewGetGlobalStatItemByStatCodeParams() *GetGlobalStatItemByStatCodeParams
- func NewGetGlobalStatItemByStatCodeParamsWithContext(ctx context.Context) *GetGlobalStatItemByStatCodeParams
- func NewGetGlobalStatItemByStatCodeParamsWithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCodeParams
- func NewGetGlobalStatItemByStatCodeParamsWithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCodeParams
- func (o *GetGlobalStatItemByStatCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGlobalStatItemByStatCodeParams) SetContext(ctx context.Context)
- func (o *GetGlobalStatItemByStatCodeParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalStatItemByStatCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGlobalStatItemByStatCodeParams) SetNamespace(namespace string)
- func (o *GetGlobalStatItemByStatCodeParams) SetStatCode(statCode string)
- func (o *GetGlobalStatItemByStatCodeParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalStatItemByStatCodeParams) WithContext(ctx context.Context) *GetGlobalStatItemByStatCodeParams
- func (o *GetGlobalStatItemByStatCodeParams) WithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCodeParams
- func (o *GetGlobalStatItemByStatCodeParams) WithNamespace(namespace string) *GetGlobalStatItemByStatCodeParams
- func (o *GetGlobalStatItemByStatCodeParams) WithStatCode(statCode string) *GetGlobalStatItemByStatCodeParams
- func (o *GetGlobalStatItemByStatCodeParams) WithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCodeParams
- func (o *GetGlobalStatItemByStatCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalStatItemByStatCodeReader
- type GetGlobalStatItemByStatCodeUnauthorized
- type GetGlobalStatItems1Forbidden
- type GetGlobalStatItems1InternalServerError
- type GetGlobalStatItems1OK
- type GetGlobalStatItems1Params
- func NewGetGlobalStatItems1Params() *GetGlobalStatItems1Params
- func NewGetGlobalStatItems1ParamsWithContext(ctx context.Context) *GetGlobalStatItems1Params
- func NewGetGlobalStatItems1ParamsWithHTTPClient(client *http.Client) *GetGlobalStatItems1Params
- func NewGetGlobalStatItems1ParamsWithTimeout(timeout time.Duration) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGlobalStatItems1Params) SetContext(ctx context.Context)
- func (o *GetGlobalStatItems1Params) SetHTTPClient(client *http.Client)
- func (o *GetGlobalStatItems1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGlobalStatItems1Params) SetLimit(limit *int32)
- func (o *GetGlobalStatItems1Params) SetNamespace(namespace string)
- func (o *GetGlobalStatItems1Params) SetOffset(offset *int32)
- func (o *GetGlobalStatItems1Params) SetStatCodes(statCodes *string)
- func (o *GetGlobalStatItems1Params) SetTimeout(timeout time.Duration)
- func (o *GetGlobalStatItems1Params) WithContext(ctx context.Context) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) WithHTTPClient(client *http.Client) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) WithLimit(limit *int32) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) WithNamespace(namespace string) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) WithOffset(offset *int32) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) WithStatCodes(statCodes *string) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) WithTimeout(timeout time.Duration) *GetGlobalStatItems1Params
- func (o *GetGlobalStatItems1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalStatItems1Reader
- type GetGlobalStatItems1Unauthorized
- type GetGlobalStatItemsForbidden
- type GetGlobalStatItemsInternalServerError
- 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) SetStatCodes(statCodes *string)
- 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) WithStatCodes(statCodes *string) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WithTimeout(timeout time.Duration) *GetGlobalStatItemsParams
- func (o *GetGlobalStatItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalStatItemsReader
- type GetGlobalStatItemsUnauthorized
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) GetGlobalStatItemByStatCode
deprecated
added in
v0.35.0
func (a *Client) GetGlobalStatItemByStatCode(params *GetGlobalStatItemByStatCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCodeOK, *GetGlobalStatItemByStatCodeUnauthorized, *GetGlobalStatItemByStatCodeForbidden, *GetGlobalStatItemByStatCodeNotFound, *GetGlobalStatItemByStatCodeInternalServerError, error)
Deprecated: 2022-08-10 - Use GetGlobalStatItemByStatCodeShort instead.
GetGlobalStatItemByStatCode get global statitem by stat code Get global statItem by stat code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : global stat item
func (*Client) GetGlobalStatItemByStatCode1
deprecated
added in
v0.35.0
func (a *Client) GetGlobalStatItemByStatCode1(params *GetGlobalStatItemByStatCode1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCode1OK, *GetGlobalStatItemByStatCode1Unauthorized, *GetGlobalStatItemByStatCode1Forbidden, *GetGlobalStatItemByStatCode1NotFound, *GetGlobalStatItemByStatCode1InternalServerError, error)
Deprecated: 2022-08-10 - Use GetGlobalStatItemByStatCode1Short instead.
GetGlobalStatItemByStatCode1 get global statitem by stat code Get global statItem by stat code. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : global stat item
func (*Client) GetGlobalStatItemByStatCode1Short ¶ added in v0.35.0
func (a *Client) GetGlobalStatItemByStatCode1Short(params *GetGlobalStatItemByStatCode1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCode1OK, error)
GetGlobalStatItemByStatCode1Short get global statitem by stat code Get global statItem by stat code. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : global stat item
func (*Client) GetGlobalStatItemByStatCodeShort ¶ added in v0.35.0
func (a *Client) GetGlobalStatItemByStatCodeShort(params *GetGlobalStatItemByStatCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCodeOK, error)
GetGlobalStatItemByStatCodeShort get global statitem by stat code Get global statItem by stat code. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : global stat item
func (*Client) GetGlobalStatItems
deprecated
func (a *Client) GetGlobalStatItems(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, *GetGlobalStatItemsUnauthorized, *GetGlobalStatItemsForbidden, *GetGlobalStatItemsInternalServerError, error)
Deprecated: 2022-08-10 - Use GetGlobalStatItemsShort instead.
GetGlobalStatItems list global statitems List global statItems by pagination. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : stat items
func (*Client) GetGlobalStatItems1
deprecated
added in
v0.35.0
func (a *Client) GetGlobalStatItems1(params *GetGlobalStatItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItems1OK, *GetGlobalStatItems1Unauthorized, *GetGlobalStatItems1Forbidden, *GetGlobalStatItems1InternalServerError, error)
Deprecated: 2022-08-10 - Use GetGlobalStatItems1Short instead.
GetGlobalStatItems1 list global statitems List global statItems by pagination. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : stat items
func (*Client) GetGlobalStatItems1Short ¶ added in v0.35.0
func (a *Client) GetGlobalStatItems1Short(params *GetGlobalStatItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItems1OK, error)
GetGlobalStatItems1Short list global statitems List global statItems by pagination. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : stat items
func (*Client) GetGlobalStatItemsShort ¶ added in v0.8.0
func (a *Client) GetGlobalStatItemsShort(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error)
GetGlobalStatItemsShort list global statitems List global statItems by pagination. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STATITEM", action=2 (READ)
- Returns : stat items
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, *GetGlobalStatItemsUnauthorized, *GetGlobalStatItemsForbidden, *GetGlobalStatItemsInternalServerError, error) GetGlobalStatItemsShort(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, error) GetGlobalStatItemByStatCode(params *GetGlobalStatItemByStatCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCodeOK, *GetGlobalStatItemByStatCodeUnauthorized, *GetGlobalStatItemByStatCodeForbidden, *GetGlobalStatItemByStatCodeNotFound, *GetGlobalStatItemByStatCodeInternalServerError, error) GetGlobalStatItemByStatCodeShort(params *GetGlobalStatItemByStatCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCodeOK, error) GetGlobalStatItems1(params *GetGlobalStatItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItems1OK, *GetGlobalStatItems1Unauthorized, *GetGlobalStatItems1Forbidden, *GetGlobalStatItems1InternalServerError, error) GetGlobalStatItems1Short(params *GetGlobalStatItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItems1OK, error) GetGlobalStatItemByStatCode1(params *GetGlobalStatItemByStatCode1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCode1OK, *GetGlobalStatItemByStatCode1Unauthorized, *GetGlobalStatItemByStatCode1Forbidden, *GetGlobalStatItemByStatCode1NotFound, *GetGlobalStatItemByStatCode1InternalServerError, error) GetGlobalStatItemByStatCode1Short(params *GetGlobalStatItemByStatCode1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemByStatCode1OK, 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 GetGlobalStatItemByStatCode1Forbidden ¶ added in v0.57.0
type GetGlobalStatItemByStatCode1Forbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemByStatCode1Forbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetGlobalStatItemByStatCode1Forbidden ¶ added in v0.57.0
func NewGetGlobalStatItemByStatCode1Forbidden() *GetGlobalStatItemByStatCode1Forbidden
NewGetGlobalStatItemByStatCode1Forbidden creates a GetGlobalStatItemByStatCode1Forbidden with default headers values
func (*GetGlobalStatItemByStatCode1Forbidden) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1Forbidden) Error() string
func (*GetGlobalStatItemByStatCode1Forbidden) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1Forbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCode1Forbidden) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1Forbidden) ToJSONString() string
type GetGlobalStatItemByStatCode1InternalServerError ¶ added in v0.57.0
type GetGlobalStatItemByStatCode1InternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemByStatCode1InternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetGlobalStatItemByStatCode1InternalServerError ¶ added in v0.57.0
func NewGetGlobalStatItemByStatCode1InternalServerError() *GetGlobalStatItemByStatCode1InternalServerError
NewGetGlobalStatItemByStatCode1InternalServerError creates a GetGlobalStatItemByStatCode1InternalServerError with default headers values
func (*GetGlobalStatItemByStatCode1InternalServerError) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1InternalServerError) Error() string
func (*GetGlobalStatItemByStatCode1InternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1InternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCode1InternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1InternalServerError) ToJSONString() string
type GetGlobalStatItemByStatCode1NotFound ¶ added in v0.35.0
type GetGlobalStatItemByStatCode1NotFound struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemByStatCode1NotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12244</td><td>Global stat item of [{statCode}] cannot be found in namespace [{namespace}]</td></tr></table>
func NewGetGlobalStatItemByStatCode1NotFound ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCode1NotFound() *GetGlobalStatItemByStatCode1NotFound
NewGetGlobalStatItemByStatCode1NotFound creates a GetGlobalStatItemByStatCode1NotFound with default headers values
func (*GetGlobalStatItemByStatCode1NotFound) Error ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1NotFound) Error() string
func (*GetGlobalStatItemByStatCode1NotFound) GetPayload ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1NotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCode1NotFound) ToJSONString ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1NotFound) ToJSONString() string
type GetGlobalStatItemByStatCode1OK ¶ added in v0.35.0
type GetGlobalStatItemByStatCode1OK struct {
Payload *socialclientmodels.GlobalStatItemInfo
}
GetGlobalStatItemByStatCode1OK handles this case with default header values.
successful operation
func NewGetGlobalStatItemByStatCode1OK ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCode1OK() *GetGlobalStatItemByStatCode1OK
NewGetGlobalStatItemByStatCode1OK creates a GetGlobalStatItemByStatCode1OK with default headers values
func (*GetGlobalStatItemByStatCode1OK) Error ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1OK) Error() string
func (*GetGlobalStatItemByStatCode1OK) GetPayload ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1OK) GetPayload() *socialclientmodels.GlobalStatItemInfo
func (*GetGlobalStatItemByStatCode1OK) ToJSONString ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1OK) ToJSONString() string
type GetGlobalStatItemByStatCode1Params ¶ added in v0.35.0
type GetGlobalStatItemByStatCode1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*StatCode stat Code */ StatCode string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGlobalStatItemByStatCode1Params contains all the parameters to send to the API endpoint for the get global stat item by stat code 1 operation typically these are written to a http.Request
func NewGetGlobalStatItemByStatCode1Params ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCode1Params() *GetGlobalStatItemByStatCode1Params
NewGetGlobalStatItemByStatCode1Params creates a new GetGlobalStatItemByStatCode1Params object with the default values initialized.
func NewGetGlobalStatItemByStatCode1ParamsWithContext ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCode1ParamsWithContext(ctx context.Context) *GetGlobalStatItemByStatCode1Params
NewGetGlobalStatItemByStatCode1ParamsWithContext creates a new GetGlobalStatItemByStatCode1Params object with the default values initialized, and the ability to set a context for a request
func NewGetGlobalStatItemByStatCode1ParamsWithHTTPClient ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCode1ParamsWithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCode1Params
NewGetGlobalStatItemByStatCode1ParamsWithHTTPClient creates a new GetGlobalStatItemByStatCode1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGlobalStatItemByStatCode1ParamsWithTimeout ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCode1ParamsWithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCode1Params
NewGetGlobalStatItemByStatCode1ParamsWithTimeout creates a new GetGlobalStatItemByStatCode1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetGlobalStatItemByStatCode1Params) SetAuthInfoWriter ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) SetContext ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) SetContext(ctx context.Context)
SetContext adds the context to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) SetHTTPClient ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) SetHTTPClientTransport ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) SetNamespace ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) SetStatCode ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) SetStatCode(statCode string)
SetStatCode adds the statCode to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) SetTimeout ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) WithContext ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) WithContext(ctx context.Context) *GetGlobalStatItemByStatCode1Params
WithContext adds the context to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) WithHTTPClient ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) WithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCode1Params
WithHTTPClient adds the HTTPClient to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) WithNamespace ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) WithNamespace(namespace string) *GetGlobalStatItemByStatCode1Params
WithNamespace adds the namespace to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) WithStatCode ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) WithStatCode(statCode string) *GetGlobalStatItemByStatCode1Params
WithStatCode adds the statCode to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) WithTimeout ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) WithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCode1Params
WithTimeout adds the timeout to the get global stat item by stat code 1 params
func (*GetGlobalStatItemByStatCode1Params) WriteToRequest ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalStatItemByStatCode1Reader ¶ added in v0.35.0
type GetGlobalStatItemByStatCode1Reader struct {
// contains filtered or unexported fields
}
GetGlobalStatItemByStatCode1Reader is a Reader for the GetGlobalStatItemByStatCode1 structure.
func (*GetGlobalStatItemByStatCode1Reader) ReadResponse ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCode1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalStatItemByStatCode1Unauthorized ¶ added in v0.57.0
type GetGlobalStatItemByStatCode1Unauthorized struct {
}GetGlobalStatItemByStatCode1Unauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetGlobalStatItemByStatCode1Unauthorized ¶ added in v0.57.0
func NewGetGlobalStatItemByStatCode1Unauthorized() *GetGlobalStatItemByStatCode1Unauthorized
NewGetGlobalStatItemByStatCode1Unauthorized creates a GetGlobalStatItemByStatCode1Unauthorized with default headers values
func (*GetGlobalStatItemByStatCode1Unauthorized) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1Unauthorized) Error() string
func (*GetGlobalStatItemByStatCode1Unauthorized) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1Unauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCode1Unauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCode1Unauthorized) ToJSONString() string
type GetGlobalStatItemByStatCodeForbidden ¶ added in v0.57.0
type GetGlobalStatItemByStatCodeForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemByStatCodeForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetGlobalStatItemByStatCodeForbidden ¶ added in v0.57.0
func NewGetGlobalStatItemByStatCodeForbidden() *GetGlobalStatItemByStatCodeForbidden
NewGetGlobalStatItemByStatCodeForbidden creates a GetGlobalStatItemByStatCodeForbidden with default headers values
func (*GetGlobalStatItemByStatCodeForbidden) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeForbidden) Error() string
func (*GetGlobalStatItemByStatCodeForbidden) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCodeForbidden) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeForbidden) ToJSONString() string
type GetGlobalStatItemByStatCodeInternalServerError ¶ added in v0.57.0
type GetGlobalStatItemByStatCodeInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemByStatCodeInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetGlobalStatItemByStatCodeInternalServerError ¶ added in v0.57.0
func NewGetGlobalStatItemByStatCodeInternalServerError() *GetGlobalStatItemByStatCodeInternalServerError
NewGetGlobalStatItemByStatCodeInternalServerError creates a GetGlobalStatItemByStatCodeInternalServerError with default headers values
func (*GetGlobalStatItemByStatCodeInternalServerError) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeInternalServerError) Error() string
func (*GetGlobalStatItemByStatCodeInternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCodeInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeInternalServerError) ToJSONString() string
type GetGlobalStatItemByStatCodeNotFound ¶ added in v0.35.0
type GetGlobalStatItemByStatCodeNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemByStatCodeNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12244</td><td>Global stat item of [{statCode}] cannot be found in namespace [{namespace}]</td></tr></table>
func NewGetGlobalStatItemByStatCodeNotFound ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCodeNotFound() *GetGlobalStatItemByStatCodeNotFound
NewGetGlobalStatItemByStatCodeNotFound creates a GetGlobalStatItemByStatCodeNotFound with default headers values
func (*GetGlobalStatItemByStatCodeNotFound) Error ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeNotFound) Error() string
func (*GetGlobalStatItemByStatCodeNotFound) GetPayload ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCodeNotFound) ToJSONString ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeNotFound) ToJSONString() string
type GetGlobalStatItemByStatCodeOK ¶ added in v0.35.0
type GetGlobalStatItemByStatCodeOK struct {
Payload *socialclientmodels.GlobalStatItemInfo
}
GetGlobalStatItemByStatCodeOK handles this case with default header values.
successful operation
func NewGetGlobalStatItemByStatCodeOK ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCodeOK() *GetGlobalStatItemByStatCodeOK
NewGetGlobalStatItemByStatCodeOK creates a GetGlobalStatItemByStatCodeOK with default headers values
func (*GetGlobalStatItemByStatCodeOK) Error ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeOK) Error() string
func (*GetGlobalStatItemByStatCodeOK) GetPayload ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeOK) GetPayload() *socialclientmodels.GlobalStatItemInfo
func (*GetGlobalStatItemByStatCodeOK) ToJSONString ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeOK) ToJSONString() string
type GetGlobalStatItemByStatCodeParams ¶ added in v0.35.0
type GetGlobalStatItemByStatCodeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*StatCode stat Code */ StatCode string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGlobalStatItemByStatCodeParams contains all the parameters to send to the API endpoint for the get global stat item by stat code operation typically these are written to a http.Request
func NewGetGlobalStatItemByStatCodeParams ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCodeParams() *GetGlobalStatItemByStatCodeParams
NewGetGlobalStatItemByStatCodeParams creates a new GetGlobalStatItemByStatCodeParams object with the default values initialized.
func NewGetGlobalStatItemByStatCodeParamsWithContext ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCodeParamsWithContext(ctx context.Context) *GetGlobalStatItemByStatCodeParams
NewGetGlobalStatItemByStatCodeParamsWithContext creates a new GetGlobalStatItemByStatCodeParams object with the default values initialized, and the ability to set a context for a request
func NewGetGlobalStatItemByStatCodeParamsWithHTTPClient ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCodeParamsWithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCodeParams
NewGetGlobalStatItemByStatCodeParamsWithHTTPClient creates a new GetGlobalStatItemByStatCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGlobalStatItemByStatCodeParamsWithTimeout ¶ added in v0.35.0
func NewGetGlobalStatItemByStatCodeParamsWithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCodeParams
NewGetGlobalStatItemByStatCodeParamsWithTimeout creates a new GetGlobalStatItemByStatCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGlobalStatItemByStatCodeParams) SetAuthInfoWriter ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) SetContext ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) SetHTTPClient ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) SetHTTPClientTransport ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) SetNamespace ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) SetStatCode ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) SetStatCode(statCode string)
SetStatCode adds the statCode to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) SetTimeout ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) WithContext ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) WithContext(ctx context.Context) *GetGlobalStatItemByStatCodeParams
WithContext adds the context to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) WithHTTPClient ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) WithHTTPClient(client *http.Client) *GetGlobalStatItemByStatCodeParams
WithHTTPClient adds the HTTPClient to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) WithNamespace ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) WithNamespace(namespace string) *GetGlobalStatItemByStatCodeParams
WithNamespace adds the namespace to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) WithStatCode ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) WithStatCode(statCode string) *GetGlobalStatItemByStatCodeParams
WithStatCode adds the statCode to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) WithTimeout ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) WithTimeout(timeout time.Duration) *GetGlobalStatItemByStatCodeParams
WithTimeout adds the timeout to the get global stat item by stat code params
func (*GetGlobalStatItemByStatCodeParams) WriteToRequest ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalStatItemByStatCodeReader ¶ added in v0.35.0
type GetGlobalStatItemByStatCodeReader struct {
// contains filtered or unexported fields
}
GetGlobalStatItemByStatCodeReader is a Reader for the GetGlobalStatItemByStatCode structure.
func (*GetGlobalStatItemByStatCodeReader) ReadResponse ¶ added in v0.35.0
func (o *GetGlobalStatItemByStatCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalStatItemByStatCodeUnauthorized ¶ added in v0.57.0
type GetGlobalStatItemByStatCodeUnauthorized struct {
}GetGlobalStatItemByStatCodeUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetGlobalStatItemByStatCodeUnauthorized ¶ added in v0.57.0
func NewGetGlobalStatItemByStatCodeUnauthorized() *GetGlobalStatItemByStatCodeUnauthorized
NewGetGlobalStatItemByStatCodeUnauthorized creates a GetGlobalStatItemByStatCodeUnauthorized with default headers values
func (*GetGlobalStatItemByStatCodeUnauthorized) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeUnauthorized) Error() string
func (*GetGlobalStatItemByStatCodeUnauthorized) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemByStatCodeUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemByStatCodeUnauthorized) ToJSONString() string
type GetGlobalStatItems1Forbidden ¶ added in v0.57.0
type GetGlobalStatItems1Forbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItems1Forbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetGlobalStatItems1Forbidden ¶ added in v0.57.0
func NewGetGlobalStatItems1Forbidden() *GetGlobalStatItems1Forbidden
NewGetGlobalStatItems1Forbidden creates a GetGlobalStatItems1Forbidden with default headers values
func (*GetGlobalStatItems1Forbidden) Error ¶ added in v0.57.0
func (o *GetGlobalStatItems1Forbidden) Error() string
func (*GetGlobalStatItems1Forbidden) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItems1Forbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItems1Forbidden) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItems1Forbidden) ToJSONString() string
type GetGlobalStatItems1InternalServerError ¶ added in v0.57.0
type GetGlobalStatItems1InternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItems1InternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetGlobalStatItems1InternalServerError ¶ added in v0.57.0
func NewGetGlobalStatItems1InternalServerError() *GetGlobalStatItems1InternalServerError
NewGetGlobalStatItems1InternalServerError creates a GetGlobalStatItems1InternalServerError with default headers values
func (*GetGlobalStatItems1InternalServerError) Error ¶ added in v0.57.0
func (o *GetGlobalStatItems1InternalServerError) Error() string
func (*GetGlobalStatItems1InternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItems1InternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItems1InternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItems1InternalServerError) ToJSONString() string
type GetGlobalStatItems1OK ¶ added in v0.35.0
type GetGlobalStatItems1OK struct {
Payload *socialclientmodels.GlobalStatItemPagingSlicedResult
}
GetGlobalStatItems1OK handles this case with default header values.
successful operation
func NewGetGlobalStatItems1OK ¶ added in v0.35.0
func NewGetGlobalStatItems1OK() *GetGlobalStatItems1OK
NewGetGlobalStatItems1OK creates a GetGlobalStatItems1OK with default headers values
func (*GetGlobalStatItems1OK) Error ¶ added in v0.35.0
func (o *GetGlobalStatItems1OK) Error() string
func (*GetGlobalStatItems1OK) GetPayload ¶ added in v0.35.0
func (o *GetGlobalStatItems1OK) GetPayload() *socialclientmodels.GlobalStatItemPagingSlicedResult
func (*GetGlobalStatItems1OK) ToJSONString ¶ added in v0.35.0
func (o *GetGlobalStatItems1OK) ToJSONString() string
type GetGlobalStatItems1Params ¶ added in v0.35.0
type GetGlobalStatItems1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*StatCodes comma separated stat codes */ StatCodes *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGlobalStatItems1Params contains all the parameters to send to the API endpoint for the get global stat items 1 operation typically these are written to a http.Request
func NewGetGlobalStatItems1Params ¶ added in v0.35.0
func NewGetGlobalStatItems1Params() *GetGlobalStatItems1Params
NewGetGlobalStatItems1Params creates a new GetGlobalStatItems1Params object with the default values initialized.
func NewGetGlobalStatItems1ParamsWithContext ¶ added in v0.35.0
func NewGetGlobalStatItems1ParamsWithContext(ctx context.Context) *GetGlobalStatItems1Params
NewGetGlobalStatItems1ParamsWithContext creates a new GetGlobalStatItems1Params object with the default values initialized, and the ability to set a context for a request
func NewGetGlobalStatItems1ParamsWithHTTPClient ¶ added in v0.35.0
func NewGetGlobalStatItems1ParamsWithHTTPClient(client *http.Client) *GetGlobalStatItems1Params
NewGetGlobalStatItems1ParamsWithHTTPClient creates a new GetGlobalStatItems1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGlobalStatItems1ParamsWithTimeout ¶ added in v0.35.0
func NewGetGlobalStatItems1ParamsWithTimeout(timeout time.Duration) *GetGlobalStatItems1Params
NewGetGlobalStatItems1ParamsWithTimeout creates a new GetGlobalStatItems1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetGlobalStatItems1Params) SetAuthInfoWriter ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetContext ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetContext(ctx context.Context)
SetContext adds the context to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetHTTPClient ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetHTTPClientTransport ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetLimit ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetLimit(limit *int32)
SetLimit adds the limit to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetNamespace ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetOffset ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetOffset(offset *int32)
SetOffset adds the offset to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetStatCodes ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetStatCodes(statCodes *string)
SetStatCodes adds the statCodes to the get global stat items 1 params
func (*GetGlobalStatItems1Params) SetTimeout ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WithContext ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WithContext(ctx context.Context) *GetGlobalStatItems1Params
WithContext adds the context to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WithHTTPClient ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WithHTTPClient(client *http.Client) *GetGlobalStatItems1Params
WithHTTPClient adds the HTTPClient to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WithLimit ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WithLimit(limit *int32) *GetGlobalStatItems1Params
WithLimit adds the limit to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WithNamespace ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WithNamespace(namespace string) *GetGlobalStatItems1Params
WithNamespace adds the namespace to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WithOffset ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WithOffset(offset *int32) *GetGlobalStatItems1Params
WithOffset adds the offset to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WithStatCodes ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WithStatCodes(statCodes *string) *GetGlobalStatItems1Params
WithStatCodes adds the statCodes to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WithTimeout ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WithTimeout(timeout time.Duration) *GetGlobalStatItems1Params
WithTimeout adds the timeout to the get global stat items 1 params
func (*GetGlobalStatItems1Params) WriteToRequest ¶ added in v0.35.0
func (o *GetGlobalStatItems1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalStatItems1Reader ¶ added in v0.35.0
type GetGlobalStatItems1Reader struct {
// contains filtered or unexported fields
}
GetGlobalStatItems1Reader is a Reader for the GetGlobalStatItems1 structure.
func (*GetGlobalStatItems1Reader) ReadResponse ¶ added in v0.35.0
func (o *GetGlobalStatItems1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalStatItems1Unauthorized ¶ added in v0.57.0
type GetGlobalStatItems1Unauthorized struct {
}GetGlobalStatItems1Unauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetGlobalStatItems1Unauthorized ¶ added in v0.57.0
func NewGetGlobalStatItems1Unauthorized() *GetGlobalStatItems1Unauthorized
NewGetGlobalStatItems1Unauthorized creates a GetGlobalStatItems1Unauthorized with default headers values
func (*GetGlobalStatItems1Unauthorized) Error ¶ added in v0.57.0
func (o *GetGlobalStatItems1Unauthorized) Error() string
func (*GetGlobalStatItems1Unauthorized) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItems1Unauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItems1Unauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItems1Unauthorized) ToJSONString() string
type GetGlobalStatItemsForbidden ¶ added in v0.57.0
type GetGlobalStatItemsForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemsForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetGlobalStatItemsForbidden ¶ added in v0.57.0
func NewGetGlobalStatItemsForbidden() *GetGlobalStatItemsForbidden
NewGetGlobalStatItemsForbidden creates a GetGlobalStatItemsForbidden with default headers values
func (*GetGlobalStatItemsForbidden) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemsForbidden) Error() string
func (*GetGlobalStatItemsForbidden) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemsForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemsForbidden) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemsForbidden) ToJSONString() string
type GetGlobalStatItemsInternalServerError ¶ added in v0.57.0
type GetGlobalStatItemsInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetGlobalStatItemsInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetGlobalStatItemsInternalServerError ¶ added in v0.57.0
func NewGetGlobalStatItemsInternalServerError() *GetGlobalStatItemsInternalServerError
NewGetGlobalStatItemsInternalServerError creates a GetGlobalStatItemsInternalServerError with default headers values
func (*GetGlobalStatItemsInternalServerError) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemsInternalServerError) Error() string
func (*GetGlobalStatItemsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemsInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemsInternalServerError) ToJSONString() string
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
func (*GetGlobalStatItemsOK) ToJSONString ¶ added in v0.25.0
func (o *GetGlobalStatItemsOK) ToJSONString() string
type GetGlobalStatItemsParams ¶
type GetGlobalStatItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*StatCodes comma separated stat codes */ StatCodes *string 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) SetStatCodes ¶ added in v0.35.0
func (o *GetGlobalStatItemsParams) SetStatCodes(statCodes *string)
SetStatCodes adds the statCodes 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) WithStatCodes ¶ added in v0.35.0
func (o *GetGlobalStatItemsParams) WithStatCodes(statCodes *string) *GetGlobalStatItemsParams
WithStatCodes adds the statCodes 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.
type GetGlobalStatItemsUnauthorized ¶ added in v0.57.0
type GetGlobalStatItemsUnauthorized struct {
}GetGlobalStatItemsUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetGlobalStatItemsUnauthorized ¶ added in v0.57.0
func NewGetGlobalStatItemsUnauthorized() *GetGlobalStatItemsUnauthorized
NewGetGlobalStatItemsUnauthorized creates a GetGlobalStatItemsUnauthorized with default headers values
func (*GetGlobalStatItemsUnauthorized) Error ¶ added in v0.57.0
func (o *GetGlobalStatItemsUnauthorized) Error() string
func (*GetGlobalStatItemsUnauthorized) GetPayload ¶ added in v0.57.0
func (o *GetGlobalStatItemsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetGlobalStatItemsUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetGlobalStatItemsUnauthorized) ToJSONString() string
Source Files ¶
- get_global_stat_item_by_stat_code_1_parameters.go
- get_global_stat_item_by_stat_code_1_responses.go
- get_global_stat_item_by_stat_code_parameters.go
- get_global_stat_item_by_stat_code_responses.go
- get_global_stat_items_1_parameters.go
- get_global_stat_items_1_responses.go
- get_global_stat_items_parameters.go
- get_global_stat_items_responses.go
- global_statistic_client.go