Documentation
¶
Index ¶
- Constants
- type BulkAddStatsNotFound
- type BulkAddStatsOK
- type BulkAddStatsParams
- func (o *BulkAddStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkAddStatsParams) SetBody(body *socialclientmodels.BulkCycleStatsAdd)
- func (o *BulkAddStatsParams) SetContext(ctx context.Context)
- func (o *BulkAddStatsParams) SetCycleID(cycleID string)
- func (o *BulkAddStatsParams) SetHTTPClient(client *http.Client)
- func (o *BulkAddStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkAddStatsParams) SetNamespace(namespace string)
- func (o *BulkAddStatsParams) SetTimeout(timeout time.Duration)
- func (o *BulkAddStatsParams) WithBody(body *socialclientmodels.BulkCycleStatsAdd) *BulkAddStatsParams
- func (o *BulkAddStatsParams) WithContext(ctx context.Context) *BulkAddStatsParams
- func (o *BulkAddStatsParams) WithCycleID(cycleID string) *BulkAddStatsParams
- func (o *BulkAddStatsParams) WithHTTPClient(client *http.Client) *BulkAddStatsParams
- func (o *BulkAddStatsParams) WithNamespace(namespace string) *BulkAddStatsParams
- func (o *BulkAddStatsParams) WithTimeout(timeout time.Duration) *BulkAddStatsParams
- func (o *BulkAddStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkAddStatsReader
- type Client
- func (a *Client) BulkAddStats(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, *BulkAddStatsNotFound, error)deprecated
- func (a *Client) BulkAddStatsShort(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, error)
- func (a *Client) CreateStatCycle(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, *CreateStatCycleBadRequest, error)deprecated
- func (a *Client) CreateStatCycleShort(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, error)
- func (a *Client) DeleteStatCycle(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, *DeleteStatCycleNotFound, error)deprecated
- func (a *Client) DeleteStatCycleShort(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, error)
- func (a *Client) GetStatCycle(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, *GetStatCycleNotFound, error)deprecated
- func (a *Client) GetStatCycle1(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, *GetStatCycle1NotFound, error)deprecated
- func (a *Client) GetStatCycle1Short(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, error)
- func (a *Client) GetStatCycleShort(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, error)
- func (a *Client) GetStatCycles(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error)deprecated
- func (a *Client) GetStatCycles1(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error)deprecated
- func (a *Client) GetStatCycles1Short(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error)
- func (a *Client) GetStatCyclesShort(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateStatCycle(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, *UpdateStatCycleBadRequest, *UpdateStatCycleNotFound, ...)deprecated
- func (a *Client) UpdateStatCycleShort(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, error)
- type ClientService
- type CreateStatCycleBadRequest
- type CreateStatCycleCreated
- type CreateStatCycleParams
- func NewCreateStatCycleParams() *CreateStatCycleParams
- func NewCreateStatCycleParamsWithContext(ctx context.Context) *CreateStatCycleParams
- func NewCreateStatCycleParamsWithHTTPClient(client *http.Client) *CreateStatCycleParams
- func NewCreateStatCycleParamsWithTimeout(timeout time.Duration) *CreateStatCycleParams
- func (o *CreateStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateStatCycleParams) SetBody(body *socialclientmodels.StatCycleCreate)
- func (o *CreateStatCycleParams) SetContext(ctx context.Context)
- func (o *CreateStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *CreateStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateStatCycleParams) SetNamespace(namespace string)
- func (o *CreateStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *CreateStatCycleParams) WithBody(body *socialclientmodels.StatCycleCreate) *CreateStatCycleParams
- func (o *CreateStatCycleParams) WithContext(ctx context.Context) *CreateStatCycleParams
- func (o *CreateStatCycleParams) WithHTTPClient(client *http.Client) *CreateStatCycleParams
- func (o *CreateStatCycleParams) WithNamespace(namespace string) *CreateStatCycleParams
- func (o *CreateStatCycleParams) WithTimeout(timeout time.Duration) *CreateStatCycleParams
- func (o *CreateStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateStatCycleReader
- type DeleteStatCycleNoContent
- type DeleteStatCycleNotFound
- type DeleteStatCycleParams
- func NewDeleteStatCycleParams() *DeleteStatCycleParams
- func NewDeleteStatCycleParamsWithContext(ctx context.Context) *DeleteStatCycleParams
- func NewDeleteStatCycleParamsWithHTTPClient(client *http.Client) *DeleteStatCycleParams
- func NewDeleteStatCycleParamsWithTimeout(timeout time.Duration) *DeleteStatCycleParams
- func (o *DeleteStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteStatCycleParams) SetContext(ctx context.Context)
- func (o *DeleteStatCycleParams) SetCycleID(cycleID string)
- func (o *DeleteStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteStatCycleParams) SetNamespace(namespace string)
- func (o *DeleteStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteStatCycleParams) WithContext(ctx context.Context) *DeleteStatCycleParams
- func (o *DeleteStatCycleParams) WithCycleID(cycleID string) *DeleteStatCycleParams
- func (o *DeleteStatCycleParams) WithHTTPClient(client *http.Client) *DeleteStatCycleParams
- func (o *DeleteStatCycleParams) WithNamespace(namespace string) *DeleteStatCycleParams
- func (o *DeleteStatCycleParams) WithTimeout(timeout time.Duration) *DeleteStatCycleParams
- func (o *DeleteStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteStatCycleReader
- type GetStatCycle1NotFound
- type GetStatCycle1OK
- type GetStatCycle1Params
- func (o *GetStatCycle1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatCycle1Params) SetContext(ctx context.Context)
- func (o *GetStatCycle1Params) SetCycleID(cycleID string)
- func (o *GetStatCycle1Params) SetHTTPClient(client *http.Client)
- func (o *GetStatCycle1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatCycle1Params) SetNamespace(namespace string)
- func (o *GetStatCycle1Params) SetTimeout(timeout time.Duration)
- func (o *GetStatCycle1Params) WithContext(ctx context.Context) *GetStatCycle1Params
- func (o *GetStatCycle1Params) WithCycleID(cycleID string) *GetStatCycle1Params
- func (o *GetStatCycle1Params) WithHTTPClient(client *http.Client) *GetStatCycle1Params
- func (o *GetStatCycle1Params) WithNamespace(namespace string) *GetStatCycle1Params
- func (o *GetStatCycle1Params) WithTimeout(timeout time.Duration) *GetStatCycle1Params
- func (o *GetStatCycle1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatCycle1Reader
- type GetStatCycleNotFound
- type GetStatCycleOK
- type GetStatCycleParams
- func (o *GetStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatCycleParams) SetContext(ctx context.Context)
- func (o *GetStatCycleParams) SetCycleID(cycleID string)
- func (o *GetStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *GetStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatCycleParams) SetNamespace(namespace string)
- func (o *GetStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *GetStatCycleParams) WithContext(ctx context.Context) *GetStatCycleParams
- func (o *GetStatCycleParams) WithCycleID(cycleID string) *GetStatCycleParams
- func (o *GetStatCycleParams) WithHTTPClient(client *http.Client) *GetStatCycleParams
- func (o *GetStatCycleParams) WithNamespace(namespace string) *GetStatCycleParams
- func (o *GetStatCycleParams) WithTimeout(timeout time.Duration) *GetStatCycleParams
- func (o *GetStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatCycleReader
- type GetStatCycles1OK
- type GetStatCycles1Params
- func NewGetStatCycles1Params() *GetStatCycles1Params
- func NewGetStatCycles1ParamsWithContext(ctx context.Context) *GetStatCycles1Params
- func NewGetStatCycles1ParamsWithHTTPClient(client *http.Client) *GetStatCycles1Params
- func NewGetStatCycles1ParamsWithTimeout(timeout time.Duration) *GetStatCycles1Params
- func (o *GetStatCycles1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatCycles1Params) SetContext(ctx context.Context)
- func (o *GetStatCycles1Params) SetCycleType(cycleType *string)
- func (o *GetStatCycles1Params) SetHTTPClient(client *http.Client)
- func (o *GetStatCycles1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatCycles1Params) SetLimit(limit *int32)
- func (o *GetStatCycles1Params) SetName(name *string)
- func (o *GetStatCycles1Params) SetNamespace(namespace string)
- func (o *GetStatCycles1Params) SetOffset(offset *int32)
- func (o *GetStatCycles1Params) SetStatus(status *string)
- func (o *GetStatCycles1Params) SetTimeout(timeout time.Duration)
- func (o *GetStatCycles1Params) WithContext(ctx context.Context) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithCycleType(cycleType *string) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithHTTPClient(client *http.Client) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithLimit(limit *int32) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithName(name *string) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithNamespace(namespace string) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithOffset(offset *int32) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithStatus(status *string) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WithTimeout(timeout time.Duration) *GetStatCycles1Params
- func (o *GetStatCycles1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatCycles1Reader
- type GetStatCyclesOK
- type GetStatCyclesParams
- func (o *GetStatCyclesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatCyclesParams) SetContext(ctx context.Context)
- func (o *GetStatCyclesParams) SetCycleType(cycleType *string)
- func (o *GetStatCyclesParams) SetHTTPClient(client *http.Client)
- func (o *GetStatCyclesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatCyclesParams) SetLimit(limit *int32)
- func (o *GetStatCyclesParams) SetName(name *string)
- func (o *GetStatCyclesParams) SetNamespace(namespace string)
- func (o *GetStatCyclesParams) SetOffset(offset *int32)
- func (o *GetStatCyclesParams) SetStatus(status *string)
- func (o *GetStatCyclesParams) SetTimeout(timeout time.Duration)
- func (o *GetStatCyclesParams) WithContext(ctx context.Context) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithCycleType(cycleType *string) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithHTTPClient(client *http.Client) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithLimit(limit *int32) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithName(name *string) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithNamespace(namespace string) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithOffset(offset *int32) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithStatus(status *string) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WithTimeout(timeout time.Duration) *GetStatCyclesParams
- func (o *GetStatCyclesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatCyclesReader
- type UpdateStatCycleBadRequest
- type UpdateStatCycleConflict
- type UpdateStatCycleNotFound
- type UpdateStatCycleOK
- type UpdateStatCycleParams
- func NewUpdateStatCycleParams() *UpdateStatCycleParams
- func NewUpdateStatCycleParamsWithContext(ctx context.Context) *UpdateStatCycleParams
- func NewUpdateStatCycleParamsWithHTTPClient(client *http.Client) *UpdateStatCycleParams
- func NewUpdateStatCycleParamsWithTimeout(timeout time.Duration) *UpdateStatCycleParams
- func (o *UpdateStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateStatCycleParams) SetBody(body *socialclientmodels.StatCycleUpdate)
- func (o *UpdateStatCycleParams) SetContext(ctx context.Context)
- func (o *UpdateStatCycleParams) SetCycleID(cycleID string)
- func (o *UpdateStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateStatCycleParams) SetNamespace(namespace string)
- func (o *UpdateStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateStatCycleParams) WithBody(body *socialclientmodels.StatCycleUpdate) *UpdateStatCycleParams
- func (o *UpdateStatCycleParams) WithContext(ctx context.Context) *UpdateStatCycleParams
- func (o *UpdateStatCycleParams) WithCycleID(cycleID string) *UpdateStatCycleParams
- func (o *UpdateStatCycleParams) WithHTTPClient(client *http.Client) *UpdateStatCycleParams
- func (o *UpdateStatCycleParams) WithNamespace(namespace string) *UpdateStatCycleParams
- func (o *UpdateStatCycleParams) WithTimeout(timeout time.Duration) *UpdateStatCycleParams
- func (o *UpdateStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateStatCycleReader
Constants ¶
const ( GetStatCycles1ANNUALLYConstant = "ANNUALLY" GetStatCycles1DAILYConstant = "DAILY" GetStatCycles1MONTHLYConstant = "MONTHLY" GetStatCycles1SEASONALConstant = "SEASONAL" GetStatCycles1WEEKLYConstant = "WEEKLY" )
Get the enum in GetStatCycles1Params
const ( GetStatCycles1ACTIVEConstant = "ACTIVE" GetStatCycles1INITConstant = "INIT" GetStatCycles1STOPPEDConstant = "STOPPED" )
Get the enum in GetStatCycles1Params
const ( GetStatCyclesANNUALLYConstant = "ANNUALLY" GetStatCyclesDAILYConstant = "DAILY" GetStatCyclesMONTHLYConstant = "MONTHLY" GetStatCyclesSEASONALConstant = "SEASONAL" GetStatCyclesWEEKLYConstant = "WEEKLY" )
Get the enum in GetStatCyclesParams
const ( GetStatCyclesACTIVEConstant = "ACTIVE" GetStatCyclesINITConstant = "INIT" GetStatCyclesSTOPPEDConstant = "STOPPED" )
Get the enum in GetStatCyclesParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkAddStatsNotFound ¶
type BulkAddStatsNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
BulkAddStatsNotFound 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 NewBulkAddStatsNotFound ¶
func NewBulkAddStatsNotFound() *BulkAddStatsNotFound
NewBulkAddStatsNotFound creates a BulkAddStatsNotFound with default headers values
func (*BulkAddStatsNotFound) Error ¶
func (o *BulkAddStatsNotFound) Error() string
func (*BulkAddStatsNotFound) GetPayload ¶
func (o *BulkAddStatsNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkAddStatsNotFound) ToJSONString ¶
func (o *BulkAddStatsNotFound) ToJSONString() string
type BulkAddStatsOK ¶
type BulkAddStatsOK struct {
Payload []*socialclientmodels.BulkStatOperationResult
}
BulkAddStatsOK handles this case with default header values.
successful operation
func NewBulkAddStatsOK ¶
func NewBulkAddStatsOK() *BulkAddStatsOK
NewBulkAddStatsOK creates a BulkAddStatsOK with default headers values
func (*BulkAddStatsOK) Error ¶
func (o *BulkAddStatsOK) Error() string
func (*BulkAddStatsOK) GetPayload ¶
func (o *BulkAddStatsOK) GetPayload() []*socialclientmodels.BulkStatOperationResult
func (*BulkAddStatsOK) ToJSONString ¶
func (o *BulkAddStatsOK) ToJSONString() string
type BulkAddStatsParams ¶
type BulkAddStatsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *socialclientmodels.BulkCycleStatsAdd /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkAddStatsParams contains all the parameters to send to the API endpoint for the bulk add stats operation typically these are written to a http.Request
func NewBulkAddStatsParams ¶
func NewBulkAddStatsParams() *BulkAddStatsParams
NewBulkAddStatsParams creates a new BulkAddStatsParams object with the default values initialized.
func NewBulkAddStatsParamsWithContext ¶
func NewBulkAddStatsParamsWithContext(ctx context.Context) *BulkAddStatsParams
NewBulkAddStatsParamsWithContext creates a new BulkAddStatsParams object with the default values initialized, and the ability to set a context for a request
func NewBulkAddStatsParamsWithHTTPClient ¶
func NewBulkAddStatsParamsWithHTTPClient(client *http.Client) *BulkAddStatsParams
NewBulkAddStatsParamsWithHTTPClient creates a new BulkAddStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkAddStatsParamsWithTimeout ¶
func NewBulkAddStatsParamsWithTimeout(timeout time.Duration) *BulkAddStatsParams
NewBulkAddStatsParamsWithTimeout creates a new BulkAddStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkAddStatsParams) SetAuthInfoWriter ¶
func (o *BulkAddStatsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk add stats params
func (*BulkAddStatsParams) SetBody ¶
func (o *BulkAddStatsParams) SetBody(body *socialclientmodels.BulkCycleStatsAdd)
SetBody adds the body to the bulk add stats params
func (*BulkAddStatsParams) SetContext ¶
func (o *BulkAddStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk add stats params
func (*BulkAddStatsParams) SetCycleID ¶
func (o *BulkAddStatsParams) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the bulk add stats params
func (*BulkAddStatsParams) SetHTTPClient ¶
func (o *BulkAddStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk add stats params
func (*BulkAddStatsParams) SetHTTPClientTransport ¶
func (o *BulkAddStatsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk add stats params
func (*BulkAddStatsParams) SetNamespace ¶
func (o *BulkAddStatsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk add stats params
func (*BulkAddStatsParams) SetTimeout ¶
func (o *BulkAddStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk add stats params
func (*BulkAddStatsParams) WithBody ¶
func (o *BulkAddStatsParams) WithBody(body *socialclientmodels.BulkCycleStatsAdd) *BulkAddStatsParams
WithBody adds the body to the bulk add stats params
func (*BulkAddStatsParams) WithContext ¶
func (o *BulkAddStatsParams) WithContext(ctx context.Context) *BulkAddStatsParams
WithContext adds the context to the bulk add stats params
func (*BulkAddStatsParams) WithCycleID ¶
func (o *BulkAddStatsParams) WithCycleID(cycleID string) *BulkAddStatsParams
WithCycleID adds the cycleID to the bulk add stats params
func (*BulkAddStatsParams) WithHTTPClient ¶
func (o *BulkAddStatsParams) WithHTTPClient(client *http.Client) *BulkAddStatsParams
WithHTTPClient adds the HTTPClient to the bulk add stats params
func (*BulkAddStatsParams) WithNamespace ¶
func (o *BulkAddStatsParams) WithNamespace(namespace string) *BulkAddStatsParams
WithNamespace adds the namespace to the bulk add stats params
func (*BulkAddStatsParams) WithTimeout ¶
func (o *BulkAddStatsParams) WithTimeout(timeout time.Duration) *BulkAddStatsParams
WithTimeout adds the timeout to the bulk add stats params
func (*BulkAddStatsParams) WriteToRequest ¶
func (o *BulkAddStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkAddStatsReader ¶
type BulkAddStatsReader struct {
// contains filtered or unexported fields
}
BulkAddStatsReader is a Reader for the BulkAddStats structure.
func (*BulkAddStatsReader) ReadResponse ¶
func (o *BulkAddStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for stat cycle configuration API
func (*Client) BulkAddStats
deprecated
func (a *Client) BulkAddStats(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, *BulkAddStatsNotFound, error)
Deprecated: Use BulkAddStatsShort instead.
BulkAddStats bulks add stat cycle to stats Bulk add stat cycle to stats.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)</li></ul>
func (*Client) BulkAddStatsShort ¶
func (a *Client) BulkAddStatsShort(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, error)
BulkAddStatsShort bulks add stat cycle to stats
Bulk add stat cycle to stats.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)</li></ul>
func (*Client) CreateStatCycle
deprecated
func (a *Client) CreateStatCycle(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, *CreateStatCycleBadRequest, error)
Deprecated: Use CreateStatCycleShort instead.
CreateStatCycle creates stat cycle Create stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)</li><li><i>Returns</i>: created stat cycle</li></ul>
func (*Client) CreateStatCycleShort ¶
func (a *Client) CreateStatCycleShort(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, error)
CreateStatCycleShort creates stat cycle
Create stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)</li><li><i>Returns</i>: created stat cycle</li></ul>
func (*Client) DeleteStatCycle
deprecated
func (a *Client) DeleteStatCycle(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, *DeleteStatCycleNotFound, error)
Deprecated: Use DeleteStatCycleShort instead.
DeleteStatCycle deletes stat cycle Deletes stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)</li></ul>
func (*Client) DeleteStatCycleShort ¶
func (a *Client) DeleteStatCycleShort(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, error)
DeleteStatCycleShort deletes stat cycle
Deletes stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)</li></ul>
func (*Client) GetStatCycle
deprecated
func (a *Client) GetStatCycle(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, *GetStatCycleNotFound, error)
Deprecated: Use GetStatCycleShort instead.
GetStatCycle gets stat cycle Get stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycle info</ul>
func (*Client) GetStatCycle1
deprecated
func (a *Client) GetStatCycle1(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, *GetStatCycle1NotFound, error)
Deprecated: Use GetStatCycle1Short instead.
GetStatCycle1 gets stat cycle Get stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycle info</ul>
func (*Client) GetStatCycle1Short ¶
func (a *Client) GetStatCycle1Short(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, error)
GetStatCycle1Short gets stat cycle
Get stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycle info</ul>
func (*Client) GetStatCycleShort ¶
func (a *Client) GetStatCycleShort(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, error)
GetStatCycleShort gets stat cycle
Get stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycle info</ul>
func (*Client) GetStatCycles
deprecated
func (a *Client) GetStatCycles(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error)
Deprecated: Use GetStatCyclesShort instead.
GetStatCycles lists stat cycles List stat cycles by pagination.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycles</li></ul>
func (*Client) GetStatCycles1
deprecated
func (a *Client) GetStatCycles1(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error)
Deprecated: Use GetStatCycles1Short instead.
GetStatCycles1 lists stat cycles List stat cycles by pagination.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycles</li></ul>
func (*Client) GetStatCycles1Short ¶
func (a *Client) GetStatCycles1Short(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error)
GetStatCycles1Short lists stat cycles
List stat cycles by pagination.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycles</li></ul>
func (*Client) GetStatCyclesShort ¶
func (a *Client) GetStatCyclesShort(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error)
GetStatCyclesShort lists stat cycles
List stat cycles by pagination.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)</li><li><i>Returns</i>: stat cycles</li></ul>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateStatCycle
deprecated
func (a *Client) UpdateStatCycle(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, *UpdateStatCycleBadRequest, *UpdateStatCycleNotFound, *UpdateStatCycleConflict, error)
Deprecated: Use UpdateStatCycleShort instead.
UpdateStatCycle updates stat cycle Update stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)</li><li><i>Returns</i>: updated stat cycle</li></ul>
func (*Client) UpdateStatCycleShort ¶
func (a *Client) UpdateStatCycleShort(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, error)
UpdateStatCycleShort updates stat cycle
Update stat cycle.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)</li><li><i>Returns</i>: updated stat cycle</li></ul>
type ClientService ¶
type ClientService interface { BulkAddStats(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, *BulkAddStatsNotFound, error) BulkAddStatsShort(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, error) CreateStatCycle(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, *CreateStatCycleBadRequest, error) CreateStatCycleShort(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, error) DeleteStatCycle(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, *DeleteStatCycleNotFound, error) DeleteStatCycleShort(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, error) GetStatCycle(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, *GetStatCycleNotFound, error) GetStatCycleShort(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, error) GetStatCycle1(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, *GetStatCycle1NotFound, error) GetStatCycle1Short(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, error) GetStatCycles(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error) GetStatCyclesShort(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error) GetStatCycles1(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error) GetStatCycles1Short(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error) UpdateStatCycle(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, *UpdateStatCycleBadRequest, *UpdateStatCycleNotFound, *UpdateStatCycleConflict, error) UpdateStatCycleShort(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, 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 cycle configuration API client.
type CreateStatCycleBadRequest ¶
type CreateStatCycleBadRequest struct {
Payload *socialclientmodels.ErrorEntity
}
CreateStatCycleBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12225</td><td>Invalid time range</td></tr><tr><td>12226</td><td>Invalid date [{date}] of month [{month}]</td></tr></table>
func NewCreateStatCycleBadRequest ¶
func NewCreateStatCycleBadRequest() *CreateStatCycleBadRequest
NewCreateStatCycleBadRequest creates a CreateStatCycleBadRequest with default headers values
func (*CreateStatCycleBadRequest) Error ¶
func (o *CreateStatCycleBadRequest) Error() string
func (*CreateStatCycleBadRequest) GetPayload ¶
func (o *CreateStatCycleBadRequest) GetPayload() *socialclientmodels.ErrorEntity
func (*CreateStatCycleBadRequest) ToJSONString ¶
func (o *CreateStatCycleBadRequest) ToJSONString() string
type CreateStatCycleCreated ¶
type CreateStatCycleCreated struct {
Payload *socialclientmodels.StatCycleInfo
}
CreateStatCycleCreated handles this case with default header values.
successful operation
func NewCreateStatCycleCreated ¶
func NewCreateStatCycleCreated() *CreateStatCycleCreated
NewCreateStatCycleCreated creates a CreateStatCycleCreated with default headers values
func (*CreateStatCycleCreated) Error ¶
func (o *CreateStatCycleCreated) Error() string
func (*CreateStatCycleCreated) GetPayload ¶
func (o *CreateStatCycleCreated) GetPayload() *socialclientmodels.StatCycleInfo
func (*CreateStatCycleCreated) ToJSONString ¶
func (o *CreateStatCycleCreated) ToJSONString() string
type CreateStatCycleParams ¶
type CreateStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *socialclientmodels.StatCycleCreate /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateStatCycleParams contains all the parameters to send to the API endpoint for the create stat cycle operation typically these are written to a http.Request
func NewCreateStatCycleParams ¶
func NewCreateStatCycleParams() *CreateStatCycleParams
NewCreateStatCycleParams creates a new CreateStatCycleParams object with the default values initialized.
func NewCreateStatCycleParamsWithContext ¶
func NewCreateStatCycleParamsWithContext(ctx context.Context) *CreateStatCycleParams
NewCreateStatCycleParamsWithContext creates a new CreateStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateStatCycleParamsWithHTTPClient ¶
func NewCreateStatCycleParamsWithHTTPClient(client *http.Client) *CreateStatCycleParams
NewCreateStatCycleParamsWithHTTPClient creates a new CreateStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateStatCycleParamsWithTimeout ¶
func NewCreateStatCycleParamsWithTimeout(timeout time.Duration) *CreateStatCycleParams
NewCreateStatCycleParamsWithTimeout creates a new CreateStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateStatCycleParams) SetAuthInfoWriter ¶
func (o *CreateStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create stat cycle params
func (*CreateStatCycleParams) SetBody ¶
func (o *CreateStatCycleParams) SetBody(body *socialclientmodels.StatCycleCreate)
SetBody adds the body to the create stat cycle params
func (*CreateStatCycleParams) SetContext ¶
func (o *CreateStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the create stat cycle params
func (*CreateStatCycleParams) SetHTTPClient ¶
func (o *CreateStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create stat cycle params
func (*CreateStatCycleParams) SetHTTPClientTransport ¶
func (o *CreateStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create stat cycle params
func (*CreateStatCycleParams) SetNamespace ¶
func (o *CreateStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create stat cycle params
func (*CreateStatCycleParams) SetTimeout ¶
func (o *CreateStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create stat cycle params
func (*CreateStatCycleParams) WithBody ¶
func (o *CreateStatCycleParams) WithBody(body *socialclientmodels.StatCycleCreate) *CreateStatCycleParams
WithBody adds the body to the create stat cycle params
func (*CreateStatCycleParams) WithContext ¶
func (o *CreateStatCycleParams) WithContext(ctx context.Context) *CreateStatCycleParams
WithContext adds the context to the create stat cycle params
func (*CreateStatCycleParams) WithHTTPClient ¶
func (o *CreateStatCycleParams) WithHTTPClient(client *http.Client) *CreateStatCycleParams
WithHTTPClient adds the HTTPClient to the create stat cycle params
func (*CreateStatCycleParams) WithNamespace ¶
func (o *CreateStatCycleParams) WithNamespace(namespace string) *CreateStatCycleParams
WithNamespace adds the namespace to the create stat cycle params
func (*CreateStatCycleParams) WithTimeout ¶
func (o *CreateStatCycleParams) WithTimeout(timeout time.Duration) *CreateStatCycleParams
WithTimeout adds the timeout to the create stat cycle params
func (*CreateStatCycleParams) WriteToRequest ¶
func (o *CreateStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateStatCycleReader ¶
type CreateStatCycleReader struct {
// contains filtered or unexported fields
}
CreateStatCycleReader is a Reader for the CreateStatCycle structure.
func (*CreateStatCycleReader) ReadResponse ¶
func (o *CreateStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteStatCycleNoContent ¶
type DeleteStatCycleNoContent struct { }
DeleteStatCycleNoContent handles this case with default header values.
Successful operation
func NewDeleteStatCycleNoContent ¶
func NewDeleteStatCycleNoContent() *DeleteStatCycleNoContent
NewDeleteStatCycleNoContent creates a DeleteStatCycleNoContent with default headers values
func (*DeleteStatCycleNoContent) Error ¶
func (o *DeleteStatCycleNoContent) Error() string
type DeleteStatCycleNotFound ¶
type DeleteStatCycleNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
DeleteStatCycleNotFound 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 NewDeleteStatCycleNotFound ¶
func NewDeleteStatCycleNotFound() *DeleteStatCycleNotFound
NewDeleteStatCycleNotFound creates a DeleteStatCycleNotFound with default headers values
func (*DeleteStatCycleNotFound) Error ¶
func (o *DeleteStatCycleNotFound) Error() string
func (*DeleteStatCycleNotFound) GetPayload ¶
func (o *DeleteStatCycleNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*DeleteStatCycleNotFound) ToJSONString ¶
func (o *DeleteStatCycleNotFound) ToJSONString() string
type DeleteStatCycleParams ¶
type DeleteStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteStatCycleParams contains all the parameters to send to the API endpoint for the delete stat cycle operation typically these are written to a http.Request
func NewDeleteStatCycleParams ¶
func NewDeleteStatCycleParams() *DeleteStatCycleParams
NewDeleteStatCycleParams creates a new DeleteStatCycleParams object with the default values initialized.
func NewDeleteStatCycleParamsWithContext ¶
func NewDeleteStatCycleParamsWithContext(ctx context.Context) *DeleteStatCycleParams
NewDeleteStatCycleParamsWithContext creates a new DeleteStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteStatCycleParamsWithHTTPClient ¶
func NewDeleteStatCycleParamsWithHTTPClient(client *http.Client) *DeleteStatCycleParams
NewDeleteStatCycleParamsWithHTTPClient creates a new DeleteStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteStatCycleParamsWithTimeout ¶
func NewDeleteStatCycleParamsWithTimeout(timeout time.Duration) *DeleteStatCycleParams
NewDeleteStatCycleParamsWithTimeout creates a new DeleteStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteStatCycleParams) SetAuthInfoWriter ¶
func (o *DeleteStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete stat cycle params
func (*DeleteStatCycleParams) SetContext ¶
func (o *DeleteStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete stat cycle params
func (*DeleteStatCycleParams) SetCycleID ¶
func (o *DeleteStatCycleParams) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the delete stat cycle params
func (*DeleteStatCycleParams) SetHTTPClient ¶
func (o *DeleteStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete stat cycle params
func (*DeleteStatCycleParams) SetHTTPClientTransport ¶
func (o *DeleteStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete stat cycle params
func (*DeleteStatCycleParams) SetNamespace ¶
func (o *DeleteStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete stat cycle params
func (*DeleteStatCycleParams) SetTimeout ¶
func (o *DeleteStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete stat cycle params
func (*DeleteStatCycleParams) WithContext ¶
func (o *DeleteStatCycleParams) WithContext(ctx context.Context) *DeleteStatCycleParams
WithContext adds the context to the delete stat cycle params
func (*DeleteStatCycleParams) WithCycleID ¶
func (o *DeleteStatCycleParams) WithCycleID(cycleID string) *DeleteStatCycleParams
WithCycleID adds the cycleID to the delete stat cycle params
func (*DeleteStatCycleParams) WithHTTPClient ¶
func (o *DeleteStatCycleParams) WithHTTPClient(client *http.Client) *DeleteStatCycleParams
WithHTTPClient adds the HTTPClient to the delete stat cycle params
func (*DeleteStatCycleParams) WithNamespace ¶
func (o *DeleteStatCycleParams) WithNamespace(namespace string) *DeleteStatCycleParams
WithNamespace adds the namespace to the delete stat cycle params
func (*DeleteStatCycleParams) WithTimeout ¶
func (o *DeleteStatCycleParams) WithTimeout(timeout time.Duration) *DeleteStatCycleParams
WithTimeout adds the timeout to the delete stat cycle params
func (*DeleteStatCycleParams) WriteToRequest ¶
func (o *DeleteStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteStatCycleReader ¶
type DeleteStatCycleReader struct {
// contains filtered or unexported fields
}
DeleteStatCycleReader is a Reader for the DeleteStatCycle structure.
func (*DeleteStatCycleReader) ReadResponse ¶
func (o *DeleteStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStatCycle1NotFound ¶
type GetStatCycle1NotFound struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycle1NotFound 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 NewGetStatCycle1NotFound ¶
func NewGetStatCycle1NotFound() *GetStatCycle1NotFound
NewGetStatCycle1NotFound creates a GetStatCycle1NotFound with default headers values
func (*GetStatCycle1NotFound) Error ¶
func (o *GetStatCycle1NotFound) Error() string
func (*GetStatCycle1NotFound) GetPayload ¶
func (o *GetStatCycle1NotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycle1NotFound) ToJSONString ¶
func (o *GetStatCycle1NotFound) ToJSONString() string
type GetStatCycle1OK ¶
type GetStatCycle1OK struct {
Payload *socialclientmodels.StatCycleInfo
}
GetStatCycle1OK handles this case with default header values.
successful operation
func NewGetStatCycle1OK ¶
func NewGetStatCycle1OK() *GetStatCycle1OK
NewGetStatCycle1OK creates a GetStatCycle1OK with default headers values
func (*GetStatCycle1OK) Error ¶
func (o *GetStatCycle1OK) Error() string
func (*GetStatCycle1OK) GetPayload ¶
func (o *GetStatCycle1OK) GetPayload() *socialclientmodels.StatCycleInfo
func (*GetStatCycle1OK) ToJSONString ¶
func (o *GetStatCycle1OK) ToJSONString() string
type GetStatCycle1Params ¶
type GetStatCycle1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStatCycle1Params contains all the parameters to send to the API endpoint for the get stat cycle 1 operation typically these are written to a http.Request
func NewGetStatCycle1Params ¶
func NewGetStatCycle1Params() *GetStatCycle1Params
NewGetStatCycle1Params creates a new GetStatCycle1Params object with the default values initialized.
func NewGetStatCycle1ParamsWithContext ¶
func NewGetStatCycle1ParamsWithContext(ctx context.Context) *GetStatCycle1Params
NewGetStatCycle1ParamsWithContext creates a new GetStatCycle1Params object with the default values initialized, and the ability to set a context for a request
func NewGetStatCycle1ParamsWithHTTPClient ¶
func NewGetStatCycle1ParamsWithHTTPClient(client *http.Client) *GetStatCycle1Params
NewGetStatCycle1ParamsWithHTTPClient creates a new GetStatCycle1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStatCycle1ParamsWithTimeout ¶
func NewGetStatCycle1ParamsWithTimeout(timeout time.Duration) *GetStatCycle1Params
NewGetStatCycle1ParamsWithTimeout creates a new GetStatCycle1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetStatCycle1Params) SetAuthInfoWriter ¶
func (o *GetStatCycle1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get stat cycle 1 params
func (*GetStatCycle1Params) SetContext ¶
func (o *GetStatCycle1Params) SetContext(ctx context.Context)
SetContext adds the context to the get stat cycle 1 params
func (*GetStatCycle1Params) SetCycleID ¶
func (o *GetStatCycle1Params) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the get stat cycle 1 params
func (*GetStatCycle1Params) SetHTTPClient ¶
func (o *GetStatCycle1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get stat cycle 1 params
func (*GetStatCycle1Params) SetHTTPClientTransport ¶
func (o *GetStatCycle1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get stat cycle 1 params
func (*GetStatCycle1Params) SetNamespace ¶
func (o *GetStatCycle1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get stat cycle 1 params
func (*GetStatCycle1Params) SetTimeout ¶
func (o *GetStatCycle1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get stat cycle 1 params
func (*GetStatCycle1Params) WithContext ¶
func (o *GetStatCycle1Params) WithContext(ctx context.Context) *GetStatCycle1Params
WithContext adds the context to the get stat cycle 1 params
func (*GetStatCycle1Params) WithCycleID ¶
func (o *GetStatCycle1Params) WithCycleID(cycleID string) *GetStatCycle1Params
WithCycleID adds the cycleID to the get stat cycle 1 params
func (*GetStatCycle1Params) WithHTTPClient ¶
func (o *GetStatCycle1Params) WithHTTPClient(client *http.Client) *GetStatCycle1Params
WithHTTPClient adds the HTTPClient to the get stat cycle 1 params
func (*GetStatCycle1Params) WithNamespace ¶
func (o *GetStatCycle1Params) WithNamespace(namespace string) *GetStatCycle1Params
WithNamespace adds the namespace to the get stat cycle 1 params
func (*GetStatCycle1Params) WithTimeout ¶
func (o *GetStatCycle1Params) WithTimeout(timeout time.Duration) *GetStatCycle1Params
WithTimeout adds the timeout to the get stat cycle 1 params
func (*GetStatCycle1Params) WriteToRequest ¶
func (o *GetStatCycle1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStatCycle1Reader ¶
type GetStatCycle1Reader struct {
// contains filtered or unexported fields
}
GetStatCycle1Reader is a Reader for the GetStatCycle1 structure.
func (*GetStatCycle1Reader) ReadResponse ¶
func (o *GetStatCycle1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStatCycleNotFound ¶
type GetStatCycleNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycleNotFound 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 NewGetStatCycleNotFound ¶
func NewGetStatCycleNotFound() *GetStatCycleNotFound
NewGetStatCycleNotFound creates a GetStatCycleNotFound with default headers values
func (*GetStatCycleNotFound) Error ¶
func (o *GetStatCycleNotFound) Error() string
func (*GetStatCycleNotFound) GetPayload ¶
func (o *GetStatCycleNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycleNotFound) ToJSONString ¶
func (o *GetStatCycleNotFound) ToJSONString() string
type GetStatCycleOK ¶
type GetStatCycleOK struct {
Payload *socialclientmodels.StatCycleInfo
}
GetStatCycleOK handles this case with default header values.
successful operation
func NewGetStatCycleOK ¶
func NewGetStatCycleOK() *GetStatCycleOK
NewGetStatCycleOK creates a GetStatCycleOK with default headers values
func (*GetStatCycleOK) Error ¶
func (o *GetStatCycleOK) Error() string
func (*GetStatCycleOK) GetPayload ¶
func (o *GetStatCycleOK) GetPayload() *socialclientmodels.StatCycleInfo
func (*GetStatCycleOK) ToJSONString ¶
func (o *GetStatCycleOK) ToJSONString() string
type GetStatCycleParams ¶
type GetStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStatCycleParams contains all the parameters to send to the API endpoint for the get stat cycle operation typically these are written to a http.Request
func NewGetStatCycleParams ¶
func NewGetStatCycleParams() *GetStatCycleParams
NewGetStatCycleParams creates a new GetStatCycleParams object with the default values initialized.
func NewGetStatCycleParamsWithContext ¶
func NewGetStatCycleParamsWithContext(ctx context.Context) *GetStatCycleParams
NewGetStatCycleParamsWithContext creates a new GetStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewGetStatCycleParamsWithHTTPClient ¶
func NewGetStatCycleParamsWithHTTPClient(client *http.Client) *GetStatCycleParams
NewGetStatCycleParamsWithHTTPClient creates a new GetStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStatCycleParamsWithTimeout ¶
func NewGetStatCycleParamsWithTimeout(timeout time.Duration) *GetStatCycleParams
NewGetStatCycleParamsWithTimeout creates a new GetStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStatCycleParams) SetAuthInfoWriter ¶
func (o *GetStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get stat cycle params
func (*GetStatCycleParams) SetContext ¶
func (o *GetStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the get stat cycle params
func (*GetStatCycleParams) SetCycleID ¶
func (o *GetStatCycleParams) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the get stat cycle params
func (*GetStatCycleParams) SetHTTPClient ¶
func (o *GetStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get stat cycle params
func (*GetStatCycleParams) SetHTTPClientTransport ¶
func (o *GetStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get stat cycle params
func (*GetStatCycleParams) SetNamespace ¶
func (o *GetStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get stat cycle params
func (*GetStatCycleParams) SetTimeout ¶
func (o *GetStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get stat cycle params
func (*GetStatCycleParams) WithContext ¶
func (o *GetStatCycleParams) WithContext(ctx context.Context) *GetStatCycleParams
WithContext adds the context to the get stat cycle params
func (*GetStatCycleParams) WithCycleID ¶
func (o *GetStatCycleParams) WithCycleID(cycleID string) *GetStatCycleParams
WithCycleID adds the cycleID to the get stat cycle params
func (*GetStatCycleParams) WithHTTPClient ¶
func (o *GetStatCycleParams) WithHTTPClient(client *http.Client) *GetStatCycleParams
WithHTTPClient adds the HTTPClient to the get stat cycle params
func (*GetStatCycleParams) WithNamespace ¶
func (o *GetStatCycleParams) WithNamespace(namespace string) *GetStatCycleParams
WithNamespace adds the namespace to the get stat cycle params
func (*GetStatCycleParams) WithTimeout ¶
func (o *GetStatCycleParams) WithTimeout(timeout time.Duration) *GetStatCycleParams
WithTimeout adds the timeout to the get stat cycle params
func (*GetStatCycleParams) WriteToRequest ¶
func (o *GetStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStatCycleReader ¶
type GetStatCycleReader struct {
// contains filtered or unexported fields
}
GetStatCycleReader is a Reader for the GetStatCycle structure.
func (*GetStatCycleReader) ReadResponse ¶
func (o *GetStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStatCycles1OK ¶
type GetStatCycles1OK struct {
Payload *socialclientmodels.StatCyclePagingSlicedResult
}
GetStatCycles1OK handles this case with default header values.
successful operation
func NewGetStatCycles1OK ¶
func NewGetStatCycles1OK() *GetStatCycles1OK
NewGetStatCycles1OK creates a GetStatCycles1OK with default headers values
func (*GetStatCycles1OK) Error ¶
func (o *GetStatCycles1OK) Error() string
func (*GetStatCycles1OK) GetPayload ¶
func (o *GetStatCycles1OK) GetPayload() *socialclientmodels.StatCyclePagingSlicedResult
func (*GetStatCycles1OK) ToJSONString ¶
func (o *GetStatCycles1OK) ToJSONString() string
type GetStatCycles1Params ¶
type GetStatCycles1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleType*/ CycleType *string /*Limit*/ Limit *int32 /*Name name */ Name *string /*Namespace namespace */ Namespace string /*Offset*/ Offset *int32 /*Status*/ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStatCycles1Params contains all the parameters to send to the API endpoint for the get stat cycles 1 operation typically these are written to a http.Request
func NewGetStatCycles1Params ¶
func NewGetStatCycles1Params() *GetStatCycles1Params
NewGetStatCycles1Params creates a new GetStatCycles1Params object with the default values initialized.
func NewGetStatCycles1ParamsWithContext ¶
func NewGetStatCycles1ParamsWithContext(ctx context.Context) *GetStatCycles1Params
NewGetStatCycles1ParamsWithContext creates a new GetStatCycles1Params object with the default values initialized, and the ability to set a context for a request
func NewGetStatCycles1ParamsWithHTTPClient ¶
func NewGetStatCycles1ParamsWithHTTPClient(client *http.Client) *GetStatCycles1Params
NewGetStatCycles1ParamsWithHTTPClient creates a new GetStatCycles1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStatCycles1ParamsWithTimeout ¶
func NewGetStatCycles1ParamsWithTimeout(timeout time.Duration) *GetStatCycles1Params
NewGetStatCycles1ParamsWithTimeout creates a new GetStatCycles1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetStatCycles1Params) SetAuthInfoWriter ¶
func (o *GetStatCycles1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get stat cycles 1 params
func (*GetStatCycles1Params) SetContext ¶
func (o *GetStatCycles1Params) SetContext(ctx context.Context)
SetContext adds the context to the get stat cycles 1 params
func (*GetStatCycles1Params) SetCycleType ¶
func (o *GetStatCycles1Params) SetCycleType(cycleType *string)
SetCycleType adds the cycleType to the get stat cycles 1 params
func (*GetStatCycles1Params) SetHTTPClient ¶
func (o *GetStatCycles1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get stat cycles 1 params
func (*GetStatCycles1Params) SetHTTPClientTransport ¶
func (o *GetStatCycles1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get stat cycles 1 params
func (*GetStatCycles1Params) SetLimit ¶
func (o *GetStatCycles1Params) SetLimit(limit *int32)
SetLimit adds the limit to the get stat cycles 1 params
func (*GetStatCycles1Params) SetName ¶
func (o *GetStatCycles1Params) SetName(name *string)
SetName adds the name to the get stat cycles 1 params
func (*GetStatCycles1Params) SetNamespace ¶
func (o *GetStatCycles1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get stat cycles 1 params
func (*GetStatCycles1Params) SetOffset ¶
func (o *GetStatCycles1Params) SetOffset(offset *int32)
SetOffset adds the offset to the get stat cycles 1 params
func (*GetStatCycles1Params) SetStatus ¶
func (o *GetStatCycles1Params) SetStatus(status *string)
SetStatus adds the status to the get stat cycles 1 params
func (*GetStatCycles1Params) SetTimeout ¶
func (o *GetStatCycles1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get stat cycles 1 params
func (*GetStatCycles1Params) WithContext ¶
func (o *GetStatCycles1Params) WithContext(ctx context.Context) *GetStatCycles1Params
WithContext adds the context to the get stat cycles 1 params
func (*GetStatCycles1Params) WithCycleType ¶
func (o *GetStatCycles1Params) WithCycleType(cycleType *string) *GetStatCycles1Params
WithCycleType adds the cycleType to the get stat cycles 1 params
func (*GetStatCycles1Params) WithHTTPClient ¶
func (o *GetStatCycles1Params) WithHTTPClient(client *http.Client) *GetStatCycles1Params
WithHTTPClient adds the HTTPClient to the get stat cycles 1 params
func (*GetStatCycles1Params) WithLimit ¶
func (o *GetStatCycles1Params) WithLimit(limit *int32) *GetStatCycles1Params
WithLimit adds the limit to the get stat cycles 1 params
func (*GetStatCycles1Params) WithName ¶
func (o *GetStatCycles1Params) WithName(name *string) *GetStatCycles1Params
WithName adds the name to the get stat cycles 1 params
func (*GetStatCycles1Params) WithNamespace ¶
func (o *GetStatCycles1Params) WithNamespace(namespace string) *GetStatCycles1Params
WithNamespace adds the namespace to the get stat cycles 1 params
func (*GetStatCycles1Params) WithOffset ¶
func (o *GetStatCycles1Params) WithOffset(offset *int32) *GetStatCycles1Params
WithOffset adds the offset to the get stat cycles 1 params
func (*GetStatCycles1Params) WithStatus ¶
func (o *GetStatCycles1Params) WithStatus(status *string) *GetStatCycles1Params
WithStatus adds the status to the get stat cycles 1 params
func (*GetStatCycles1Params) WithTimeout ¶
func (o *GetStatCycles1Params) WithTimeout(timeout time.Duration) *GetStatCycles1Params
WithTimeout adds the timeout to the get stat cycles 1 params
func (*GetStatCycles1Params) WriteToRequest ¶
func (o *GetStatCycles1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStatCycles1Reader ¶
type GetStatCycles1Reader struct {
// contains filtered or unexported fields
}
GetStatCycles1Reader is a Reader for the GetStatCycles1 structure.
func (*GetStatCycles1Reader) ReadResponse ¶
func (o *GetStatCycles1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStatCyclesOK ¶
type GetStatCyclesOK struct {
Payload *socialclientmodels.StatCyclePagingSlicedResult
}
GetStatCyclesOK handles this case with default header values.
successful operation
func NewGetStatCyclesOK ¶
func NewGetStatCyclesOK() *GetStatCyclesOK
NewGetStatCyclesOK creates a GetStatCyclesOK with default headers values
func (*GetStatCyclesOK) Error ¶
func (o *GetStatCyclesOK) Error() string
func (*GetStatCyclesOK) GetPayload ¶
func (o *GetStatCyclesOK) GetPayload() *socialclientmodels.StatCyclePagingSlicedResult
func (*GetStatCyclesOK) ToJSONString ¶
func (o *GetStatCyclesOK) ToJSONString() string
type GetStatCyclesParams ¶
type GetStatCyclesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleType*/ CycleType *string /*Limit*/ Limit *int32 /*Name name */ Name *string /*Namespace namespace */ Namespace string /*Offset*/ Offset *int32 /*Status*/ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStatCyclesParams contains all the parameters to send to the API endpoint for the get stat cycles operation typically these are written to a http.Request
func NewGetStatCyclesParams ¶
func NewGetStatCyclesParams() *GetStatCyclesParams
NewGetStatCyclesParams creates a new GetStatCyclesParams object with the default values initialized.
func NewGetStatCyclesParamsWithContext ¶
func NewGetStatCyclesParamsWithContext(ctx context.Context) *GetStatCyclesParams
NewGetStatCyclesParamsWithContext creates a new GetStatCyclesParams object with the default values initialized, and the ability to set a context for a request
func NewGetStatCyclesParamsWithHTTPClient ¶
func NewGetStatCyclesParamsWithHTTPClient(client *http.Client) *GetStatCyclesParams
NewGetStatCyclesParamsWithHTTPClient creates a new GetStatCyclesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStatCyclesParamsWithTimeout ¶
func NewGetStatCyclesParamsWithTimeout(timeout time.Duration) *GetStatCyclesParams
NewGetStatCyclesParamsWithTimeout creates a new GetStatCyclesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStatCyclesParams) SetAuthInfoWriter ¶
func (o *GetStatCyclesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get stat cycles params
func (*GetStatCyclesParams) SetContext ¶
func (o *GetStatCyclesParams) SetContext(ctx context.Context)
SetContext adds the context to the get stat cycles params
func (*GetStatCyclesParams) SetCycleType ¶
func (o *GetStatCyclesParams) SetCycleType(cycleType *string)
SetCycleType adds the cycleType to the get stat cycles params
func (*GetStatCyclesParams) SetHTTPClient ¶
func (o *GetStatCyclesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get stat cycles params
func (*GetStatCyclesParams) SetHTTPClientTransport ¶
func (o *GetStatCyclesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get stat cycles params
func (*GetStatCyclesParams) SetLimit ¶
func (o *GetStatCyclesParams) SetLimit(limit *int32)
SetLimit adds the limit to the get stat cycles params
func (*GetStatCyclesParams) SetName ¶
func (o *GetStatCyclesParams) SetName(name *string)
SetName adds the name to the get stat cycles params
func (*GetStatCyclesParams) SetNamespace ¶
func (o *GetStatCyclesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get stat cycles params
func (*GetStatCyclesParams) SetOffset ¶
func (o *GetStatCyclesParams) SetOffset(offset *int32)
SetOffset adds the offset to the get stat cycles params
func (*GetStatCyclesParams) SetStatus ¶
func (o *GetStatCyclesParams) SetStatus(status *string)
SetStatus adds the status to the get stat cycles params
func (*GetStatCyclesParams) SetTimeout ¶
func (o *GetStatCyclesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get stat cycles params
func (*GetStatCyclesParams) WithContext ¶
func (o *GetStatCyclesParams) WithContext(ctx context.Context) *GetStatCyclesParams
WithContext adds the context to the get stat cycles params
func (*GetStatCyclesParams) WithCycleType ¶
func (o *GetStatCyclesParams) WithCycleType(cycleType *string) *GetStatCyclesParams
WithCycleType adds the cycleType to the get stat cycles params
func (*GetStatCyclesParams) WithHTTPClient ¶
func (o *GetStatCyclesParams) WithHTTPClient(client *http.Client) *GetStatCyclesParams
WithHTTPClient adds the HTTPClient to the get stat cycles params
func (*GetStatCyclesParams) WithLimit ¶
func (o *GetStatCyclesParams) WithLimit(limit *int32) *GetStatCyclesParams
WithLimit adds the limit to the get stat cycles params
func (*GetStatCyclesParams) WithName ¶
func (o *GetStatCyclesParams) WithName(name *string) *GetStatCyclesParams
WithName adds the name to the get stat cycles params
func (*GetStatCyclesParams) WithNamespace ¶
func (o *GetStatCyclesParams) WithNamespace(namespace string) *GetStatCyclesParams
WithNamespace adds the namespace to the get stat cycles params
func (*GetStatCyclesParams) WithOffset ¶
func (o *GetStatCyclesParams) WithOffset(offset *int32) *GetStatCyclesParams
WithOffset adds the offset to the get stat cycles params
func (*GetStatCyclesParams) WithStatus ¶
func (o *GetStatCyclesParams) WithStatus(status *string) *GetStatCyclesParams
WithStatus adds the status to the get stat cycles params
func (*GetStatCyclesParams) WithTimeout ¶
func (o *GetStatCyclesParams) WithTimeout(timeout time.Duration) *GetStatCyclesParams
WithTimeout adds the timeout to the get stat cycles params
func (*GetStatCyclesParams) WriteToRequest ¶
func (o *GetStatCyclesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStatCyclesReader ¶
type GetStatCyclesReader struct {
// contains filtered or unexported fields
}
GetStatCyclesReader is a Reader for the GetStatCycles structure.
func (*GetStatCyclesReader) ReadResponse ¶
func (o *GetStatCyclesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateStatCycleBadRequest ¶
type UpdateStatCycleBadRequest struct {
Payload *socialclientmodels.ErrorEntity
}
UpdateStatCycleBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12225</td><td>Invalid time range</td></tr><tr><td>12226</td><td>Invalid date [{date}] of month [{month}]</td></tr></table>
func NewUpdateStatCycleBadRequest ¶
func NewUpdateStatCycleBadRequest() *UpdateStatCycleBadRequest
NewUpdateStatCycleBadRequest creates a UpdateStatCycleBadRequest with default headers values
func (*UpdateStatCycleBadRequest) Error ¶
func (o *UpdateStatCycleBadRequest) Error() string
func (*UpdateStatCycleBadRequest) GetPayload ¶
func (o *UpdateStatCycleBadRequest) GetPayload() *socialclientmodels.ErrorEntity
func (*UpdateStatCycleBadRequest) ToJSONString ¶
func (o *UpdateStatCycleBadRequest) ToJSONString() string
type UpdateStatCycleConflict ¶
type UpdateStatCycleConflict struct {
Payload *socialclientmodels.ErrorEntity
}
UpdateStatCycleConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12277</td><td>Stat cycle [{id}] in namespace [{namespace}] with status [{status}] cannot be updated</td></tr></table>
func NewUpdateStatCycleConflict ¶
func NewUpdateStatCycleConflict() *UpdateStatCycleConflict
NewUpdateStatCycleConflict creates a UpdateStatCycleConflict with default headers values
func (*UpdateStatCycleConflict) Error ¶
func (o *UpdateStatCycleConflict) Error() string
func (*UpdateStatCycleConflict) GetPayload ¶
func (o *UpdateStatCycleConflict) GetPayload() *socialclientmodels.ErrorEntity
func (*UpdateStatCycleConflict) ToJSONString ¶
func (o *UpdateStatCycleConflict) ToJSONString() string
type UpdateStatCycleNotFound ¶
type UpdateStatCycleNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
UpdateStatCycleNotFound 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 NewUpdateStatCycleNotFound ¶
func NewUpdateStatCycleNotFound() *UpdateStatCycleNotFound
NewUpdateStatCycleNotFound creates a UpdateStatCycleNotFound with default headers values
func (*UpdateStatCycleNotFound) Error ¶
func (o *UpdateStatCycleNotFound) Error() string
func (*UpdateStatCycleNotFound) GetPayload ¶
func (o *UpdateStatCycleNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*UpdateStatCycleNotFound) ToJSONString ¶
func (o *UpdateStatCycleNotFound) ToJSONString() string
type UpdateStatCycleOK ¶
type UpdateStatCycleOK struct {
Payload *socialclientmodels.StatCycleInfo
}
UpdateStatCycleOK handles this case with default header values.
successful operation
func NewUpdateStatCycleOK ¶
func NewUpdateStatCycleOK() *UpdateStatCycleOK
NewUpdateStatCycleOK creates a UpdateStatCycleOK with default headers values
func (*UpdateStatCycleOK) Error ¶
func (o *UpdateStatCycleOK) Error() string
func (*UpdateStatCycleOK) GetPayload ¶
func (o *UpdateStatCycleOK) GetPayload() *socialclientmodels.StatCycleInfo
func (*UpdateStatCycleOK) ToJSONString ¶
func (o *UpdateStatCycleOK) ToJSONString() string
type UpdateStatCycleParams ¶
type UpdateStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *socialclientmodels.StatCycleUpdate /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateStatCycleParams contains all the parameters to send to the API endpoint for the update stat cycle operation typically these are written to a http.Request
func NewUpdateStatCycleParams ¶
func NewUpdateStatCycleParams() *UpdateStatCycleParams
NewUpdateStatCycleParams creates a new UpdateStatCycleParams object with the default values initialized.
func NewUpdateStatCycleParamsWithContext ¶
func NewUpdateStatCycleParamsWithContext(ctx context.Context) *UpdateStatCycleParams
NewUpdateStatCycleParamsWithContext creates a new UpdateStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateStatCycleParamsWithHTTPClient ¶
func NewUpdateStatCycleParamsWithHTTPClient(client *http.Client) *UpdateStatCycleParams
NewUpdateStatCycleParamsWithHTTPClient creates a new UpdateStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateStatCycleParamsWithTimeout ¶
func NewUpdateStatCycleParamsWithTimeout(timeout time.Duration) *UpdateStatCycleParams
NewUpdateStatCycleParamsWithTimeout creates a new UpdateStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateStatCycleParams) SetAuthInfoWriter ¶
func (o *UpdateStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update stat cycle params
func (*UpdateStatCycleParams) SetBody ¶
func (o *UpdateStatCycleParams) SetBody(body *socialclientmodels.StatCycleUpdate)
SetBody adds the body to the update stat cycle params
func (*UpdateStatCycleParams) SetContext ¶
func (o *UpdateStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the update stat cycle params
func (*UpdateStatCycleParams) SetCycleID ¶
func (o *UpdateStatCycleParams) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the update stat cycle params
func (*UpdateStatCycleParams) SetHTTPClient ¶
func (o *UpdateStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update stat cycle params
func (*UpdateStatCycleParams) SetHTTPClientTransport ¶
func (o *UpdateStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update stat cycle params
func (*UpdateStatCycleParams) SetNamespace ¶
func (o *UpdateStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update stat cycle params
func (*UpdateStatCycleParams) SetTimeout ¶
func (o *UpdateStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update stat cycle params
func (*UpdateStatCycleParams) WithBody ¶
func (o *UpdateStatCycleParams) WithBody(body *socialclientmodels.StatCycleUpdate) *UpdateStatCycleParams
WithBody adds the body to the update stat cycle params
func (*UpdateStatCycleParams) WithContext ¶
func (o *UpdateStatCycleParams) WithContext(ctx context.Context) *UpdateStatCycleParams
WithContext adds the context to the update stat cycle params
func (*UpdateStatCycleParams) WithCycleID ¶
func (o *UpdateStatCycleParams) WithCycleID(cycleID string) *UpdateStatCycleParams
WithCycleID adds the cycleID to the update stat cycle params
func (*UpdateStatCycleParams) WithHTTPClient ¶
func (o *UpdateStatCycleParams) WithHTTPClient(client *http.Client) *UpdateStatCycleParams
WithHTTPClient adds the HTTPClient to the update stat cycle params
func (*UpdateStatCycleParams) WithNamespace ¶
func (o *UpdateStatCycleParams) WithNamespace(namespace string) *UpdateStatCycleParams
WithNamespace adds the namespace to the update stat cycle params
func (*UpdateStatCycleParams) WithTimeout ¶
func (o *UpdateStatCycleParams) WithTimeout(timeout time.Duration) *UpdateStatCycleParams
WithTimeout adds the timeout to the update stat cycle params
func (*UpdateStatCycleParams) WriteToRequest ¶
func (o *UpdateStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateStatCycleReader ¶
type UpdateStatCycleReader struct {
// contains filtered or unexported fields
}
UpdateStatCycleReader is a Reader for the UpdateStatCycle structure.
func (*UpdateStatCycleReader) ReadResponse ¶
func (o *UpdateStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- bulk_add_stats_parameters.go
- bulk_add_stats_responses.go
- create_stat_cycle_parameters.go
- create_stat_cycle_responses.go
- delete_stat_cycle_parameters.go
- delete_stat_cycle_responses.go
- get_stat_cycle1_parameters.go
- get_stat_cycle1_responses.go
- get_stat_cycle_parameters.go
- get_stat_cycle_responses.go
- get_stat_cycles1_parameters.go
- get_stat_cycles1_responses.go
- get_stat_cycles_parameters.go
- get_stat_cycles_responses.go
- stat_cycle_configuration_client.go
- update_stat_cycle_parameters.go
- update_stat_cycle_responses.go