global_statistic

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 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

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

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

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

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

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

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

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

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

func NewGetGlobalStatItemByStatCode1Forbidden() *GetGlobalStatItemByStatCode1Forbidden

NewGetGlobalStatItemByStatCode1Forbidden creates a GetGlobalStatItemByStatCode1Forbidden with default headers values

func (*GetGlobalStatItemByStatCode1Forbidden) Error

func (*GetGlobalStatItemByStatCode1Forbidden) GetPayload

func (*GetGlobalStatItemByStatCode1Forbidden) ToJSONString

type GetGlobalStatItemByStatCode1InternalServerError

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

func NewGetGlobalStatItemByStatCode1InternalServerError() *GetGlobalStatItemByStatCode1InternalServerError

NewGetGlobalStatItemByStatCode1InternalServerError creates a GetGlobalStatItemByStatCode1InternalServerError with default headers values

func (*GetGlobalStatItemByStatCode1InternalServerError) Error

func (*GetGlobalStatItemByStatCode1InternalServerError) GetPayload

func (*GetGlobalStatItemByStatCode1InternalServerError) ToJSONString

type GetGlobalStatItemByStatCode1NotFound

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

func NewGetGlobalStatItemByStatCode1NotFound() *GetGlobalStatItemByStatCode1NotFound

NewGetGlobalStatItemByStatCode1NotFound creates a GetGlobalStatItemByStatCode1NotFound with default headers values

func (*GetGlobalStatItemByStatCode1NotFound) Error

func (*GetGlobalStatItemByStatCode1NotFound) GetPayload

func (*GetGlobalStatItemByStatCode1NotFound) ToJSONString

func (o *GetGlobalStatItemByStatCode1NotFound) ToJSONString() string

type GetGlobalStatItemByStatCode1OK

type GetGlobalStatItemByStatCode1OK struct {
	Payload *socialclientmodels.GlobalStatItemInfo
}

GetGlobalStatItemByStatCode1OK handles this case with default header values.

successful operation

func NewGetGlobalStatItemByStatCode1OK

func NewGetGlobalStatItemByStatCode1OK() *GetGlobalStatItemByStatCode1OK

NewGetGlobalStatItemByStatCode1OK creates a GetGlobalStatItemByStatCode1OK with default headers values

func (*GetGlobalStatItemByStatCode1OK) Error

func (*GetGlobalStatItemByStatCode1OK) GetPayload

func (*GetGlobalStatItemByStatCode1OK) ToJSONString

func (o *GetGlobalStatItemByStatCode1OK) ToJSONString() string

type GetGlobalStatItemByStatCode1Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewGetGlobalStatItemByStatCode1Params() *GetGlobalStatItemByStatCode1Params

NewGetGlobalStatItemByStatCode1Params creates a new GetGlobalStatItemByStatCode1Params object with the default values initialized.

func NewGetGlobalStatItemByStatCode1ParamsWithContext

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

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

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

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

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

func (*GetGlobalStatItemByStatCode1Params) SetFlightId

func (o *GetGlobalStatItemByStatCode1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGlobalStatItemByStatCode1Params) SetHTTPClient

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

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

func (o *GetGlobalStatItemByStatCode1Params) SetNamespace(namespace string)

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

func (*GetGlobalStatItemByStatCode1Params) SetStatCode

func (o *GetGlobalStatItemByStatCode1Params) SetStatCode(statCode string)

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

func (*GetGlobalStatItemByStatCode1Params) SetTimeout

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

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

func (*GetGlobalStatItemByStatCode1Params) WithHTTPClient

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

func (*GetGlobalStatItemByStatCode1Params) WithNamespace

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

func (*GetGlobalStatItemByStatCode1Params) WithStatCode

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

func (*GetGlobalStatItemByStatCode1Params) WithTimeout

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

