global_statistic

package
v0.59.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 16 Imported by: 1

Documentation

Index

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

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

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

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

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 (*GetGlobalStatItemByStatCode1Forbidden) GetPayload added in v0.57.0

func (*GetGlobalStatItemByStatCode1Forbidden) ToJSONString added in v0.57.0

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 (*GetGlobalStatItemByStatCode1InternalServerError) GetPayload added in v0.57.0

func (*GetGlobalStatItemByStatCode1InternalServerError) ToJSONString added in v0.57.0

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 (*GetGlobalStatItemByStatCode1NotFound) GetPayload added in v0.35.0

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 (*GetGlobalStatItemByStatCode1OK) GetPayload added in v0.35.0

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

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

WithContext adds the context to the get global stat item by stat code 1 params

func (*GetGlobalStatItemByStatCode1Params) WithHTTPClient added in v0.35.0

WithHTTPClient adds the HTTPClient to the get global stat item by stat code 1 params

func (*GetGlobalStatItemByStatCode1Params) WithNamespace added in v0.35.0

WithNamespace adds the namespace to the get global stat item by stat code 1 params

func (*GetGlobalStatItemByStatCode1Params) WithStatCode added in v0.35.0

WithStatCode adds the statCode to the get global stat item by stat code 1 params

func (*GetGlobalStatItemByStatCode1Params) WithTimeout added in v0.35.0

WithTimeout adds the timeout to the get global stat item by stat code 1 params

func (*GetGlobalStatItemByStatCode1Params) WriteToRequest added in v0.35.0

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 {
	Payload *socialclientmodels.ErrorEntity
}

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 (*GetGlobalStatItemByStatCode1Unauthorized) GetPayload added in v0.57.0

func (*GetGlobalStatItemByStatCode1Unauthorized) ToJSONString added in v0.57.0

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 (*GetGlobalStatItemByStatCodeForbidden) GetPayload added in v0.57.0

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 (*GetGlobalStatItemByStatCodeInternalServerError) GetPayload added in v0.57.0

func (*GetGlobalStatItemByStatCodeInternalServerError) ToJSONString added in v0.57.0

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 (*GetGlobalStatItemByStatCodeNotFound) GetPayload added in v0.35.0

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 (*GetGlobalStatItemByStatCodeOK) GetPayload added in v0.35.0

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

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

WithContext adds the context to the get global stat item by stat code params

func (*GetGlobalStatItemByStatCodeParams) WithHTTPClient added in v0.35.0

WithHTTPClient adds the HTTPClient to the get global stat item by stat code params

func (*GetGlobalStatItemByStatCodeParams) WithNamespace added in v0.35.0

WithNamespace adds the namespace to the get global stat item by stat code params

func (*GetGlobalStatItemByStatCodeParams) WithStatCode added in v0.35.0

WithStatCode adds the statCode to the get global stat item by stat code params

func (*GetGlobalStatItemByStatCodeParams) WithTimeout added in v0.35.0

WithTimeout adds the timeout to the get global stat item by stat code params

func (*GetGlobalStatItemByStatCodeParams) WriteToRequest added in v0.35.0

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 {
	Payload *socialclientmodels.ErrorEntity
}

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 (*GetGlobalStatItemByStatCodeUnauthorized) GetPayload added in v0.57.0

func (*GetGlobalStatItemByStatCodeUnauthorized) ToJSONString added in v0.57.0

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 (*GetGlobalStatItems1Forbidden) GetPayload added in v0.57.0

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 (*GetGlobalStatItems1InternalServerError) GetPayload added in v0.57.0

func (*GetGlobalStatItems1InternalServerError) ToJSONString added in v0.57.0

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 (*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

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

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

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

WithTimeout adds the timeout to the get global stat items 1 params

func (*GetGlobalStatItems1Params) WriteToRequest added in v0.35.0

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 {
	Payload *socialclientmodels.ErrorEntity
}

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 (*GetGlobalStatItems1Unauthorized) GetPayload added in v0.57.0

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 (*GetGlobalStatItemsForbidden) GetPayload added in v0.57.0

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 (*GetGlobalStatItemsInternalServerError) GetPayload added in v0.57.0

func (*GetGlobalStatItemsInternalServerError) ToJSONString added in v0.57.0

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 (*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

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

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

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

WithTimeout adds the timeout to the get global stat items params

func (*GetGlobalStatItemsParams) WriteToRequest

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 {
	Payload *socialclientmodels.ErrorEntity
}

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 (*GetGlobalStatItemsUnauthorized) GetPayload added in v0.57.0

func (*GetGlobalStatItemsUnauthorized) ToJSONString added in v0.57.0

func (o *GetGlobalStatItemsUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL