stat_configuration

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 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 stat configuration API

func (*Client) CreateStat deprecated

Deprecated: 2022-08-10 - Use CreateStatShort instead.

CreateStat create stat Create stat. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)
  • Returns : created stat template
  • default minimum value is 0
  • default maximum value is 1.7976931348623157e+308
  • Field globalAggregationMethod will be ignored when setAsGlobal field is false

func (*Client) CreateStat1 deprecated

Deprecated: 2022-08-10 - Use CreateStat1Short instead.

CreateStat1 create stat Create stat. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:STAT", action=1 (CREATE)
  • Returns : created stat template
  • default minimum value is 0
  • default maximum value is 1.7976931348623157e+308
  • Field globalAggregationMethod will be ignored when setAsGlobal field is false

func (*Client) CreateStat1Short added in v0.8.0

func (a *Client) CreateStat1Short(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, error)

CreateStat1Short create stat Create stat. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:STAT", action=1 (CREATE)
  • Returns : created stat template
  • default minimum value is 0
  • default maximum value is 1.7976931348623157e+308
  • Field globalAggregationMethod will be ignored when setAsGlobal field is false

func (*Client) CreateStatShort added in v0.8.0

func (a *Client) CreateStatShort(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, error)

CreateStatShort create stat Create stat. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)
  • Returns : created stat template
  • default minimum value is 0
  • default maximum value is 1.7976931348623157e+308
  • Field globalAggregationMethod will be ignored when setAsGlobal field is false

func (*Client) DeleteStat deprecated

Deprecated: 2022-08-10 - Use DeleteStatShort instead.

DeleteStat deletes stat Deletes stat template. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)

func (*Client) DeleteStatShort added in v0.8.0

func (a *Client) DeleteStatShort(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, error)

DeleteStatShort deletes stat Deletes stat template. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)

func (*Client) DeleteTiedStat deprecated added in v0.29.0

Deprecated: 2022-08-10 - Use DeleteTiedStatShort instead.

DeleteTiedStat deletes tied stat Deletes stat template. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)

func (*Client) DeleteTiedStatShort added in v0.29.0

func (a *Client) DeleteTiedStatShort(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, error)

DeleteTiedStatShort deletes tied stat Deletes stat template. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)

func (*Client) ExportStats deprecated

Deprecated: 2022-08-10 - Use ExportStatsShort instead.

ExportStats export all stat configurations Export all stat configurations for a given namespace into file At current, only JSON file is supported.

Other detail info:

  • *Required permission*: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)

func (*Client) ExportStatsShort added in v0.8.0

func (a *Client) ExportStatsShort(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatsOK, error)

ExportStatsShort export all stat configurations Export all stat configurations for a given namespace into file At current, only JSON file is supported.

Other detail info:

  • *Required permission*: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)

func (*Client) GetStat deprecated

Deprecated: 2022-08-10 - Use GetStatShort instead.

GetStat get stat by statcode Get stat by statCode. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
  • Returns : stat info

func (*Client) GetStatShort added in v0.8.0

func (a *Client) GetStatShort(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, error)

GetStatShort get stat by statcode Get stat by statCode. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
  • Returns : stat info

func (*Client) GetStats deprecated

Deprecated: 2022-08-10 - Use GetStatsShort instead.

GetStats list stats List stats by pagination. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
  • Returns : stats

func (*Client) GetStatsShort added in v0.8.0

func (a *Client) GetStatsShort(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, error)

GetStatsShort list stats List stats by pagination. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
  • Returns : stats

func (*Client) ImportStats deprecated

Deprecated: 2022-08-10 - Use ImportStatsShort instead.

ImportStats import stat configurations Import stat configurations for a given namespace from file. At current, only JSON file is supported.

Other detail info:

  • *Required permission*: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)

func (*Client) ImportStatsShort added in v0.8.0

func (a *Client) ImportStatsShort(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, error)

ImportStatsShort import stat configurations Import stat configurations for a given namespace from file. At current, only JSON file is supported.

Other detail info:

  • *Required permission*: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)

func (*Client) QueryStats deprecated

Deprecated: 2022-08-10 - Use QueryStatsShort instead.

QueryStats query stats by keyword Query stats by keyword. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
  • Returns : stats

func (*Client) QueryStatsShort added in v0.8.0

func (a *Client) QueryStatsShort(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, error)

QueryStatsShort query stats by keyword Query stats by keyword. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
  • Returns : stats

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateStat deprecated

Deprecated: 2022-08-10 - Use UpdateStatShort instead.

UpdateStat update stat Update stat. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)
  • Returns : updated stat
  • Field globalAggregationMethod will be ignored when the stat is not set as global
  • Field globalAggregationMethod is not updatable when the stat status is TIED

func (*Client) UpdateStatShort added in v0.8.0

func (a *Client) UpdateStatShort(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, error)

UpdateStatShort update stat Update stat. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)
  • Returns : updated stat
  • Field globalAggregationMethod will be ignored when the stat is not set as global
  • Field globalAggregationMethod is not updatable when the stat status is TIED

type ClientService

type ClientService interface {
	GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, *GetStatsUnauthorized, *GetStatsForbidden, *GetStatsInternalServerError, error)
	GetStatsShort(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, error)
	CreateStat(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, *CreateStatBadRequest, *CreateStatUnauthorized, *CreateStatForbidden, *CreateStatNotFound, *CreateStatConflict, *CreateStatUnprocessableEntity, *CreateStatInternalServerError, error)
	CreateStatShort(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, error)
	ExportStats(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatsOK, *ExportStatsUnauthorized, *ExportStatsForbidden, *ExportStatsInternalServerError, error)
	ExportStatsShort(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatsOK, error)
	ImportStats(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, *ImportStatsBadRequest, *ImportStatsUnauthorized, *ImportStatsForbidden, *ImportStatsInternalServerError, error)
	ImportStatsShort(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, error)
	QueryStats(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, *QueryStatsUnauthorized, *QueryStatsForbidden, *QueryStatsInternalServerError, error)
	QueryStatsShort(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, error)
	GetStat(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, *GetStatUnauthorized, *GetStatForbidden, *GetStatNotFound, *GetStatInternalServerError, error)
	GetStatShort(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, error)
	DeleteStat(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, *DeleteStatUnauthorized, *DeleteStatForbidden, *DeleteStatNotFound, *DeleteStatInternalServerError, error)
	DeleteStatShort(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, error)
	UpdateStat(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, *UpdateStatBadRequest, *UpdateStatUnauthorized, *UpdateStatForbidden, *UpdateStatNotFound, *UpdateStatInternalServerError, error)
	UpdateStatShort(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, error)
	DeleteTiedStat(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, *DeleteTiedStatUnauthorized, *DeleteTiedStatForbidden, *DeleteTiedStatNotFound, *DeleteTiedStatConflict, *DeleteTiedStatInternalServerError, error)
	DeleteTiedStatShort(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, error)
	CreateStat1(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, *CreateStat1BadRequest, *CreateStat1Unauthorized, *CreateStat1Forbidden, *CreateStat1NotFound, *CreateStat1Conflict, *CreateStat1UnprocessableEntity, *CreateStat1InternalServerError, error)
	CreateStat1Short(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, 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 stat configuration API client.

type CreateStat1BadRequest added in v0.57.0

type CreateStat1BadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStat1BadRequest handles this case with default header values.

Bad request

func NewCreateStat1BadRequest added in v0.57.0

func NewCreateStat1BadRequest() *CreateStat1BadRequest

NewCreateStat1BadRequest creates a CreateStat1BadRequest with default headers values

func (*CreateStat1BadRequest) Error added in v0.57.0

func (o *CreateStat1BadRequest) Error() string

func (*CreateStat1BadRequest) GetPayload added in v0.57.0

func (*CreateStat1BadRequest) ToJSONString added in v0.57.0

func (o *CreateStat1BadRequest) ToJSONString() string

type CreateStat1Conflict

type CreateStat1Conflict struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStat1Conflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12271</td><td>Stat template with code [{statCode}] already exists in namespace [{namespace}]</td></tr></table>

func NewCreateStat1Conflict

func NewCreateStat1Conflict() *CreateStat1Conflict

NewCreateStat1Conflict creates a CreateStat1Conflict with default headers values

func (*CreateStat1Conflict) Error

func (o *CreateStat1Conflict) Error() string

func (*CreateStat1Conflict) GetPayload

func (*CreateStat1Conflict) ToJSONString added in v0.25.0

func (o *CreateStat1Conflict) ToJSONString() string

type CreateStat1Created

type CreateStat1Created struct {
	Payload *socialclientmodels.StatInfo
}

CreateStat1Created handles this case with default header values.

Create stat successfully

func NewCreateStat1Created

func NewCreateStat1Created() *CreateStat1Created

NewCreateStat1Created creates a CreateStat1Created with default headers values

func (*CreateStat1Created) Error

func (o *CreateStat1Created) Error() string

func (*CreateStat1Created) GetPayload

func (*CreateStat1Created) ToJSONString added in v0.25.0

func (o *CreateStat1Created) ToJSONString() string

type CreateStat1Forbidden added in v0.57.0

type CreateStat1Forbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStat1Forbidden 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 NewCreateStat1Forbidden added in v0.57.0

func NewCreateStat1Forbidden() *CreateStat1Forbidden

NewCreateStat1Forbidden creates a CreateStat1Forbidden with default headers values

func (*CreateStat1Forbidden) Error added in v0.57.0

func (o *CreateStat1Forbidden) Error() string

func (*CreateStat1Forbidden) GetPayload added in v0.57.0

func (*CreateStat1Forbidden) ToJSONString added in v0.57.0

func (o *CreateStat1Forbidden) ToJSONString() string

type CreateStat1InternalServerError added in v0.57.0

type CreateStat1InternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStat1InternalServerError 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 NewCreateStat1InternalServerError added in v0.57.0

func NewCreateStat1InternalServerError() *CreateStat1InternalServerError

NewCreateStat1InternalServerError creates a CreateStat1InternalServerError with default headers values

func (*CreateStat1InternalServerError) Error added in v0.57.0

func (*CreateStat1InternalServerError) GetPayload added in v0.57.0

func (*CreateStat1InternalServerError) ToJSONString added in v0.57.0

func (o *CreateStat1InternalServerError) ToJSONString() string

type CreateStat1NotFound added in v0.40.0

type CreateStat1NotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStat1NotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12245</td><td>Stat cycle [{id}] cannot be found in namespace [{namespace}]</td></tr></table>

func NewCreateStat1NotFound added in v0.40.0

func NewCreateStat1NotFound() *CreateStat1NotFound

NewCreateStat1NotFound creates a CreateStat1NotFound with default headers values

func (*CreateStat1NotFound) Error added in v0.40.0

func (o *CreateStat1NotFound) Error() string

func (*CreateStat1NotFound) GetPayload added in v0.40.0

func (*CreateStat1NotFound) ToJSONString added in v0.40.0

func (o *CreateStat1NotFound) ToJSONString() string

type CreateStat1Params

type CreateStat1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.StatCreate
	/*Namespace
	  namespace

	*/
	Namespace 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
}