func (*GetGlobalStatItemByStatCode1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalStatItemByStatCode1Reader

type GetGlobalStatItemByStatCode1Reader struct {
	// contains filtered or unexported fields
}

GetGlobalStatItemByStatCode1Reader is a Reader for the GetGlobalStatItemByStatCode1 structure.

func (*GetGlobalStatItemByStatCode1Reader) ReadResponse

func (o *GetGlobalStatItemByStatCode1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGlobalStatItemByStatCode1Unauthorized

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

func NewGetGlobalStatItemByStatCode1Unauthorized() *GetGlobalStatItemByStatCode1Unauthorized

NewGetGlobalStatItemByStatCode1Unauthorized creates a GetGlobalStatItemByStatCode1Unauthorized with default headers values

func (*GetGlobalStatItemByStatCode1Unauthorized) Error

func (*GetGlobalStatItemByStatCode1Unauthorized) GetPayload

func (*GetGlobalStatItemByStatCode1Unauthorized) ToJSONString

type GetGlobalStatItemByStatCodeForbidden

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

func NewGetGlobalStatItemByStatCodeForbidden() *GetGlobalStatItemByStatCodeForbidden

NewGetGlobalStatItemByStatCodeForbidden creates a GetGlobalStatItemByStatCodeForbidden with default headers values

func (*GetGlobalStatItemByStatCodeForbidden) Error

func (*GetGlobalStatItemByStatCodeForbidden) GetPayload

func (*GetGlobalStatItemByStatCodeForbidden) ToJSONString

func (o *GetGlobalStatItemByStatCodeForbidden) ToJSONString() string

type GetGlobalStatItemByStatCodeInternalServerError

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

func NewGetGlobalStatItemByStatCodeInternalServerError() *GetGlobalStatItemByStatCodeInternalServerError

NewGetGlobalStatItemByStatCodeInternalServerError creates a GetGlobalStatItemByStatCodeInternalServerError with default headers values

func (*GetGlobalStatItemByStatCodeInternalServerError) Error

func (*GetGlobalStatItemByStatCodeInternalServerError) GetPayload

func (*GetGlobalStatItemByStatCodeInternalServerError) ToJSONString

type GetGlobalStatItemByStatCodeNotFound

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

func NewGetGlobalStatItemByStatCodeNotFound() *GetGlobalStatItemByStatCodeNotFound

NewGetGlobalStatItemByStatCodeNotFound creates a GetGlobalStatItemByStatCodeNotFound with default headers values

func (*GetGlobalStatItemByStatCodeNotFound) Error

func (*GetGlobalStatItemByStatCodeNotFound) GetPayload

func (*GetGlobalStatItemByStatCodeNotFound) ToJSONString

func (o *GetGlobalStatItemByStatCodeNotFound) ToJSONString() string

type GetGlobalStatItemByStatCodeOK

type GetGlobalStatItemByStatCodeOK struct {
	Payload *socialclientmodels.GlobalStatItemInfo
}

GetGlobalStatItemByStatCodeOK handles this case with default header values.

successful operation

func NewGetGlobalStatItemByStatCodeOK

func NewGetGlobalStatItemByStatCodeOK() *GetGlobalStatItemByStatCodeOK

NewGetGlobalStatItemByStatCodeOK creates a GetGlobalStatItemByStatCodeOK with default headers values

func (*GetGlobalStatItemByStatCodeOK) Error

func (*GetGlobalStatItemByStatCodeOK) GetPayload

func (*GetGlobalStatItemByStatCodeOK) ToJSONString

func (o *GetGlobalStatItemByStatCodeOK) ToJSONString() string

type GetGlobalStatItemByStatCodeParams

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewGetGlobalStatItemByStatCodeParams() *GetGlobalStatItemByStatCodeParams

NewGetGlobalStatItemByStatCodeParams creates a new GetGlobalStatItemByStatCodeParams object with the default values initialized.

func NewGetGlobalStatItemByStatCodeParamsWithContext

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

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

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

func (o *GetGlobalStatItemByStatCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get global stat item by stat code params

func (*GetGlobalStatItemByStatCodeParams) SetContext

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

func (*GetGlobalStatItemByStatCodeParams) SetFlightId

func (o *GetGlobalStatItemByStatCodeParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGlobalStatItemByStatCodeParams) SetHTTPClient

func (o *GetGlobalStatItemByStatCodeParams) SetHTTPClient(client *http.Client)

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

func (*GetGlobalStatItemByStatCodeParams) SetHTTPClientTransport

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

func (o *GetGlobalStatItemByStatCodeParams) SetNamespace(namespace string)

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

func (*GetGlobalStatItemByStatCodeParams) SetStatCode

func (o *GetGlobalStatItemByStatCodeParams) SetStatCode(statCode string)

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

func (*GetGlobalStatItemByStatCodeParams) SetTimeout

func (o *GetGlobalStatItemByStatCodeParams) SetTimeout(timeout time.Duration)

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

func (*GetGlobalStatItemByStatCodeParams) WithContext

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

func (*GetGlobalStatItemByStatCodeParams) WithHTTPClient

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

func (*GetGlobalStatItemByStatCodeParams) WithNamespace

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

func (*GetGlobalStatItemByStatCodeParams) WithStatCode

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

func (*GetGlobalStatItemByStatCodeParams) WithTimeout

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

func (*GetGlobalStatItemByStatCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalStatItemByStatCodeReader

type GetGlobalStatItemByStatCodeReader struct {
	// contains filtered or unexported fields
}

GetGlobalStatItemByStatCodeReader is a Reader for the GetGlobalStatItemByStatCode structure.

func (*GetGlobalStatItemByStatCodeReader) ReadResponse

func (o *GetGlobalStatItemByStatCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGlobalStatItemByStatCodeUnauthorized

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

func NewGetGlobalStatItemByStatCodeUnauthorized() *GetGlobalStatItemByStatCodeUnauthorized

NewGetGlobalStatItemByStatCodeUnauthorized creates a GetGlobalStatItemByStatCodeUnauthorized with default headers values

func (*GetGlobalStatItemByStatCodeUnauthorized) Error

func (*GetGlobalStatItemByStatCodeUnauthorized) GetPayload

func (*GetGlobalStatItemByStatCodeUnauthorized) ToJSONString

type GetGlobalStatItems1Forbidden

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

func NewGetGlobalStatItems1Forbidden() *GetGlobalStatItems1Forbidden

NewGetGlobalStatItems1Forbidden creates a GetGlobalStatItems1Forbidden with default headers values

func (*GetGlobalStatItems1Forbidden) Error

func (*GetGlobalStatItems1Forbidden) GetPayload

func (*GetGlobalStatItems1Forbidden) ToJSONString

func (o *GetGlobalStatItems1Forbidden) ToJSONString() string

type GetGlobalStatItems1InternalServerError

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

func NewGetGlobalStatItems1InternalServerError() *GetGlobalStatItems1InternalServerError

NewGetGlobalStatItems1InternalServerError creates a GetGlobalStatItems1InternalServerError with default headers values

func (*GetGlobalStatItems1InternalServerError) Error

func (*GetGlobalStatItems1InternalServerError) GetPayload

func (*GetGlobalStatItems1InternalServerError) ToJSONString

type GetGlobalStatItems1OK

type GetGlobalStatItems1OK struct {
	Payload *socialclientmodels.GlobalStatItemPagingSlicedResult
}

GetGlobalStatItems1OK handles this case with default header values.

successful operation

func NewGetGlobalStatItems1OK

func NewGetGlobalStatItems1OK() *GetGlobalStatItems1OK

NewGetGlobalStatItems1OK creates a GetGlobalStatItems1OK with default headers values

func (*GetGlobalStatItems1OK) Error

func (o *GetGlobalStatItems1OK) Error() string

func (*GetGlobalStatItems1OK) GetPayload

func (*GetGlobalStatItems1OK) ToJSONString

func (o *GetGlobalStatItems1OK) ToJSONString() string

type GetGlobalStatItems1Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewGetGlobalStatItems1Params() *GetGlobalStatItems1Params

NewGetGlobalStatItems1Params creates a new GetGlobalStatItems1Params object with the default values initialized.

func NewGetGlobalStatItems1ParamsWithContext

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

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

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

func (o *GetGlobalStatItems1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetContext

func (o *GetGlobalStatItems1Params) SetContext(ctx context.Context)

SetContext adds the context to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetFlightId

func (o *GetGlobalStatItems1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGlobalStatItems1Params) SetHTTPClient

func (o *GetGlobalStatItems1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetHTTPClientTransport

func (o *GetGlobalStatItems1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetLimit

func (o *GetGlobalStatItems1Params) SetLimit(limit *int32)

SetLimit adds the limit to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetNamespace

func (o *GetGlobalStatItems1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetOffset

func (o *GetGlobalStatItems1Params) SetOffset(offset *int32)

SetOffset adds the offset to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetStatCodes

func (o *GetGlobalStatItems1Params) SetStatCodes(statCodes *string)

SetStatCodes adds the statCodes to the get global stat items 1 params

func (*GetGlobalStatItems1Params) SetTimeout

func (o *GetGlobalStatItems1Params) SetTimeout(timeout time.Duration)

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

func (*GetGlobalStatItems1Params) WithContext

WithContext adds the context to the get global stat items 1 params

func (*GetGlobalStatItems1Params) WithHTTPClient

func (o *GetGlobalStatItems1Params) WithHTTPClient(client *http.Client) *GetGlobalStatItems1Params

WithHTTPClient adds the HTTPClient to the get global stat items 1 params

func (*GetGlobalStatItems1Params) WithLimit

WithLimit adds the limit to the get global stat items 1 params

func (*GetGlobalStatItems1Params) WithNamespace

func (o *GetGlobalStatItems1Params) WithNamespace(namespace string) *GetGlobalStatItems1Params

WithNamespace adds the namespace to the get global stat items 1 params

func (*GetGlobalStatItems1Params) WithOffset

WithOffset adds the offset to the get global stat items 1 params

func (*GetGlobalStatItems1Params) WithStatCodes

func (o *GetGlobalStatItems1Params) WithStatCodes(statCodes *string) *GetGlobalStatItems1Params

WithStatCodes adds the statCodes to the get global stat items 1 params

func (*GetGlobalStatItems1Params) WithTimeout

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

func (*GetGlobalStatItems1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalStatItems1Reader

type GetGlobalStatItems1Reader struct {
	// contains filtered or unexported fields
}

GetGlobalStatItems1Reader is a Reader for the GetGlobalStatItems1 structure.

func (*GetGlobalStatItems1Reader) ReadResponse

func (o *GetGlobalStatItems1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGlobalStatItems1Unauthorized

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

func NewGetGlobalStatItems1Unauthorized() *GetGlobalStatItems1Unauthorized

NewGetGlobalStatItems1Unauthorized creates a GetGlobalStatItems1Unauthorized with default headers values

func (*GetGlobalStatItems1Unauthorized) Error

func (*GetGlobalStatItems1Unauthorized) GetPayload

func (*GetGlobalStatItems1Unauthorized) ToJSONString

func (o *GetGlobalStatItems1Unauthorized) ToJSONString() string

type GetGlobalStatItemsForbidden

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

func NewGetGlobalStatItemsForbidden() *GetGlobalStatItemsForbidden

NewGetGlobalStatItemsForbidden creates a GetGlobalStatItemsForbidden with default headers values

func (*GetGlobalStatItemsForbidden) Error

func (*GetGlobalStatItemsForbidden) GetPayload

func (*GetGlobalStatItemsForbidden) ToJSONString

func (o *GetGlobalStatItemsForbidden) ToJSONString() string

type GetGlobalStatItemsInternalServerError

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

func NewGetGlobalStatItemsInternalServerError() *GetGlobalStatItemsInternalServerError

NewGetGlobalStatItemsInternalServerError creates a GetGlobalStatItemsInternalServerError with default headers values

func (*GetGlobalStatItemsInternalServerError) Error

func (*GetGlobalStatItemsInternalServerError) GetPayload

func (*GetGlobalStatItemsInternalServerError) ToJSONString

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *GetGlobalStatItemsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGlobalStatItemsParams) SetHTTPClient

func (o *GetGlobalStatItemsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get global stat items params

func (*GetGlobalStatItemsParams) SetHTTPClientTransport

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

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

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

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

func NewGetGlobalStatItemsUnauthorized() *GetGlobalStatItemsUnauthorized

NewGetGlobalStatItemsUnauthorized creates a GetGlobalStatItemsUnauthorized with default headers values

func (*GetGlobalStatItemsUnauthorized) Error

func (*GetGlobalStatItemsUnauthorized) GetPayload

func (*GetGlobalStatItemsUnauthorized) ToJSONString

func (o *GetGlobalStatItemsUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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