Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateStat(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, *CreateStatBadRequest, *CreateStatUnauthorized, ...)deprecated
- func (a *Client) CreateStat1(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, *CreateStat1BadRequest, *CreateStat1Unauthorized, ...)deprecated
- func (a *Client) CreateStat1Short(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, error)
- func (a *Client) CreateStatShort(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, error)
- func (a *Client) DeleteStat(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, *DeleteStatUnauthorized, *DeleteStatForbidden, ...)deprecated
- func (a *Client) DeleteStatShort(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, error)
- func (a *Client) DeleteTiedStat(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, *DeleteTiedStatUnauthorized, ...)deprecated
- func (a *Client) DeleteTiedStatShort(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, error)
- func (a *Client) ExportStats(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportStatsOK, *ExportStatsUnauthorized, *ExportStatsForbidden, ...)deprecated
- func (a *Client) ExportStatsShort(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportStatsOK, error)
- func (a *Client) GetStat(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, *GetStatUnauthorized, *GetStatForbidden, *GetStatNotFound, ...)deprecated
- func (a *Client) GetStatShort(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, error)
- func (a *Client) GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, *GetStatsUnauthorized, *GetStatsForbidden, ...)deprecated
- func (a *Client) GetStatsShort(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, error)
- func (a *Client) ImportStats(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, *ImportStatsBadRequest, *ImportStatsUnauthorized, ...)deprecated
- func (a *Client) ImportStatsShort(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, error)
- func (a *Client) QueryStats(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, *QueryStatsUnauthorized, *QueryStatsForbidden, ...)deprecated
- func (a *Client) QueryStatsShort(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateStat(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, *UpdateStatBadRequest, *UpdateStatUnauthorized, ...)deprecated
- func (a *Client) UpdateStatShort(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, error)
- type ClientService
- type CreateStat1BadRequest
- type CreateStat1Conflict
- type CreateStat1Created
- type CreateStat1Forbidden
- type CreateStat1InternalServerError
- type CreateStat1NotFound
- type CreateStat1Params
- func (o *CreateStat1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateStat1Params) SetBody(body *socialclientmodels.StatCreate)
- func (o *CreateStat1Params) SetContext(ctx context.Context)
- func (o *CreateStat1Params) SetFlightId(flightId string)
- func (o *CreateStat1Params) SetHTTPClient(client *http.Client)
- func (o *CreateStat1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateStat1Params) SetNamespace(namespace string)
- func (o *CreateStat1Params) SetTimeout(timeout time.Duration)
- func (o *CreateStat1Params) WithBody(body *socialclientmodels.StatCreate) *CreateStat1Params
- func (o *CreateStat1Params) WithContext(ctx context.Context) *CreateStat1Params
- func (o *CreateStat1Params) WithHTTPClient(client *http.Client) *CreateStat1Params
- func (o *CreateStat1Params) WithNamespace(namespace string) *CreateStat1Params
- func (o *CreateStat1Params) WithTimeout(timeout time.Duration) *CreateStat1Params
- func (o *CreateStat1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateStat1Reader
- type CreateStat1Unauthorized
- type CreateStat1UnprocessableEntity
- type CreateStatBadRequest
- type CreateStatConflict
- type CreateStatCreated
- type CreateStatForbidden
- type CreateStatInternalServerError
- type CreateStatNotFound
- type CreateStatParams
- func (o *CreateStatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateStatParams) SetBody(body *socialclientmodels.StatCreate)
- func (o *CreateStatParams) SetContext(ctx context.Context)
- func (o *CreateStatParams) SetFlightId(flightId string)
- func (o *CreateStatParams) SetHTTPClient(client *http.Client)
- func (o *CreateStatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateStatParams) SetNamespace(namespace string)
- func (o *CreateStatParams) SetTimeout(timeout time.Duration)
- func (o *CreateStatParams) WithBody(body *socialclientmodels.StatCreate) *CreateStatParams
- func (o *CreateStatParams) WithContext(ctx context.Context) *CreateStatParams
- func (o *CreateStatParams) WithHTTPClient(client *http.Client) *CreateStatParams
- func (o *CreateStatParams) WithNamespace(namespace string) *CreateStatParams
- func (o *CreateStatParams) WithTimeout(timeout time.Duration) *CreateStatParams
- func (o *CreateStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateStatReader
- type CreateStatUnauthorized
- type CreateStatUnprocessableEntity
- type DeleteStatForbidden
- type DeleteStatInternalServerError
- type DeleteStatNoContent
- type DeleteStatNotFound
- type DeleteStatParams
- func (o *DeleteStatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteStatParams) SetContext(ctx context.Context)
- func (o *DeleteStatParams) SetFlightId(flightId string)
- func (o *DeleteStatParams) SetHTTPClient(client *http.Client)
- func (o *DeleteStatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteStatParams) SetNamespace(namespace string)
- func (o *DeleteStatParams) SetStatCode(statCode string)
- func (o *DeleteStatParams) SetTimeout(timeout time.Duration)
- func (o *DeleteStatParams) WithContext(ctx context.Context) *DeleteStatParams
- func (o *DeleteStatParams) WithHTTPClient(client *http.Client) *DeleteStatParams
- func (o *DeleteStatParams) WithNamespace(namespace string) *DeleteStatParams
- func (o *DeleteStatParams) WithStatCode(statCode string) *DeleteStatParams
- func (o *DeleteStatParams) WithTimeout(timeout time.Duration) *DeleteStatParams
- func (o *DeleteStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteStatReader
- type DeleteStatUnauthorized
- type DeleteTiedStatConflict
- type DeleteTiedStatForbidden
- type DeleteTiedStatInternalServerError
- type DeleteTiedStatNoContent
- type DeleteTiedStatNotFound
- type DeleteTiedStatParams
- func NewDeleteTiedStatParams() *DeleteTiedStatParams
- func NewDeleteTiedStatParamsWithContext(ctx context.Context) *DeleteTiedStatParams
- func NewDeleteTiedStatParamsWithHTTPClient(client *http.Client) *DeleteTiedStatParams
- func NewDeleteTiedStatParamsWithTimeout(timeout time.Duration) *DeleteTiedStatParams
- func (o *DeleteTiedStatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteTiedStatParams) SetContext(ctx context.Context)
- func (o *DeleteTiedStatParams) SetFlightId(flightId string)
- func (o *DeleteTiedStatParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTiedStatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteTiedStatParams) SetNamespace(namespace string)
- func (o *DeleteTiedStatParams) SetStatCode(statCode string)
- func (o *DeleteTiedStatParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTiedStatParams) WithContext(ctx context.Context) *DeleteTiedStatParams
- func (o *DeleteTiedStatParams) WithHTTPClient(client *http.Client) *DeleteTiedStatParams
- func (o *DeleteTiedStatParams) WithNamespace(namespace string) *DeleteTiedStatParams
- func (o *DeleteTiedStatParams) WithStatCode(statCode string) *DeleteTiedStatParams
- func (o *DeleteTiedStatParams) WithTimeout(timeout time.Duration) *DeleteTiedStatParams
- func (o *DeleteTiedStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTiedStatReader
- type DeleteTiedStatUnauthorized
- type ExportStatsForbidden
- type ExportStatsInternalServerError
- type ExportStatsOK
- type ExportStatsParams
- func (o *ExportStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExportStatsParams) SetContext(ctx context.Context)
- func (o *ExportStatsParams) SetFlightId(flightId string)
- func (o *ExportStatsParams) SetHTTPClient(client *http.Client)
- func (o *ExportStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ExportStatsParams) SetNamespace(namespace string)
- func (o *ExportStatsParams) SetTimeout(timeout time.Duration)
- func (o *ExportStatsParams) WithContext(ctx context.Context) *ExportStatsParams
- func (o *ExportStatsParams) WithHTTPClient(client *http.Client) *ExportStatsParams
- func (o *ExportStatsParams) WithNamespace(namespace string) *ExportStatsParams
- func (o *ExportStatsParams) WithTimeout(timeout time.Duration) *ExportStatsParams
- func (o *ExportStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportStatsReader
- type ExportStatsUnauthorized
- type GetStatForbidden
- type GetStatInternalServerError
- type GetStatNotFound
- type GetStatOK
- type GetStatParams
- func (o *GetStatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatParams) SetContext(ctx context.Context)
- func (o *GetStatParams) SetFlightId(flightId string)
- func (o *GetStatParams) SetHTTPClient(client *http.Client)
- func (o *GetStatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatParams) SetNamespace(namespace string)
- func (o *GetStatParams) SetStatCode(statCode string)
- func (o *GetStatParams) SetTimeout(timeout time.Duration)
- func (o *GetStatParams) WithContext(ctx context.Context) *GetStatParams
- func (o *GetStatParams) WithHTTPClient(client *http.Client) *GetStatParams
- func (o *GetStatParams) WithNamespace(namespace string) *GetStatParams
- func (o *GetStatParams) WithStatCode(statCode string) *GetStatParams
- func (o *GetStatParams) WithTimeout(timeout time.Duration) *GetStatParams
- func (o *GetStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatReader
- type GetStatUnauthorized
- type GetStatsForbidden
- type GetStatsInternalServerError
- type GetStatsOK
- type GetStatsParams
- func (o *GetStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatsParams) SetContext(ctx context.Context)
- func (o *GetStatsParams) SetCycleIds(cycleIds *string)
- func (o *GetStatsParams) SetFlightId(flightId string)
- func (o *GetStatsParams) SetHTTPClient(client *http.Client)
- func (o *GetStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatsParams) SetIsGlobal(isGlobal *bool)
- func (o *GetStatsParams) SetIsPublic(isPublic *bool)
- func (o *GetStatsParams) SetLimit(limit *int32)
- func (o *GetStatsParams) SetNamespace(namespace string)
- func (o *GetStatsParams) SetOffset(offset *int32)
- func (o *GetStatsParams) SetTimeout(timeout time.Duration)
- func (o *GetStatsParams) WithContext(ctx context.Context) *GetStatsParams
- func (o *GetStatsParams) WithCycleIds(cycleIds *string) *GetStatsParams
- func (o *GetStatsParams) WithHTTPClient(client *http.Client) *GetStatsParams
- func (o *GetStatsParams) WithIsGlobal(isGlobal *bool) *GetStatsParams
- func (o *GetStatsParams) WithIsPublic(isPublic *bool) *GetStatsParams
- func (o *GetStatsParams) WithLimit(limit *int32) *GetStatsParams
- func (o *GetStatsParams) WithNamespace(namespace string) *GetStatsParams
- func (o *GetStatsParams) WithOffset(offset *int32) *GetStatsParams
- func (o *GetStatsParams) WithTimeout(timeout time.Duration) *GetStatsParams
- func (o *GetStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatsReader
- type GetStatsUnauthorized
- type ImportStatsBadRequest
- type ImportStatsCreated
- type ImportStatsForbidden
- type ImportStatsInternalServerError
- type ImportStatsParams
- func (o *ImportStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ImportStatsParams) SetContext(ctx context.Context)
- func (o *ImportStatsParams) SetFile(file runtime.NamedReadCloser)
- func (o *ImportStatsParams) SetFlightId(flightId string)
- func (o *ImportStatsParams) SetHTTPClient(client *http.Client)
- func (o *ImportStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ImportStatsParams) SetNamespace(namespace string)
- func (o *ImportStatsParams) SetReplaceExisting(replaceExisting *bool)
- func (o *ImportStatsParams) SetTimeout(timeout time.Duration)
- func (o *ImportStatsParams) WithContext(ctx context.Context) *ImportStatsParams
- func (o *ImportStatsParams) WithFile(file runtime.NamedReadCloser) *ImportStatsParams
- func (o *ImportStatsParams) WithHTTPClient(client *http.Client) *ImportStatsParams
- func (o *ImportStatsParams) WithNamespace(namespace string) *ImportStatsParams
- func (o *ImportStatsParams) WithReplaceExisting(replaceExisting *bool) *ImportStatsParams
- func (o *ImportStatsParams) WithTimeout(timeout time.Duration) *ImportStatsParams
- func (o *ImportStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportStatsReader
- type ImportStatsUnauthorized
- type QueryStatsForbidden
- type QueryStatsInternalServerError
- type QueryStatsOK
- type QueryStatsParams
- func (o *QueryStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryStatsParams) SetContext(ctx context.Context)
- func (o *QueryStatsParams) SetFlightId(flightId string)
- func (o *QueryStatsParams) SetHTTPClient(client *http.Client)
- func (o *QueryStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryStatsParams) SetIsGlobal(isGlobal *bool)
- func (o *QueryStatsParams) SetIsPublic(isPublic *bool)
- func (o *QueryStatsParams) SetKeyword(keyword string)
- func (o *QueryStatsParams) SetLimit(limit *int32)
- func (o *QueryStatsParams) SetNamespace(namespace string)
- func (o *QueryStatsParams) SetOffset(offset *int32)
- func (o *QueryStatsParams) SetTimeout(timeout time.Duration)
- func (o *QueryStatsParams) WithContext(ctx context.Context) *QueryStatsParams
- func (o *QueryStatsParams) WithHTTPClient(client *http.Client) *QueryStatsParams
- func (o *QueryStatsParams) WithIsGlobal(isGlobal *bool) *QueryStatsParams
- func (o *QueryStatsParams) WithIsPublic(isPublic *bool) *QueryStatsParams
- func (o *QueryStatsParams) WithKeyword(keyword string) *QueryStatsParams
- func (o *QueryStatsParams) WithLimit(limit *int32) *QueryStatsParams
- func (o *QueryStatsParams) WithNamespace(namespace string) *QueryStatsParams
- func (o *QueryStatsParams) WithOffset(offset *int32) *QueryStatsParams
- func (o *QueryStatsParams) WithTimeout(timeout time.Duration) *QueryStatsParams
- func (o *QueryStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryStatsReader
- type QueryStatsUnauthorized
- type UpdateStatBadRequest
- type UpdateStatForbidden
- type UpdateStatInternalServerError
- type UpdateStatNotFound
- type UpdateStatOK
- type UpdateStatParams
- func (o *UpdateStatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateStatParams) SetBody(body *socialclientmodels.StatUpdate)
- func (o *UpdateStatParams) SetContext(ctx context.Context)
- func (o *UpdateStatParams) SetFlightId(flightId string)
- func (o *UpdateStatParams) SetHTTPClient(client *http.Client)
- func (o *UpdateStatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateStatParams) SetNamespace(namespace string)
- func (o *UpdateStatParams) SetStatCode(statCode string)
- func (o *UpdateStatParams) SetTimeout(timeout time.Duration)
- func (o *UpdateStatParams) WithBody(body *socialclientmodels.StatUpdate) *UpdateStatParams
- func (o *UpdateStatParams) WithContext(ctx context.Context) *UpdateStatParams
- func (o *UpdateStatParams) WithHTTPClient(client *http.Client) *UpdateStatParams
- func (o *UpdateStatParams) WithNamespace(namespace string) *UpdateStatParams
- func (o *UpdateStatParams) WithStatCode(statCode string) *UpdateStatParams
- func (o *UpdateStatParams) WithTimeout(timeout time.Duration) *UpdateStatParams
- func (o *UpdateStatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateStatReader
- type UpdateStatUnauthorized
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
func (a *Client) CreateStat(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, *CreateStatBadRequest, *CreateStatUnauthorized, *CreateStatForbidden, *CreateStatNotFound, *CreateStatConflict, *CreateStatUnprocessableEntity, *CreateStatInternalServerError, error)
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
func (*Client) CreateStat1
deprecated
func (a *Client) CreateStat1(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, *CreateStat1BadRequest, *CreateStat1Unauthorized, *CreateStat1Forbidden, *CreateStat1NotFound, *CreateStat1Conflict, *CreateStat1UnprocessableEntity, *CreateStat1InternalServerError, error)
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
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
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
func (*Client) DeleteStat
deprecated
func (a *Client) DeleteStat(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, *DeleteStatUnauthorized, *DeleteStatForbidden, *DeleteStatNotFound, *DeleteStatInternalServerError, error)
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
func (a *Client) DeleteTiedStat(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, *DeleteTiedStatUnauthorized, *DeleteTiedStatForbidden, *DeleteTiedStatNotFound, *DeleteTiedStatConflict, *DeleteTiedStatInternalServerError, error)
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
func (a *Client) ExportStats(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatsOK, *ExportStatsUnauthorized, *ExportStatsForbidden, *ExportStatsInternalServerError, error)
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
func (a *Client) GetStat(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, *GetStatUnauthorized, *GetStatForbidden, *GetStatNotFound, *GetStatInternalServerError, error)
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
func (a *Client) GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, *GetStatsUnauthorized, *GetStatsForbidden, *GetStatsInternalServerError, error)
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
func (a *Client) ImportStats(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, *ImportStatsBadRequest, *ImportStatsUnauthorized, *ImportStatsForbidden, *ImportStatsInternalServerError, error)
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
func (a *Client) QueryStats(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, *QueryStatsUnauthorized, *QueryStatsForbidden, *QueryStatsInternalServerError, error)
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
func (a *Client) UpdateStat(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, *UpdateStatBadRequest, *UpdateStatUnauthorized, *UpdateStatForbidden, *UpdateStatNotFound, *UpdateStatInternalServerError, error)
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 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 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 (o *CreateStat1BadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStat1Conflict) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStat1Created) GetPayload() *socialclientmodels.StatInfo
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 (o *CreateStat1Forbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStat1InternalServerError) Error() string
func (*CreateStat1InternalServerError) GetPayload ¶ added in v0.57.0
func (o *CreateStat1InternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStat1NotFound) GetPayload() *socialclientmodels.ErrorEntity
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 ¶
func (o *CreateStat1Params) SetBody(body *socialclientmodels.StatCreate)
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 ¶
func (o *CreateStat1Params) WithBody(body *socialclientmodels.StatCreate) *CreateStat1Params
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 {
}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 (o *CreateStat1Unauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStat1UnprocessableEntity) Error() string
func (*CreateStat1UnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *CreateStat1UnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
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 (o *CreateStatBadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStatConflict) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStatCreated) GetPayload() *socialclientmodels.StatInfo
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 (o *CreateStatForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStatInternalServerError) Error() string
func (*CreateStatInternalServerError) GetPayload ¶ added in v0.57.0
func (o *CreateStatInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStatNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 ¶
func (o *CreateStatParams) SetBody(body *socialclientmodels.StatCreate)
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 ¶
func (o *CreateStatParams) WithBody(body *socialclientmodels.StatCreate) *CreateStatParams
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 {
}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 (o *CreateStatUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *CreateStatUnprocessableEntity) Error() string
func (*CreateStatUnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *CreateStatUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
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 (o *DeleteStatForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *DeleteStatInternalServerError) Error() string
func (*DeleteStatInternalServerError) GetPayload ¶ added in v0.57.0
func (o *DeleteStatInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *DeleteStatNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 {
}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 (o *DeleteStatUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *DeleteTiedStatConflict) GetPayload() *socialclientmodels.ErrorEntity
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 (o *DeleteTiedStatForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *DeleteTiedStatInternalServerError) Error() string
func (*DeleteTiedStatInternalServerError) GetPayload ¶ added in v0.57.0
func (o *DeleteTiedStatInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *DeleteTiedStatNotFound) GetPayload() *socialclientmodels.ErrorEntity
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
func (o *DeleteTiedStatParams) WithContext(ctx context.Context) *DeleteTiedStatParams
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 {
}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 (o *DeleteTiedStatUnauthorized) Error() string
func (*DeleteTiedStatUnauthorized) GetPayload ¶ added in v0.57.0
func (o *DeleteTiedStatUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *ExportStatsForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *ExportStatsInternalServerError) Error() string
func (*ExportStatsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *ExportStatsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*ExportStatsInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *ExportStatsInternalServerError) ToJSONString() string
type ExportStatsOK ¶
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 {
}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 (o *ExportStatsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *GetStatForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *GetStatInternalServerError) Error() string
func (*GetStatInternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetStatInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *GetStatNotFound) GetPayload() *socialclientmodels.ErrorEntity
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) GetPayload ¶
func (o *GetStatOK) GetPayload() *socialclientmodels.StatInfo
func (*GetStatOK) ToJSONString ¶ added in v0.25.0
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 {
}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 (o *GetStatUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *GetStatsForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *GetStatsInternalServerError) Error() string
func (*GetStatsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetStatsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *GetStatsOK) GetPayload() *socialclientmodels.StatPagingSlicedResult
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 {
}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 (o *GetStatsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *ImportStatsBadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *ImportStatsCreated) GetPayload() *socialclientmodels.StatImportInfo
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 (o *ImportStatsForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *ImportStatsInternalServerError) Error() string
func (*ImportStatsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *ImportStatsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 ¶
func (o *ImportStatsParams) WithFile(file runtime.NamedReadCloser) *ImportStatsParams
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 {
}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 (o *ImportStatsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *QueryStatsForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *QueryStatsInternalServerError) Error() string
func (*QueryStatsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *QueryStatsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *QueryStatsOK) GetPayload() *socialclientmodels.StatPagingSlicedResult
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 {
}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 (o *QueryStatsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
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 (o *UpdateStatBadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *UpdateStatForbidden) GetPayload() *socialclientmodels.ErrorEntity
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 (o *UpdateStatInternalServerError) Error() string
func (*UpdateStatInternalServerError) GetPayload ¶ added in v0.57.0
func (o *UpdateStatInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
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 (o *UpdateStatNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 ¶
func (o *UpdateStatParams) SetBody(body *socialclientmodels.StatUpdate)
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 ¶
func (o *UpdateStatParams) WithBody(body *socialclientmodels.StatUpdate) *UpdateStatParams
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 {
}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 (o *UpdateStatUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*UpdateStatUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *UpdateStatUnauthorized) ToJSONString() string
Source Files ¶
- create_stat_1_parameters.go
- create_stat_1_responses.go
- create_stat_parameters.go
- create_stat_responses.go
- delete_stat_parameters.go
- delete_stat_responses.go
- delete_tied_stat_parameters.go
- delete_tied_stat_responses.go
- export_stats_parameters.go
- export_stats_responses.go
- get_stat_parameters.go
- get_stat_responses.go
- get_stats_parameters.go
- get_stats_responses.go
- import_stats_parameters.go
- import_stats_responses.go
- query_stats_parameters.go
- query_stats_responses.go
- stat_configuration_client.go
- update_stat_parameters.go
- update_stat_responses.go