CreateStat1Params contains all the parameters to send to the API endpoint for the create stat 1 operation typically these are written to a http.Request

func NewCreateStat1Params

func NewCreateStat1Params() *CreateStat1Params

NewCreateStat1Params creates a new CreateStat1Params object with the default values initialized.

func NewCreateStat1ParamsWithContext

func NewCreateStat1ParamsWithContext(ctx context.Context) *CreateStat1Params

NewCreateStat1ParamsWithContext creates a new CreateStat1Params object with the default values initialized, and the ability to set a context for a request

func NewCreateStat1ParamsWithHTTPClient

func NewCreateStat1ParamsWithHTTPClient(client *http.Client) *CreateStat1Params

NewCreateStat1ParamsWithHTTPClient creates a new CreateStat1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateStat1ParamsWithTimeout

func NewCreateStat1ParamsWithTimeout(timeout time.Duration) *CreateStat1Params

NewCreateStat1ParamsWithTimeout creates a new CreateStat1Params object with the default values initialized, and the ability to set a timeout on a request

func (*CreateStat1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the create stat 1 params

func (*CreateStat1Params) SetBody

SetBody adds the body to the create stat 1 params

func (*CreateStat1Params) SetContext

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

SetContext adds the context to the create stat 1 params

func (*CreateStat1Params) SetFlightId added in v0.63.0

func (o *CreateStat1Params) SetFlightId(flightId string)

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

func (*CreateStat1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create stat 1 params

func (*CreateStat1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the create stat 1 params

func (*CreateStat1Params) SetNamespace

func (o *CreateStat1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the create stat 1 params

func (*CreateStat1Params) SetTimeout

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

SetTimeout adds the timeout to the create stat 1 params

func (*CreateStat1Params) WithBody

WithBody adds the body to the create stat 1 params

func (*CreateStat1Params) WithContext

func (o *CreateStat1Params) WithContext(ctx context.Context) *CreateStat1Params

WithContext adds the context to the create stat 1 params

func (*CreateStat1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create stat 1 params

func (*CreateStat1Params) WithNamespace

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

WithNamespace adds the namespace to the create stat 1 params

func (*CreateStat1Params) WithTimeout

func (o *CreateStat1Params) WithTimeout(timeout time.Duration) *CreateStat1Params

WithTimeout adds the timeout to the create stat 1 params

func (*CreateStat1Params) WriteToRequest

func (o *CreateStat1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateStat1Reader

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

CreateStat1Reader is a Reader for the CreateStat1 structure.

func (*CreateStat1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateStat1Unauthorized added in v0.57.0

type CreateStat1Unauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStat1Unauthorized 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 NewCreateStat1Unauthorized added in v0.57.0

func NewCreateStat1Unauthorized() *CreateStat1Unauthorized

NewCreateStat1Unauthorized creates a CreateStat1Unauthorized with default headers values

func (*CreateStat1Unauthorized) Error added in v0.57.0

func (o *CreateStat1Unauthorized) Error() string

func (*CreateStat1Unauthorized) GetPayload added in v0.57.0

func (*CreateStat1Unauthorized) ToJSONString added in v0.57.0

func (o *CreateStat1Unauthorized) ToJSONString() string

type CreateStat1UnprocessableEntity added in v0.57.0

type CreateStat1UnprocessableEntity struct {
	Payload *socialclientmodels.ValidationErrorEntity
}

CreateStat1UnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreateStat1UnprocessableEntity added in v0.57.0

func NewCreateStat1UnprocessableEntity() *CreateStat1UnprocessableEntity

NewCreateStat1UnprocessableEntity creates a CreateStat1UnprocessableEntity with default headers values

func (*CreateStat1UnprocessableEntity) Error added in v0.57.0

func (*CreateStat1UnprocessableEntity) GetPayload added in v0.57.0

func (*CreateStat1UnprocessableEntity) ToJSONString added in v0.57.0

func (o *CreateStat1UnprocessableEntity) ToJSONString() string

type CreateStatBadRequest added in v0.57.0

type CreateStatBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStatBadRequest handles this case with default header values.

Bad request

func NewCreateStatBadRequest added in v0.57.0

func NewCreateStatBadRequest() *CreateStatBadRequest

NewCreateStatBadRequest creates a CreateStatBadRequest with default headers values

func (*CreateStatBadRequest) Error added in v0.57.0

func (o *CreateStatBadRequest) Error() string

func (*CreateStatBadRequest) GetPayload added in v0.57.0

func (*CreateStatBadRequest) ToJSONString added in v0.57.0

func (o *CreateStatBadRequest) ToJSONString() string

type CreateStatConflict

type CreateStatConflict struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStatConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12271</td><td>Stat template with code [{statCode}] already exists in namespace [{namespace}]</td></tr></table>

func NewCreateStatConflict

func NewCreateStatConflict() *CreateStatConflict

NewCreateStatConflict creates a CreateStatConflict with default headers values

func (*CreateStatConflict) Error

func (o *CreateStatConflict) Error() string

func (*CreateStatConflict) GetPayload

func (*CreateStatConflict) ToJSONString added in v0.25.0

func (o *CreateStatConflict) ToJSONString() string

type CreateStatCreated

type CreateStatCreated struct {
	Payload *socialclientmodels.StatInfo
}

CreateStatCreated handles this case with default header values.

Create stat successfully

func NewCreateStatCreated

func NewCreateStatCreated() *CreateStatCreated

NewCreateStatCreated creates a CreateStatCreated with default headers values

func (*CreateStatCreated) Error

func (o *CreateStatCreated) Error() string

func (*CreateStatCreated) GetPayload

func (*CreateStatCreated) ToJSONString added in v0.25.0

func (o *CreateStatCreated) ToJSONString() string

type CreateStatForbidden added in v0.57.0

type CreateStatForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStatForbidden 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 NewCreateStatForbidden added in v0.57.0

func NewCreateStatForbidden() *CreateStatForbidden

NewCreateStatForbidden creates a CreateStatForbidden with default headers values

func (*CreateStatForbidden) Error added in v0.57.0

func (o *CreateStatForbidden) Error() string

func (*CreateStatForbidden) GetPayload added in v0.57.0

func (*CreateStatForbidden) ToJSONString added in v0.57.0

func (o *CreateStatForbidden) ToJSONString() string

type CreateStatInternalServerError added in v0.57.0

type CreateStatInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStatInternalServerError 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 NewCreateStatInternalServerError added in v0.57.0

func NewCreateStatInternalServerError() *CreateStatInternalServerError

NewCreateStatInternalServerError creates a CreateStatInternalServerError with default headers values

func (*CreateStatInternalServerError) Error added in v0.57.0

func (*CreateStatInternalServerError) GetPayload added in v0.57.0

func (*CreateStatInternalServerError) ToJSONString added in v0.57.0

func (o *CreateStatInternalServerError) ToJSONString() string

type CreateStatNotFound added in v0.39.0

type CreateStatNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStatNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12245</td><td>Stat cycle [{id}] cannot be found in namespace [{namespace}]</td></tr></table>

func NewCreateStatNotFound added in v0.39.0

func NewCreateStatNotFound() *CreateStatNotFound

NewCreateStatNotFound creates a CreateStatNotFound with default headers values

func (*CreateStatNotFound) Error added in v0.39.0

func (o *CreateStatNotFound) Error() string

func (*CreateStatNotFound) GetPayload added in v0.39.0

func (*CreateStatNotFound) ToJSONString added in v0.39.0

func (o *CreateStatNotFound) ToJSONString() string

type CreateStatParams

type CreateStatParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.StatCreate
	/*Namespace
	  namespace

	*/
	Namespace 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
}

CreateStatParams contains all the parameters to send to the API endpoint for the create stat operation typically these are written to a http.Request

func NewCreateStatParams

func NewCreateStatParams() *CreateStatParams

NewCreateStatParams creates a new CreateStatParams object with the default values initialized.

func NewCreateStatParamsWithContext

func NewCreateStatParamsWithContext(ctx context.Context) *CreateStatParams

NewCreateStatParamsWithContext creates a new CreateStatParams object with the default values initialized, and the ability to set a context for a request

func NewCreateStatParamsWithHTTPClient

func NewCreateStatParamsWithHTTPClient(client *http.Client) *CreateStatParams

NewCreateStatParamsWithHTTPClient creates a new CreateStatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateStatParamsWithTimeout

func NewCreateStatParamsWithTimeout(timeout time.Duration) *CreateStatParams

NewCreateStatParamsWithTimeout creates a new CreateStatParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateStatParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the create stat params

func (*CreateStatParams) SetBody

SetBody adds the body to the create stat params

func (*CreateStatParams) SetContext

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

SetContext adds the context to the create stat params

func (*CreateStatParams) SetFlightId added in v0.63.0

func (o *CreateStatParams) SetFlightId(flightId string)

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

func (*CreateStatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create stat params

func (*CreateStatParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the create stat params

func (*CreateStatParams) SetNamespace

func (o *CreateStatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create stat params

func (*CreateStatParams) SetTimeout

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

SetTimeout adds the timeout to the create stat params

func (*CreateStatParams) WithBody

WithBody adds the body to the create stat params

func (*CreateStatParams) WithContext

func (o *CreateStatParams) WithContext(ctx context.Context) *CreateStatParams

WithContext adds the context to the create stat params

func (*CreateStatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create stat params

func (*CreateStatParams) WithNamespace

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

WithNamespace adds the namespace to the create stat params

func (*CreateStatParams) WithTimeout

func (o *CreateStatParams) WithTimeout(timeout time.Duration) *CreateStatParams

WithTimeout adds the timeout to the create stat params

func (*CreateStatParams) WriteToRequest

func (o *CreateStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateStatReader

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

CreateStatReader is a Reader for the CreateStat structure.

func (*CreateStatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateStatUnauthorized added in v0.57.0

type CreateStatUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

CreateStatUnauthorized 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 NewCreateStatUnauthorized added in v0.57.0

func NewCreateStatUnauthorized() *CreateStatUnauthorized

NewCreateStatUnauthorized creates a CreateStatUnauthorized with default headers values

func (*CreateStatUnauthorized) Error added in v0.57.0

func (o *CreateStatUnauthorized) Error() string

func (*CreateStatUnauthorized) GetPayload added in v0.57.0

func (*CreateStatUnauthorized) ToJSONString added in v0.57.0

func (o *CreateStatUnauthorized) ToJSONString() string

type CreateStatUnprocessableEntity added in v0.57.0

type CreateStatUnprocessableEntity struct {
	Payload *socialclientmodels.ValidationErrorEntity
}

CreateStatUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreateStatUnprocessableEntity added in v0.57.0

func NewCreateStatUnprocessableEntity() *CreateStatUnprocessableEntity

NewCreateStatUnprocessableEntity creates a CreateStatUnprocessableEntity with default headers values

func (*CreateStatUnprocessableEntity) Error added in v0.57.0

func (*CreateStatUnprocessableEntity) GetPayload added in v0.57.0

func (*CreateStatUnprocessableEntity) ToJSONString added in v0.57.0

func (o *CreateStatUnprocessableEntity) ToJSONString() string

type DeleteStatForbidden added in v0.57.0

type DeleteStatForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteStatForbidden 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 NewDeleteStatForbidden added in v0.57.0

func NewDeleteStatForbidden() *DeleteStatForbidden

NewDeleteStatForbidden creates a DeleteStatForbidden with default headers values

func (*DeleteStatForbidden) Error added in v0.57.0

func (o *DeleteStatForbidden) Error() string

func (*DeleteStatForbidden) GetPayload added in v0.57.0

func (*DeleteStatForbidden) ToJSONString added in v0.57.0

func (o *DeleteStatForbidden) ToJSONString() string

type DeleteStatInternalServerError added in v0.57.0

type DeleteStatInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteStatInternalServerError 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 NewDeleteStatInternalServerError added in v0.57.0

func NewDeleteStatInternalServerError() *DeleteStatInternalServerError

NewDeleteStatInternalServerError creates a DeleteStatInternalServerError with default headers values

func (*DeleteStatInternalServerError) Error added in v0.57.0

func (*DeleteStatInternalServerError) GetPayload added in v0.57.0

func (*DeleteStatInternalServerError) ToJSONString added in v0.57.0

func (o *DeleteStatInternalServerError) ToJSONString() string

type DeleteStatNoContent

type DeleteStatNoContent struct {
}

DeleteStatNoContent handles this case with default header values.

Successful delete of stat

func NewDeleteStatNoContent

func NewDeleteStatNoContent() *DeleteStatNoContent

NewDeleteStatNoContent creates a DeleteStatNoContent with default headers values

func (*DeleteStatNoContent) Error

func (o *DeleteStatNoContent) Error() string

type DeleteStatNotFound

type DeleteStatNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteStatNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12241</td><td>Stat [{statCode}] cannot be found in namespace [{namespace}]</td></tr></table>

func NewDeleteStatNotFound

func NewDeleteStatNotFound() *DeleteStatNotFound

NewDeleteStatNotFound creates a DeleteStatNotFound with default headers values

func (*DeleteStatNotFound) Error

func (o *DeleteStatNotFound) Error() string

func (*DeleteStatNotFound) GetPayload

func (*DeleteStatNotFound) ToJSONString added in v0.25.0

func (o *DeleteStatNotFound) ToJSONString() string

type DeleteStatParams

type DeleteStatParams 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
}

DeleteStatParams contains all the parameters to send to the API endpoint for the delete stat operation typically these are written to a http.Request

func NewDeleteStatParams

func NewDeleteStatParams() *DeleteStatParams

NewDeleteStatParams creates a new DeleteStatParams object with the default values initialized.

func NewDeleteStatParamsWithContext

func NewDeleteStatParamsWithContext(ctx context.Context) *DeleteStatParams

NewDeleteStatParamsWithContext creates a new DeleteStatParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteStatParamsWithHTTPClient

func NewDeleteStatParamsWithHTTPClient(client *http.Client) *DeleteStatParams

NewDeleteStatParamsWithHTTPClient creates a new DeleteStatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteStatParamsWithTimeout

func NewDeleteStatParamsWithTimeout(timeout time.Duration) *DeleteStatParams

NewDeleteStatParamsWithTimeout creates a new DeleteStatParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteStatParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete stat params

func (*DeleteStatParams) SetContext

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

SetContext adds the context to the delete stat params

func (*DeleteStatParams) SetFlightId added in v0.63.0

func (o *DeleteStatParams) SetFlightId(flightId string)

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

func (*DeleteStatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete stat params

func (*DeleteStatParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete stat params

func (*DeleteStatParams) SetNamespace

func (o *DeleteStatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete stat params

func (*DeleteStatParams) SetStatCode

func (o *DeleteStatParams) SetStatCode(statCode string)

SetStatCode adds the statCode to the delete stat params

func (*DeleteStatParams) SetTimeout

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

SetTimeout adds the timeout to the delete stat params

func (*DeleteStatParams) WithContext

func (o *DeleteStatParams) WithContext(ctx context.Context) *DeleteStatParams

WithContext adds the context to the delete stat params

func (*DeleteStatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete stat params

func (*DeleteStatParams) WithNamespace

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

WithNamespace adds the namespace to the delete stat params

func (*DeleteStatParams) WithStatCode

func (o *DeleteStatParams) WithStatCode(statCode string) *DeleteStatParams

WithStatCode adds the statCode to the delete stat params

func (*DeleteStatParams) WithTimeout

func (o *DeleteStatParams) WithTimeout(timeout time.Duration) *DeleteStatParams

WithTimeout adds the timeout to the delete stat params

func (*DeleteStatParams) WriteToRequest

func (o *DeleteStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteStatReader

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

DeleteStatReader is a Reader for the DeleteStat structure.

func (*DeleteStatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteStatUnauthorized added in v0.57.0

type DeleteStatUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteStatUnauthorized 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 NewDeleteStatUnauthorized added in v0.57.0

func NewDeleteStatUnauthorized() *DeleteStatUnauthorized

NewDeleteStatUnauthorized creates a DeleteStatUnauthorized with default headers values

func (*DeleteStatUnauthorized) Error added in v0.57.0

func (o *DeleteStatUnauthorized) Error() string

func (*DeleteStatUnauthorized) GetPayload added in v0.57.0

func (*DeleteStatUnauthorized) ToJSONString added in v0.57.0

func (o *DeleteStatUnauthorized) ToJSONString() string

type DeleteTiedStatConflict added in v0.29.0

type DeleteTiedStatConflict struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteTiedStatConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12276</td><td> Stat template with code [{statCode}] in namespace [{namespace}] not deletable due it is in an INIT status </td></tr></table>

func NewDeleteTiedStatConflict added in v0.29.0

func NewDeleteTiedStatConflict() *DeleteTiedStatConflict

NewDeleteTiedStatConflict creates a DeleteTiedStatConflict with default headers values

func (*DeleteTiedStatConflict) Error added in v0.29.0

func (o *DeleteTiedStatConflict) Error() string

func (*DeleteTiedStatConflict) GetPayload added in v0.29.0

func (*DeleteTiedStatConflict) ToJSONString added in v0.29.0

func (o *DeleteTiedStatConflict) ToJSONString() string

type DeleteTiedStatForbidden added in v0.57.0

type DeleteTiedStatForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteTiedStatForbidden 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 NewDeleteTiedStatForbidden added in v0.57.0

func NewDeleteTiedStatForbidden() *DeleteTiedStatForbidden

NewDeleteTiedStatForbidden creates a DeleteTiedStatForbidden with default headers values

func (*DeleteTiedStatForbidden) Error added in v0.57.0

func (o *DeleteTiedStatForbidden) Error() string

func (*DeleteTiedStatForbidden) GetPayload added in v0.57.0

func (*DeleteTiedStatForbidden) ToJSONString added in v0.57.0

func (o *DeleteTiedStatForbidden) ToJSONString() string

type DeleteTiedStatInternalServerError added in v0.57.0

type DeleteTiedStatInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteTiedStatInternalServerError 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 NewDeleteTiedStatInternalServerError added in v0.57.0

func NewDeleteTiedStatInternalServerError() *DeleteTiedStatInternalServerError

NewDeleteTiedStatInternalServerError creates a DeleteTiedStatInternalServerError with default headers values

func (*DeleteTiedStatInternalServerError) Error added in v0.57.0

func (*DeleteTiedStatInternalServerError) GetPayload added in v0.57.0

func (*DeleteTiedStatInternalServerError) ToJSONString added in v0.57.0

func (o *DeleteTiedStatInternalServerError) ToJSONString() string

type DeleteTiedStatNoContent added in v0.29.0

type DeleteTiedStatNoContent struct {
}

DeleteTiedStatNoContent handles this case with default header values.

Successfully delete the stat of tied status

func NewDeleteTiedStatNoContent added in v0.29.0

func NewDeleteTiedStatNoContent() *DeleteTiedStatNoContent

NewDeleteTiedStatNoContent creates a DeleteTiedStatNoContent with default headers values

func (*DeleteTiedStatNoContent) Error added in v0.29.0

func (o *DeleteTiedStatNoContent) Error() string

type DeleteTiedStatNotFound added in v0.57.0

type DeleteTiedStatNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteTiedStatNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12241</td><td>Stat [{statCode}] cannot be found in namespace [{namespace}]</td></tr></table>

func NewDeleteTiedStatNotFound added in v0.57.0

func NewDeleteTiedStatNotFound() *DeleteTiedStatNotFound

NewDeleteTiedStatNotFound creates a DeleteTiedStatNotFound with default headers values

func (*DeleteTiedStatNotFound) Error added in v0.57.0

func (o *DeleteTiedStatNotFound) Error() string

func (*DeleteTiedStatNotFound) GetPayload added in v0.57.0

func (*DeleteTiedStatNotFound) ToJSONString added in v0.57.0

func (o *DeleteTiedStatNotFound) ToJSONString() string

type DeleteTiedStatParams added in v0.29.0

type DeleteTiedStatParams 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
}

DeleteTiedStatParams contains all the parameters to send to the API endpoint for the delete tied stat operation typically these are written to a http.Request

func NewDeleteTiedStatParams added in v0.29.0

func NewDeleteTiedStatParams() *DeleteTiedStatParams

NewDeleteTiedStatParams creates a new DeleteTiedStatParams object with the default values initialized.

func NewDeleteTiedStatParamsWithContext added in v0.29.0

func NewDeleteTiedStatParamsWithContext(ctx context.Context) *DeleteTiedStatParams

NewDeleteTiedStatParamsWithContext creates a new DeleteTiedStatParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteTiedStatParamsWithHTTPClient added in v0.29.0

func NewDeleteTiedStatParamsWithHTTPClient(client *http.Client) *DeleteTiedStatParams

NewDeleteTiedStatParamsWithHTTPClient creates a new DeleteTiedStatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteTiedStatParamsWithTimeout added in v0.29.0

func NewDeleteTiedStatParamsWithTimeout(timeout time.Duration) *DeleteTiedStatParams

NewDeleteTiedStatParamsWithTimeout creates a new DeleteTiedStatParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteTiedStatParams) SetAuthInfoWriter added in v0.29.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete tied stat params

func (*DeleteTiedStatParams) SetContext added in v0.29.0

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

SetContext adds the context to the delete tied stat params

func (*DeleteTiedStatParams) SetFlightId added in v0.63.0

func (o *DeleteTiedStatParams) SetFlightId(flightId string)

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

func (*DeleteTiedStatParams) SetHTTPClient added in v0.29.0

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

SetHTTPClient adds the HTTPClient to the delete tied stat params

func (*DeleteTiedStatParams) SetHTTPClientTransport added in v0.29.0

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

SetHTTPClient adds the HTTPClient Transport to the delete tied stat params

func (*DeleteTiedStatParams) SetNamespace added in v0.29.0

func (o *DeleteTiedStatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete tied stat params

func (*DeleteTiedStatParams) SetStatCode added in v0.29.0

func (o *DeleteTiedStatParams) SetStatCode(statCode string)

SetStatCode adds the statCode to the delete tied stat params

func (*DeleteTiedStatParams) SetTimeout added in v0.29.0

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

SetTimeout adds the timeout to the delete tied stat params

func (*DeleteTiedStatParams) WithContext added in v0.29.0

WithContext adds the context to the delete tied stat params

func (*DeleteTiedStatParams) WithHTTPClient added in v0.29.0

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

WithHTTPClient adds the HTTPClient to the delete tied stat params

func (*DeleteTiedStatParams) WithNamespace added in v0.29.0

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

WithNamespace adds the namespace to the delete tied stat params

func (*DeleteTiedStatParams) WithStatCode added in v0.29.0

func (o *DeleteTiedStatParams) WithStatCode(statCode string) *DeleteTiedStatParams

WithStatCode adds the statCode to the delete tied stat params

func (*DeleteTiedStatParams) WithTimeout added in v0.29.0

func (o *DeleteTiedStatParams) WithTimeout(timeout time.Duration) *DeleteTiedStatParams

WithTimeout adds the timeout to the delete tied stat params

func (*DeleteTiedStatParams) WriteToRequest added in v0.29.0

func (o *DeleteTiedStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteTiedStatReader added in v0.29.0

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

DeleteTiedStatReader is a Reader for the DeleteTiedStat structure.

func (*DeleteTiedStatReader) ReadResponse added in v0.29.0

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

ReadResponse reads a server response into the received o.

type DeleteTiedStatUnauthorized added in v0.57.0

type DeleteTiedStatUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteTiedStatUnauthorized 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 NewDeleteTiedStatUnauthorized added in v0.57.0

func NewDeleteTiedStatUnauthorized() *DeleteTiedStatUnauthorized

NewDeleteTiedStatUnauthorized creates a DeleteTiedStatUnauthorized with default headers values

func (*DeleteTiedStatUnauthorized) Error added in v0.57.0

func (*DeleteTiedStatUnauthorized) GetPayload added in v0.57.0

func (*DeleteTiedStatUnauthorized) ToJSONString added in v0.57.0

func (o *DeleteTiedStatUnauthorized) ToJSONString() string

type ExportStatsForbidden added in v0.57.0

type ExportStatsForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

ExportStatsForbidden 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 NewExportStatsForbidden added in v0.57.0

func NewExportStatsForbidden() *ExportStatsForbidden

NewExportStatsForbidden creates a ExportStatsForbidden with default headers values

func (*ExportStatsForbidden) Error added in v0.57.0

func (o *ExportStatsForbidden) Error() string

func (*ExportStatsForbidden) GetPayload added in v0.57.0

func (*ExportStatsForbidden) ToJSONString added in v0.57.0

func (o *ExportStatsForbidden) ToJSONString() string

type ExportStatsInternalServerError added in v0.57.0

type ExportStatsInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

ExportStatsInternalServerError 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 NewExportStatsInternalServerError added in v0.57.0

func NewExportStatsInternalServerError() *ExportStatsInternalServerError

NewExportStatsInternalServerError creates a ExportStatsInternalServerError with default headers values

func (*ExportStatsInternalServerError) Error added in v0.57.0

func (*ExportStatsInternalServerError) GetPayload added in v0.57.0

func (*ExportStatsInternalServerError) ToJSONString added in v0.57.0

func (o *ExportStatsInternalServerError) ToJSONString() string

type ExportStatsOK

type ExportStatsOK struct {
	Payload io.Writer
}

ExportStatsOK handles this case with default header values.

successful export of stat configs

func NewExportStatsOK

func NewExportStatsOK(writer io.Writer) *ExportStatsOK

NewExportStatsOK creates a ExportStatsOK with default headers values

func (*ExportStatsOK) Error

func (o *ExportStatsOK) Error() string

func (*ExportStatsOK) GetPayload added in v0.30.0

func (o *ExportStatsOK) GetPayload() io.Writer

func (*ExportStatsOK) ToJSONString added in v0.30.0

func (o *ExportStatsOK) ToJSONString() string

type ExportStatsParams

type ExportStatsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace 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
}

ExportStatsParams contains all the parameters to send to the API endpoint for the export stats operation typically these are written to a http.Request

func NewExportStatsParams

func NewExportStatsParams() *ExportStatsParams

NewExportStatsParams creates a new ExportStatsParams object with the default values initialized.

func NewExportStatsParamsWithContext

func NewExportStatsParamsWithContext(ctx context.Context) *ExportStatsParams

NewExportStatsParamsWithContext creates a new ExportStatsParams object with the default values initialized, and the ability to set a context for a request

func NewExportStatsParamsWithHTTPClient

func NewExportStatsParamsWithHTTPClient(client *http.Client) *ExportStatsParams

NewExportStatsParamsWithHTTPClient creates a new ExportStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExportStatsParamsWithTimeout

func NewExportStatsParamsWithTimeout(timeout time.Duration) *ExportStatsParams

NewExportStatsParamsWithTimeout creates a new ExportStatsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExportStatsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the export stats params

func (*ExportStatsParams) SetContext

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

SetContext adds the context to the export stats params

func (*ExportStatsParams) SetFlightId added in v0.63.0

func (o *ExportStatsParams) SetFlightId(flightId string)

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

func (*ExportStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export stats params

func (*ExportStatsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the export stats params

func (*ExportStatsParams) SetNamespace

func (o *ExportStatsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export stats params

func (*ExportStatsParams) SetTimeout

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

SetTimeout adds the timeout to the export stats params

func (*ExportStatsParams) WithContext

func (o *ExportStatsParams) WithContext(ctx context.Context) *ExportStatsParams

WithContext adds the context to the export stats params

func (*ExportStatsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export stats params

func (*ExportStatsParams) WithNamespace

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

WithNamespace adds the namespace to the export stats params

func (*ExportStatsParams) WithTimeout

func (o *ExportStatsParams) WithTimeout(timeout time.Duration) *ExportStatsParams

WithTimeout adds the timeout to the export stats params

func (*ExportStatsParams) WriteToRequest

func (o *ExportStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExportStatsReader

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

ExportStatsReader is a Reader for the ExportStats structure.

func (*ExportStatsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportStatsUnauthorized added in v0.57.0

type ExportStatsUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

ExportStatsUnauthorized 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 NewExportStatsUnauthorized added in v0.57.0

func NewExportStatsUnauthorized() *ExportStatsUnauthorized

NewExportStatsUnauthorized creates a ExportStatsUnauthorized with default headers values

func (*ExportStatsUnauthorized) Error added in v0.57.0

func (o *ExportStatsUnauthorized) Error() string

func (*ExportStatsUnauthorized) GetPayload added in v0.57.0

func (*ExportStatsUnauthorized) ToJSONString added in v0.57.0

func (o *ExportStatsUnauthorized) ToJSONString() string

type GetStatForbidden added in v0.57.0

type GetStatForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatForbidden 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 NewGetStatForbidden added in v0.57.0

func NewGetStatForbidden() *GetStatForbidden

NewGetStatForbidden creates a GetStatForbidden with default headers values

func (*GetStatForbidden) Error added in v0.57.0

func (o *GetStatForbidden) Error() string

func (*GetStatForbidden) GetPayload added in v0.57.0

func (*GetStatForbidden) ToJSONString added in v0.57.0

func (o *GetStatForbidden) ToJSONString() string

type GetStatInternalServerError added in v0.57.0

type GetStatInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatInternalServerError 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 NewGetStatInternalServerError added in v0.57.0

func NewGetStatInternalServerError() *GetStatInternalServerError

NewGetStatInternalServerError creates a GetStatInternalServerError with default headers values

func (*GetStatInternalServerError) Error added in v0.57.0

func (*GetStatInternalServerError) GetPayload added in v0.57.0

func (*GetStatInternalServerError) ToJSONString added in v0.57.0

func (o *GetStatInternalServerError) ToJSONString() string

type GetStatNotFound

type GetStatNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12241</td><td>Stat [{statCode}] cannot be found in namespace [{namespace}]</td></tr></table>

func NewGetStatNotFound

func NewGetStatNotFound() *GetStatNotFound

NewGetStatNotFound creates a GetStatNotFound with default headers values

func (*GetStatNotFound) Error

func (o *GetStatNotFound) Error() string

func (*GetStatNotFound) GetPayload

func (*GetStatNotFound) ToJSONString added in v0.25.0

func (o *GetStatNotFound) ToJSONString() string

type GetStatOK

type GetStatOK struct {
	Payload *socialclientmodels.StatInfo
}

GetStatOK handles this case with default header values.

successful operation

func NewGetStatOK

func NewGetStatOK() *GetStatOK

NewGetStatOK creates a GetStatOK with default headers values

func (*GetStatOK) Error

func (o *GetStatOK) Error() string

func (*GetStatOK) GetPayload

func (o *GetStatOK) GetPayload() *socialclientmodels.StatInfo

func (*GetStatOK) ToJSONString added in v0.25.0

func (o *GetStatOK) ToJSONString() string

type GetStatParams

type GetStatParams 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
}

GetStatParams contains all the parameters to send to the API endpoint for the get stat operation typically these are written to a http.Request

func NewGetStatParams

func NewGetStatParams() *GetStatParams

NewGetStatParams creates a new GetStatParams object with the default values initialized.

func NewGetStatParamsWithContext

func NewGetStatParamsWithContext(ctx context.Context) *GetStatParams

NewGetStatParamsWithContext creates a new GetStatParams object with the default values initialized, and the ability to set a context for a request

func NewGetStatParamsWithHTTPClient

func NewGetStatParamsWithHTTPClient(client *http.Client) *GetStatParams

NewGetStatParamsWithHTTPClient creates a new GetStatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetStatParamsWithTimeout

func NewGetStatParamsWithTimeout(timeout time.Duration) *GetStatParams

NewGetStatParamsWithTimeout creates a new GetStatParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetStatParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get stat params

func (*GetStatParams) SetContext

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

SetContext adds the context to the get stat params

func (*GetStatParams) SetFlightId added in v0.63.0

func (o *GetStatParams) SetFlightId(flightId string)

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

func (*GetStatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stat params

func (*GetStatParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get stat params

func (*GetStatParams) SetNamespace

func (o *GetStatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get stat params

func (*GetStatParams) SetStatCode

func (o *GetStatParams) SetStatCode(statCode string)

SetStatCode adds the statCode to the get stat params

func (*GetStatParams) SetTimeout

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

SetTimeout adds the timeout to the get stat params

func (*GetStatParams) WithContext

func (o *GetStatParams) WithContext(ctx context.Context) *GetStatParams

WithContext adds the context to the get stat params

func (*GetStatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stat params

func (*GetStatParams) WithNamespace

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

WithNamespace adds the namespace to the get stat params

func (*GetStatParams) WithStatCode

func (o *GetStatParams) WithStatCode(statCode string) *GetStatParams

WithStatCode adds the statCode to the get stat params

func (*GetStatParams) WithTimeout

func (o *GetStatParams) WithTimeout(timeout time.Duration) *GetStatParams

WithTimeout adds the timeout to the get stat params

func (*GetStatParams) WriteToRequest

func (o *GetStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStatReader

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

GetStatReader is a Reader for the GetStat structure.

func (*GetStatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStatUnauthorized added in v0.57.0

type GetStatUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatUnauthorized 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 NewGetStatUnauthorized added in v0.57.0

func NewGetStatUnauthorized() *GetStatUnauthorized

NewGetStatUnauthorized creates a GetStatUnauthorized with default headers values

func (*GetStatUnauthorized) Error added in v0.57.0

func (o *GetStatUnauthorized) Error() string

func (*GetStatUnauthorized) GetPayload added in v0.57.0

func (*GetStatUnauthorized) ToJSONString added in v0.57.0

func (o *GetStatUnauthorized) ToJSONString() string

type GetStatsForbidden added in v0.57.0

type GetStatsForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatsForbidden 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 NewGetStatsForbidden added in v0.57.0

func NewGetStatsForbidden() *GetStatsForbidden

NewGetStatsForbidden creates a GetStatsForbidden with default headers values

func (*GetStatsForbidden) Error added in v0.57.0

func (o *GetStatsForbidden) Error() string

func (*GetStatsForbidden) GetPayload added in v0.57.0

func (*GetStatsForbidden) ToJSONString added in v0.57.0

func (o *GetStatsForbidden) ToJSONString() string

type GetStatsInternalServerError added in v0.57.0

type GetStatsInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatsInternalServerError 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 NewGetStatsInternalServerError added in v0.57.0

func NewGetStatsInternalServerError() *GetStatsInternalServerError

NewGetStatsInternalServerError creates a GetStatsInternalServerError with default headers values

func (*GetStatsInternalServerError) Error added in v0.57.0

func (*GetStatsInternalServerError) GetPayload added in v0.57.0

func (*GetStatsInternalServerError) ToJSONString added in v0.57.0

func (o *GetStatsInternalServerError) ToJSONString() string

type GetStatsOK

type GetStatsOK struct {
	Payload *socialclientmodels.StatPagingSlicedResult
}

GetStatsOK handles this case with default header values.

successful operation

func NewGetStatsOK

func NewGetStatsOK() *GetStatsOK

NewGetStatsOK creates a GetStatsOK with default headers values

func (*GetStatsOK) Error

func (o *GetStatsOK) Error() string

func (*GetStatsOK) GetPayload

func (*GetStatsOK) ToJSONString added in v0.25.0

func (o *GetStatsOK) ToJSONString() string

type GetStatsParams

type GetStatsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*CycleIds
	  comma separated cycleId

	*/
	CycleIds *string
	/*IsGlobal
	  flag to filter global statcode

	*/
	IsGlobal *bool
	/*IsPublic
	  flag to filter public/private statcode

	*/
	IsPublic *bool
	/*Limit*/
	Limit *int32
	/*Offset*/
	Offset *int32

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetStatsParams contains all the parameters to send to the API endpoint for the get stats operation typically these are written to a http.Request

func NewGetStatsParams

func NewGetStatsParams() *GetStatsParams

NewGetStatsParams creates a new GetStatsParams object with the default values initialized.

func NewGetStatsParamsWithContext

func NewGetStatsParamsWithContext(ctx context.Context) *GetStatsParams

NewGetStatsParamsWithContext creates a new GetStatsParams object with the default values initialized, and the ability to set a context for a request

func NewGetStatsParamsWithHTTPClient

func NewGetStatsParamsWithHTTPClient(client *http.Client) *GetStatsParams

NewGetStatsParamsWithHTTPClient creates a new GetStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetStatsParamsWithTimeout

func NewGetStatsParamsWithTimeout(timeout time.Duration) *GetStatsParams

NewGetStatsParamsWithTimeout creates a new GetStatsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetStatsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get stats params

func (*GetStatsParams) SetContext

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

SetContext adds the context to the get stats params

func (*GetStatsParams) SetCycleIds added in v0.39.0

func (o *GetStatsParams) SetCycleIds(cycleIds *string)

SetCycleIds adds the cycleIds to the get stats params

func (*GetStatsParams) SetFlightId added in v0.63.0

func (o *GetStatsParams) SetFlightId(flightId string)

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

func (*GetStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stats params

func (*GetStatsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get stats params

func (*GetStatsParams) SetIsGlobal added in v0.38.0

func (o *GetStatsParams) SetIsGlobal(isGlobal *bool)

SetIsGlobal adds the isGlobal to the get stats params

func (*GetStatsParams) SetIsPublic added in v0.46.0

func (o *GetStatsParams) SetIsPublic(isPublic *bool)

SetIsPublic adds the isPublic to the get stats params

func (*GetStatsParams) SetLimit

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

SetLimit adds the limit to the get stats params

func (*GetStatsParams) SetNamespace

func (o *GetStatsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get stats params

func (*GetStatsParams) SetOffset

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

SetOffset adds the offset to the get stats params

func (*GetStatsParams) SetTimeout

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

SetTimeout adds the timeout to the get stats params

func (*GetStatsParams) WithContext

func (o *GetStatsParams) WithContext(ctx context.Context) *GetStatsParams

WithContext adds the context to the get stats params

func (*GetStatsParams) WithCycleIds added in v0.39.0

func (o *GetStatsParams) WithCycleIds(cycleIds *string) *GetStatsParams

WithCycleIds adds the cycleIds to the get stats params

func (*GetStatsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stats params

func (*GetStatsParams) WithIsGlobal added in v0.38.0

func (o *GetStatsParams) WithIsGlobal(isGlobal *bool) *GetStatsParams

WithIsGlobal adds the isGlobal to the get stats params

func (*GetStatsParams) WithIsPublic added in v0.46.0

func (o *GetStatsParams) WithIsPublic(isPublic *bool) *GetStatsParams

WithIsPublic adds the isPublic to the get stats params

func (*GetStatsParams) WithLimit

func (o *GetStatsParams) WithLimit(limit *int32) *GetStatsParams

WithLimit adds the limit to the get stats params

func (*GetStatsParams) WithNamespace

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

WithNamespace adds the namespace to the get stats params

func (*GetStatsParams) WithOffset

func (o *GetStatsParams) WithOffset(offset *int32) *GetStatsParams

WithOffset adds the offset to the get stats params

func (*GetStatsParams) WithTimeout

func (o *GetStatsParams) WithTimeout(timeout time.Duration) *GetStatsParams

WithTimeout adds the timeout to the get stats params

func (*GetStatsParams) WriteToRequest

func (o *GetStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStatsReader

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

GetStatsReader is a Reader for the GetStats structure.

func (*GetStatsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStatsUnauthorized added in v0.57.0

type GetStatsUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatsUnauthorized 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 NewGetStatsUnauthorized added in v0.57.0

func NewGetStatsUnauthorized() *GetStatsUnauthorized

NewGetStatsUnauthorized creates a GetStatsUnauthorized with default headers values

func (*GetStatsUnauthorized) Error added in v0.57.0

func (o *GetStatsUnauthorized) Error() string

func (*GetStatsUnauthorized) GetPayload added in v0.57.0

func (*GetStatsUnauthorized) ToJSONString added in v0.57.0

func (o *GetStatsUnauthorized) ToJSONString() string

type ImportStatsBadRequest

type ImportStatsBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

ImportStatsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>12222</td><td>Stats data for namespace [{namespace}] is invalid</td></tr></table>

func NewImportStatsBadRequest

func NewImportStatsBadRequest() *ImportStatsBadRequest

NewImportStatsBadRequest creates a ImportStatsBadRequest with default headers values

func (*ImportStatsBadRequest) Error

func (o *ImportStatsBadRequest) Error() string

func (*ImportStatsBadRequest) GetPayload

func (*ImportStatsBadRequest) ToJSONString added in v0.25.0

func (o *ImportStatsBadRequest) ToJSONString() string

type ImportStatsCreated added in v0.24.0

type ImportStatsCreated struct {
	Payload *socialclientmodels.StatImportInfo
}

ImportStatsCreated handles this case with default header values.

Import stats successfully

func NewImportStatsCreated added in v0.24.0

func NewImportStatsCreated() *ImportStatsCreated

NewImportStatsCreated creates a ImportStatsCreated with default headers values

func (*ImportStatsCreated) Error added in v0.24.0

func (o *ImportStatsCreated) Error() string

func (*ImportStatsCreated) GetPayload added in v0.24.0

func (*ImportStatsCreated) ToJSONString added in v0.25.0

func (o *ImportStatsCreated) ToJSONString() string

type ImportStatsForbidden added in v0.57.0

type ImportStatsForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

ImportStatsForbidden 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 NewImportStatsForbidden added in v0.57.0

func NewImportStatsForbidden() *ImportStatsForbidden

NewImportStatsForbidden creates a ImportStatsForbidden with default headers values

func (*ImportStatsForbidden) Error added in v0.57.0

func (o *ImportStatsForbidden) Error() string

func (*ImportStatsForbidden) GetPayload added in v0.57.0

func (*ImportStatsForbidden) ToJSONString added in v0.57.0

func (o *ImportStatsForbidden) ToJSONString() string

type ImportStatsInternalServerError added in v0.57.0

type ImportStatsInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

ImportStatsInternalServerError 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 NewImportStatsInternalServerError added in v0.57.0

func NewImportStatsInternalServerError() *ImportStatsInternalServerError

NewImportStatsInternalServerError creates a ImportStatsInternalServerError with default headers values

func (*ImportStatsInternalServerError) Error added in v0.57.0

func (*ImportStatsInternalServerError) GetPayload added in v0.57.0

func (*ImportStatsInternalServerError) ToJSONString added in v0.57.0

func (o *ImportStatsInternalServerError) ToJSONString() string

type ImportStatsParams

type ImportStatsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File*/
	File runtime.NamedReadCloser
	/*Namespace
	  namespace

	*/
	Namespace string
	/*ReplaceExisting
	  replaceExisting

	*/
	ReplaceExisting *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ImportStatsParams contains all the parameters to send to the API endpoint for the import stats operation typically these are written to a http.Request

func NewImportStatsParams

func NewImportStatsParams() *ImportStatsParams

NewImportStatsParams creates a new ImportStatsParams object with the default values initialized.

func NewImportStatsParamsWithContext

func NewImportStatsParamsWithContext(ctx context.Context) *ImportStatsParams

NewImportStatsParamsWithContext creates a new ImportStatsParams object with the default values initialized, and the ability to set a context for a request

func NewImportStatsParamsWithHTTPClient

func NewImportStatsParamsWithHTTPClient(client *http.Client) *ImportStatsParams

NewImportStatsParamsWithHTTPClient creates a new ImportStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewImportStatsParamsWithTimeout

func NewImportStatsParamsWithTimeout(timeout time.Duration) *ImportStatsParams

NewImportStatsParamsWithTimeout creates a new ImportStatsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ImportStatsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the import stats params

func (*ImportStatsParams) SetContext

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

SetContext adds the context to the import stats params

func (*ImportStatsParams) SetFile

func (o *ImportStatsParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the import stats params

func (*ImportStatsParams) SetFlightId added in v0.63.0

func (o *ImportStatsParams) SetFlightId(flightId string)

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

func (*ImportStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import stats params

func (*ImportStatsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the import stats params

func (*ImportStatsParams) SetNamespace

func (o *ImportStatsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import stats params

func (*ImportStatsParams) SetReplaceExisting

func (o *ImportStatsParams) SetReplaceExisting(replaceExisting *bool)

SetReplaceExisting adds the replaceExisting to the import stats params

func (*ImportStatsParams) SetTimeout

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

SetTimeout adds the timeout to the import stats params

func (*ImportStatsParams) WithContext

func (o *ImportStatsParams) WithContext(ctx context.Context) *ImportStatsParams

WithContext adds the context to the import stats params

func (*ImportStatsParams) WithFile

WithFile adds the file to the import stats params

func (*ImportStatsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import stats params

func (*ImportStatsParams) WithNamespace

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

WithNamespace adds the namespace to the import stats params

func (*ImportStatsParams) WithReplaceExisting

func (o *ImportStatsParams) WithReplaceExisting(replaceExisting *bool) *ImportStatsParams

WithReplaceExisting adds the replaceExisting to the import stats params

func (*ImportStatsParams) WithTimeout

func (o *ImportStatsParams) WithTimeout(timeout time.Duration) *ImportStatsParams

WithTimeout adds the timeout to the import stats params

func (*ImportStatsParams) WriteToRequest

func (o *ImportStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImportStatsReader

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

ImportStatsReader is a Reader for the ImportStats structure.

func (*ImportStatsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportStatsUnauthorized added in v0.57.0

type ImportStatsUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

ImportStatsUnauthorized 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 NewImportStatsUnauthorized added in v0.57.0

func NewImportStatsUnauthorized() *ImportStatsUnauthorized

NewImportStatsUnauthorized creates a ImportStatsUnauthorized with default headers values

func (*ImportStatsUnauthorized) Error added in v0.57.0

func (o *ImportStatsUnauthorized) Error() string

func (*ImportStatsUnauthorized) GetPayload added in v0.57.0

func (*ImportStatsUnauthorized) ToJSONString added in v0.57.0

func (o *ImportStatsUnauthorized) ToJSONString() string

type QueryStatsForbidden added in v0.57.0

type QueryStatsForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

QueryStatsForbidden 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 NewQueryStatsForbidden added in v0.57.0

func NewQueryStatsForbidden() *QueryStatsForbidden

NewQueryStatsForbidden creates a QueryStatsForbidden with default headers values

func (*QueryStatsForbidden) Error added in v0.57.0

func (o *QueryStatsForbidden) Error() string

func (*QueryStatsForbidden) GetPayload added in v0.57.0

func (*QueryStatsForbidden) ToJSONString added in v0.57.0

func (o *QueryStatsForbidden) ToJSONString() string

type QueryStatsInternalServerError added in v0.57.0

type QueryStatsInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

QueryStatsInternalServerError 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 NewQueryStatsInternalServerError added in v0.57.0

func NewQueryStatsInternalServerError() *QueryStatsInternalServerError

NewQueryStatsInternalServerError creates a QueryStatsInternalServerError with default headers values

func (*QueryStatsInternalServerError) Error added in v0.57.0

func (*QueryStatsInternalServerError) GetPayload added in v0.57.0

func (*QueryStatsInternalServerError) ToJSONString added in v0.57.0

func (o *QueryStatsInternalServerError) ToJSONString() string

type QueryStatsOK

type QueryStatsOK struct {
	Payload *socialclientmodels.StatPagingSlicedResult
}

QueryStatsOK handles this case with default header values.

successful operation

func NewQueryStatsOK

func NewQueryStatsOK() *QueryStatsOK

NewQueryStatsOK creates a QueryStatsOK with default headers values

func (*QueryStatsOK) Error

func (o *QueryStatsOK) Error() string

func (*QueryStatsOK) GetPayload

func (*QueryStatsOK) ToJSONString added in v0.25.0

func (o *QueryStatsOK) ToJSONString() string

type QueryStatsParams

type QueryStatsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*IsGlobal
	  flag to filter global statcode

	*/
	IsGlobal *bool
	/*IsPublic
	  flag to filter public/private statecode

	*/
	IsPublic *bool
	/*Limit*/
	Limit *int32
	/*Offset*/
	Offset *int32
	/*Keyword
	  keyword

	*/
	Keyword 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
}

QueryStatsParams contains all the parameters to send to the API endpoint for the query stats operation typically these are written to a http.Request

func NewQueryStatsParams

func NewQueryStatsParams() *QueryStatsParams

NewQueryStatsParams creates a new QueryStatsParams object with the default values initialized.

func NewQueryStatsParamsWithContext

func NewQueryStatsParamsWithContext(ctx context.Context) *QueryStatsParams

NewQueryStatsParamsWithContext creates a new QueryStatsParams object with the default values initialized, and the ability to set a context for a request

func NewQueryStatsParamsWithHTTPClient

func NewQueryStatsParamsWithHTTPClient(client *http.Client) *QueryStatsParams

NewQueryStatsParamsWithHTTPClient creates a new QueryStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewQueryStatsParamsWithTimeout

func NewQueryStatsParamsWithTimeout(timeout time.Duration) *QueryStatsParams

NewQueryStatsParamsWithTimeout creates a new QueryStatsParams object with the default values initialized, and the ability to set a timeout on a request

func (*QueryStatsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the query stats params

func (*QueryStatsParams) SetContext

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

SetContext adds the context to the query stats params

func (*QueryStatsParams) SetFlightId added in v0.63.0

func (o *QueryStatsParams) SetFlightId(flightId string)

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

func (*QueryStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query stats params

func (*QueryStatsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the query stats params

func (*QueryStatsParams) SetIsGlobal added in v0.38.0

func (o *QueryStatsParams) SetIsGlobal(isGlobal *bool)

SetIsGlobal adds the isGlobal to the query stats params

func (*QueryStatsParams) SetIsPublic added in v0.46.0

func (o *QueryStatsParams) SetIsPublic(isPublic *bool)

SetIsPublic adds the isPublic to the query stats params

func (*QueryStatsParams) SetKeyword

func (o *QueryStatsParams) SetKeyword(keyword string)

SetKeyword adds the keyword to the query stats params

func (*QueryStatsParams) SetLimit

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

SetLimit adds the limit to the query stats params

func (*QueryStatsParams) SetNamespace

func (o *QueryStatsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query stats params

func (*QueryStatsParams) SetOffset

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

SetOffset adds the offset to the query stats params

func (*QueryStatsParams) SetTimeout

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

SetTimeout adds the timeout to the query stats params

func (*QueryStatsParams) WithContext

func (o *QueryStatsParams) WithContext(ctx context.Context) *QueryStatsParams

WithContext adds the context to the query stats params

func (*QueryStatsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query stats params

func (*QueryStatsParams) WithIsGlobal added in v0.38.0

func (o *QueryStatsParams) WithIsGlobal(isGlobal *bool) *QueryStatsParams

WithIsGlobal adds the isGlobal to the query stats params

func (*QueryStatsParams) WithIsPublic added in v0.46.0

func (o *QueryStatsParams) WithIsPublic(isPublic *bool) *QueryStatsParams

WithIsPublic adds the isPublic to the query stats params

func (*QueryStatsParams) WithKeyword

func (o *QueryStatsParams) WithKeyword(keyword string) *QueryStatsParams

WithKeyword adds the keyword to the query stats params

func (*QueryStatsParams) WithLimit

func (o *QueryStatsParams) WithLimit(limit *int32) *QueryStatsParams

WithLimit adds the limit to the query stats params

func (*QueryStatsParams) WithNamespace

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

WithNamespace adds the namespace to the query stats params

func (*QueryStatsParams) WithOffset

func (o *QueryStatsParams) WithOffset(offset *int32) *QueryStatsParams

WithOffset adds the offset to the query stats params

func (*QueryStatsParams) WithTimeout

func (o *QueryStatsParams) WithTimeout(timeout time.Duration) *QueryStatsParams

WithTimeout adds the timeout to the query stats params

func (*QueryStatsParams) WriteToRequest

func (o *QueryStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryStatsReader

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

QueryStatsReader is a Reader for the QueryStats structure.

func (*QueryStatsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryStatsUnauthorized added in v0.57.0

type QueryStatsUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

QueryStatsUnauthorized 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 NewQueryStatsUnauthorized added in v0.57.0

func NewQueryStatsUnauthorized() *QueryStatsUnauthorized

NewQueryStatsUnauthorized creates a QueryStatsUnauthorized with default headers values

func (*QueryStatsUnauthorized) Error added in v0.57.0

func (o *QueryStatsUnauthorized) Error() string

func (*QueryStatsUnauthorized) GetPayload added in v0.57.0

func (*QueryStatsUnauthorized) ToJSONString added in v0.57.0

func (o *QueryStatsUnauthorized) ToJSONString() string

type UpdateStatBadRequest added in v0.57.0

type UpdateStatBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

UpdateStatBadRequest handles this case with default header values.

Bad request

func NewUpdateStatBadRequest added in v0.57.0

func NewUpdateStatBadRequest() *UpdateStatBadRequest

NewUpdateStatBadRequest creates a UpdateStatBadRequest with default headers values

func (*UpdateStatBadRequest) Error added in v0.57.0

func (o *UpdateStatBadRequest) Error() string

func (*UpdateStatBadRequest) GetPayload added in v0.57.0

func (*UpdateStatBadRequest) ToJSONString added in v0.57.0

func (o *UpdateStatBadRequest) ToJSONString() string

type UpdateStatForbidden added in v0.57.0

type UpdateStatForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

UpdateStatForbidden 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 NewUpdateStatForbidden added in v0.57.0

func NewUpdateStatForbidden() *UpdateStatForbidden

NewUpdateStatForbidden creates a UpdateStatForbidden with default headers values

func (*UpdateStatForbidden) Error added in v0.57.0

func (o *UpdateStatForbidden) Error() string

func (*UpdateStatForbidden) GetPayload added in v0.57.0

func (*UpdateStatForbidden) ToJSONString added in v0.57.0

func (o *UpdateStatForbidden) ToJSONString() string

type UpdateStatInternalServerError added in v0.57.0

type UpdateStatInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

UpdateStatInternalServerError 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 NewUpdateStatInternalServerError added in v0.57.0

func NewUpdateStatInternalServerError() *UpdateStatInternalServerError

NewUpdateStatInternalServerError creates a UpdateStatInternalServerError with default headers values

func (*UpdateStatInternalServerError) Error added in v0.57.0

func (*UpdateStatInternalServerError) GetPayload added in v0.57.0

func (*UpdateStatInternalServerError) ToJSONString added in v0.57.0

func (o *UpdateStatInternalServerError) ToJSONString() string

type UpdateStatNotFound

type UpdateStatNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

UpdateStatNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12241</td><td>Stat [{statCode}] cannot be found in namespace [{namespace}]</td></tr><tr><td>12245</td><td>Stat cycle [{id}] cannot be found in namespace [{namespace}]</td></tr></table>

func NewUpdateStatNotFound

func NewUpdateStatNotFound() *UpdateStatNotFound

NewUpdateStatNotFound creates a UpdateStatNotFound with default headers values

func (*UpdateStatNotFound) Error

func (o *UpdateStatNotFound) Error() string

func (*UpdateStatNotFound) GetPayload

func (*UpdateStatNotFound) ToJSONString added in v0.25.0

func (o *UpdateStatNotFound) ToJSONString() string

type UpdateStatOK

type UpdateStatOK struct {
	Payload *socialclientmodels.StatInfo
}

UpdateStatOK handles this case with default header values.

successful update of stat

func NewUpdateStatOK

func NewUpdateStatOK() *UpdateStatOK

NewUpdateStatOK creates a UpdateStatOK with default headers values

func (*UpdateStatOK) Error

func (o *UpdateStatOK) Error() string

func (*UpdateStatOK) GetPayload

func (o *UpdateStatOK) GetPayload() *socialclientmodels.StatInfo

func (*UpdateStatOK) ToJSONString added in v0.25.0

func (o *UpdateStatOK) ToJSONString() string

type UpdateStatParams

type UpdateStatParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.StatUpdate
	/*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
}

UpdateStatParams contains all the parameters to send to the API endpoint for the update stat operation typically these are written to a http.Request

func NewUpdateStatParams

func NewUpdateStatParams() *UpdateStatParams

NewUpdateStatParams creates a new UpdateStatParams object with the default values initialized.

func NewUpdateStatParamsWithContext

func NewUpdateStatParamsWithContext(ctx context.Context) *UpdateStatParams

NewUpdateStatParamsWithContext creates a new UpdateStatParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateStatParamsWithHTTPClient

func NewUpdateStatParamsWithHTTPClient(client *http.Client) *UpdateStatParams

NewUpdateStatParamsWithHTTPClient creates a new UpdateStatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateStatParamsWithTimeout

func NewUpdateStatParamsWithTimeout(timeout time.Duration) *UpdateStatParams

NewUpdateStatParamsWithTimeout creates a new UpdateStatParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateStatParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update stat params

func (*UpdateStatParams) SetBody

SetBody adds the body to the update stat params

func (*UpdateStatParams) SetContext

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

SetContext adds the context to the update stat params

func (*UpdateStatParams) SetFlightId added in v0.63.0

func (o *UpdateStatParams) SetFlightId(flightId string)

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

func (*UpdateStatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update stat params

func (*UpdateStatParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update stat params

func (*UpdateStatParams) SetNamespace

func (o *UpdateStatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update stat params

func (*UpdateStatParams) SetStatCode

func (o *UpdateStatParams) SetStatCode(statCode string)

SetStatCode adds the statCode to the update stat params

func (*UpdateStatParams) SetTimeout

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

SetTimeout adds the timeout to the update stat params

func (*UpdateStatParams) WithBody

WithBody adds the body to the update stat params

func (*UpdateStatParams) WithContext

func (o *UpdateStatParams) WithContext(ctx context.Context) *UpdateStatParams

WithContext adds the context to the update stat params

func (*UpdateStatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update stat params

func (*UpdateStatParams) WithNamespace

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

WithNamespace adds the namespace to the update stat params

func (*UpdateStatParams) WithStatCode

func (o *UpdateStatParams) WithStatCode(statCode string) *UpdateStatParams

WithStatCode adds the statCode to the update stat params

func (*UpdateStatParams) WithTimeout

func (o *UpdateStatParams) WithTimeout(timeout time.Duration) *UpdateStatParams

WithTimeout adds the timeout to the update stat params

func (*UpdateStatParams) WriteToRequest

func (o *UpdateStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateStatReader

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

UpdateStatReader is a Reader for the UpdateStat structure.

func (*UpdateStatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateStatUnauthorized added in v0.57.0

type UpdateStatUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

UpdateStatUnauthorized 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 NewUpdateStatUnauthorized added in v0.57.0

func NewUpdateStatUnauthorized() *UpdateStatUnauthorized

NewUpdateStatUnauthorized creates a UpdateStatUnauthorized with default headers values

func (*UpdateStatUnauthorized) Error added in v0.57.0

func (o *UpdateStatUnauthorized) Error() string

func (*UpdateStatUnauthorized) GetPayload added in v0.57.0

func (*UpdateStatUnauthorized) ToJSONString added in v0.57.0

func (o *UpdateStatUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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