global_statistic

package
v0.50.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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

func (a *Client) GetGlobalStatItems(params *GetGlobalStatItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGlobalStatItemsOK, 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, 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

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 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 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 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 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.

Jump to

Keyboard shortcuts

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