Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateStat(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, *CreateStatNotFound, *CreateStatConflict, error)deprecated
- func (a *Client) CreateStat1(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, *CreateStat1NotFound, *CreateStat1Conflict, error)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, *DeleteStatNotFound, error)deprecated
- func (a *Client) DeleteStatShort(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, error)
- func (a *Client) DeleteTiedStat(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, *DeleteTiedStatConflict, error)deprecated
- func (a *Client) DeleteTiedStatShort(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, error)
- func (a *Client) ExportStats(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportStatsOK, error)deprecated
- func (a *Client) ExportStatsShort(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportStatsOK, error)
- func (a *Client) GetStat(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, *GetStatNotFound, error)deprecated
- func (a *Client) GetStatShort(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, error)
- func (a *Client) GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, error)deprecated
- func (a *Client) GetStatsShort(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, error)
- func (a *Client) ImportStats(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, *ImportStatsBadRequest, error)deprecated
- func (a *Client) ImportStatsShort(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, error)
- func (a *Client) QueryStats(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, error)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, *UpdateStatNotFound, error)deprecated
- func (a *Client) UpdateStatShort(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, error)
- type ClientService
- type CreateStat1Conflict
- type CreateStat1Created
- 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) 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 CreateStatConflict
- type CreateStatCreated
- 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) 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 DeleteStatNoContent
- type DeleteStatNotFound
- type DeleteStatParams
- func (o *DeleteStatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteStatParams) SetContext(ctx context.Context)
- 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 DeleteTiedStatConflict
- type DeleteTiedStatNoContent
- 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) 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 ExportStatsOK
- type ExportStatsParams
- func (o *ExportStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExportStatsParams) SetContext(ctx context.Context)
- 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 GetStatNotFound
- type GetStatOK
- type GetStatParams
- func (o *GetStatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatParams) SetContext(ctx context.Context)
- 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 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) SetHTTPClient(client *http.Client)
- func (o *GetStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatsParams) SetIsGlobal(isGlobal *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) 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 ImportStatsBadRequest
- type ImportStatsCreated
- 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) 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 QueryStatsOK
- type QueryStatsParams
- func (o *QueryStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryStatsParams) SetContext(ctx context.Context)
- func (o *QueryStatsParams) SetHTTPClient(client *http.Client)
- func (o *QueryStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryStatsParams) SetIsGlobal(isGlobal *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) 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 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) 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
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, *CreateStatNotFound, *CreateStatConflict, 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, *CreateStat1NotFound, *CreateStat1Conflict, 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, *DeleteStatNotFound, 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, *DeleteTiedStatConflict, 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, 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, *GetStatNotFound, 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, 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, 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, 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, *UpdateStatNotFound, 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
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
type ClientService ¶
type ClientService interface { GetStats(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, error) GetStatsShort(params *GetStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatsOK, error) CreateStat(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, *CreateStatNotFound, *CreateStatConflict, error) CreateStatShort(params *CreateStatParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCreated, error) ExportStats(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatsOK, error) ExportStatsShort(params *ExportStatsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatsOK, error) ImportStats(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, *ImportStatsBadRequest, error) ImportStatsShort(params *ImportStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatsCreated, error) QueryStats(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, error) QueryStatsShort(params *QueryStatsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryStatsOK, error) GetStat(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, *GetStatNotFound, error) GetStatShort(params *GetStatParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatOK, error) DeleteStat(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, *DeleteStatNotFound, error) DeleteStatShort(params *DeleteStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatNoContent, error) UpdateStat(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, *UpdateStatNotFound, error) UpdateStatShort(params *UpdateStatParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatOK, error) DeleteTiedStat(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, *DeleteTiedStatConflict, error) DeleteTiedStatShort(params *DeleteTiedStatParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTiedStatNoContent, error) CreateStat1(params *CreateStat1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateStat1Created, *CreateStat1NotFound, *CreateStat1Conflict, 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 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 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 // 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) 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 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 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 // 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) 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 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 // 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) 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 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 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 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 // 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) 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 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 // 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) 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 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 // 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) 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 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 /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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) 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) 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) 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 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>70138</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 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 // 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) 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 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 /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Keyword keyword */ Keyword string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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) 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) 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) 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 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 // 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) 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.
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