Documentation ¶
Index ¶
- Constants
- type BulkAddStatsBadRequest
- type BulkAddStatsForbidden
- type BulkAddStatsInternalServerError
- 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) SetFlightId(flightId 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 BulkAddStatsUnauthorized
- type BulkAddStatsUnprocessableEntity
- type BulkGetStatCycle1BadRequest
- type BulkGetStatCycle1Forbidden
- type BulkGetStatCycle1InternalServerError
- type BulkGetStatCycle1OK
- type BulkGetStatCycle1Params
- func NewBulkGetStatCycle1Params() *BulkGetStatCycle1Params
- func NewBulkGetStatCycle1ParamsWithContext(ctx context.Context) *BulkGetStatCycle1Params
- func NewBulkGetStatCycle1ParamsWithHTTPClient(client *http.Client) *BulkGetStatCycle1Params
- func NewBulkGetStatCycle1ParamsWithTimeout(timeout time.Duration) *BulkGetStatCycle1Params
- func (o *BulkGetStatCycle1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkGetStatCycle1Params) SetBody(body *socialclientmodels.BulkStatCycleRequest)
- func (o *BulkGetStatCycle1Params) SetContext(ctx context.Context)
- func (o *BulkGetStatCycle1Params) SetFlightId(flightId string)
- func (o *BulkGetStatCycle1Params) SetHTTPClient(client *http.Client)
- func (o *BulkGetStatCycle1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkGetStatCycle1Params) SetNamespace(namespace string)
- func (o *BulkGetStatCycle1Params) SetTimeout(timeout time.Duration)
- func (o *BulkGetStatCycle1Params) WithBody(body *socialclientmodels.BulkStatCycleRequest) *BulkGetStatCycle1Params
- func (o *BulkGetStatCycle1Params) WithContext(ctx context.Context) *BulkGetStatCycle1Params
- func (o *BulkGetStatCycle1Params) WithHTTPClient(client *http.Client) *BulkGetStatCycle1Params
- func (o *BulkGetStatCycle1Params) WithNamespace(namespace string) *BulkGetStatCycle1Params
- func (o *BulkGetStatCycle1Params) WithTimeout(timeout time.Duration) *BulkGetStatCycle1Params
- func (o *BulkGetStatCycle1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkGetStatCycle1Reader
- type BulkGetStatCycle1Unauthorized
- type BulkGetStatCycle1UnprocessableEntity
- type BulkGetStatCycleBadRequest
- type BulkGetStatCycleForbidden
- type BulkGetStatCycleInternalServerError
- type BulkGetStatCycleOK
- type BulkGetStatCycleParams
- func NewBulkGetStatCycleParams() *BulkGetStatCycleParams
- func NewBulkGetStatCycleParamsWithContext(ctx context.Context) *BulkGetStatCycleParams
- func NewBulkGetStatCycleParamsWithHTTPClient(client *http.Client) *BulkGetStatCycleParams
- func NewBulkGetStatCycleParamsWithTimeout(timeout time.Duration) *BulkGetStatCycleParams
- func (o *BulkGetStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkGetStatCycleParams) SetBody(body *socialclientmodels.BulkStatCycleRequest)
- func (o *BulkGetStatCycleParams) SetContext(ctx context.Context)
- func (o *BulkGetStatCycleParams) SetFlightId(flightId string)
- func (o *BulkGetStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *BulkGetStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkGetStatCycleParams) SetNamespace(namespace string)
- func (o *BulkGetStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *BulkGetStatCycleParams) WithBody(body *socialclientmodels.BulkStatCycleRequest) *BulkGetStatCycleParams
- func (o *BulkGetStatCycleParams) WithContext(ctx context.Context) *BulkGetStatCycleParams
- func (o *BulkGetStatCycleParams) WithHTTPClient(client *http.Client) *BulkGetStatCycleParams
- func (o *BulkGetStatCycleParams) WithNamespace(namespace string) *BulkGetStatCycleParams
- func (o *BulkGetStatCycleParams) WithTimeout(timeout time.Duration) *BulkGetStatCycleParams
- func (o *BulkGetStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkGetStatCycleReader
- type BulkGetStatCycleUnauthorized
- type BulkGetStatCycleUnprocessableEntity
- type Client
- func (a *Client) BulkAddStats(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, *BulkAddStatsBadRequest, *BulkAddStatsUnauthorized, ...)deprecated
- func (a *Client) BulkAddStatsShort(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, error)
- func (a *Client) BulkGetStatCycle(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, *BulkGetStatCycleBadRequest, ...)deprecated
- func (a *Client) BulkGetStatCycle1(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, *BulkGetStatCycle1BadRequest, ...)deprecated
- func (a *Client) BulkGetStatCycle1Short(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, error)
- func (a *Client) BulkGetStatCycleShort(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, error)
- func (a *Client) CreateStatCycle(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, *CreateStatCycleBadRequest, ...)deprecated
- func (a *Client) CreateStatCycleShort(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, error)
- func (a *Client) DeleteStatCycle(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, *DeleteStatCycleUnauthorized, ...)deprecated
- func (a *Client) DeleteStatCycleShort(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, error)
- func (a *Client) ExportStatCycle(params *ExportStatCycleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportStatCycleOK, *ExportStatCycleUnauthorized, *ExportStatCycleForbidden, ...)deprecated
- func (a *Client) ExportStatCycleShort(params *ExportStatCycleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportStatCycleOK, error)
- func (a *Client) GetStatCycle(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, *GetStatCycleUnauthorized, *GetStatCycleForbidden, ...)deprecated
- func (a *Client) GetStatCycle1(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, *GetStatCycle1Unauthorized, *GetStatCycle1Forbidden, ...)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, *GetStatCyclesUnauthorized, *GetStatCyclesForbidden, ...)deprecated
- func (a *Client) GetStatCycles1(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, *GetStatCycles1Unauthorized, *GetStatCycles1Forbidden, ...)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) ImportStatCycle(params *ImportStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatCycleCreated, *ImportStatCycleBadRequest, ...)deprecated
- func (a *Client) ImportStatCycleShort(params *ImportStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatCycleCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopStatCycle(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, *StopStatCycleUnauthorized, *StopStatCycleForbidden, ...)deprecated
- func (a *Client) StopStatCycleShort(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, error)
- func (a *Client) UpdateStatCycle(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, *UpdateStatCycleBadRequest, *UpdateStatCycleUnauthorized, ...)deprecated
- func (a *Client) UpdateStatCycleShort(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, error)
- type ClientService
- type CreateStatCycleBadRequest
- type CreateStatCycleCreated
- type CreateStatCycleForbidden
- type CreateStatCycleInternalServerError
- 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) SetFlightId(flightId string)
- 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 CreateStatCycleUnauthorized
- type CreateStatCycleUnprocessableEntity
- type DeleteStatCycleForbidden
- type DeleteStatCycleInternalServerError
- 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) SetFlightId(flightId 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 DeleteStatCycleUnauthorized
- type ExportStatCycleForbidden
- type ExportStatCycleInternalServerError
- type ExportStatCycleOK
- type ExportStatCycleParams
- func NewExportStatCycleParams() *ExportStatCycleParams
- func NewExportStatCycleParamsWithContext(ctx context.Context) *ExportStatCycleParams
- func NewExportStatCycleParamsWithHTTPClient(client *http.Client) *ExportStatCycleParams
- func NewExportStatCycleParamsWithTimeout(timeout time.Duration) *ExportStatCycleParams
- func (o *ExportStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExportStatCycleParams) SetContext(ctx context.Context)
- func (o *ExportStatCycleParams) SetFlightId(flightId string)
- func (o *ExportStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *ExportStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ExportStatCycleParams) SetNamespace(namespace string)
- func (o *ExportStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *ExportStatCycleParams) WithContext(ctx context.Context) *ExportStatCycleParams
- func (o *ExportStatCycleParams) WithHTTPClient(client *http.Client) *ExportStatCycleParams
- func (o *ExportStatCycleParams) WithNamespace(namespace string) *ExportStatCycleParams
- func (o *ExportStatCycleParams) WithTimeout(timeout time.Duration) *ExportStatCycleParams
- func (o *ExportStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportStatCycleReader
- type ExportStatCycleUnauthorized
- type GetStatCycle1Forbidden
- type GetStatCycle1InternalServerError
- 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) SetFlightId(flightId 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 GetStatCycle1Unauthorized
- type GetStatCycleForbidden
- type GetStatCycleInternalServerError
- 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) SetFlightId(flightId 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 GetStatCycleUnauthorized
- type GetStatCycles1Forbidden
- type GetStatCycles1InternalServerError
- 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) SetFlightId(flightId 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) SetSortBy(sortBy *string)
- 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) WithSortBy(sortBy *string) *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 GetStatCycles1Unauthorized
- type GetStatCyclesForbidden
- type GetStatCyclesInternalServerError
- 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) SetFlightId(flightId 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) SetSortBy(sortBy *string)
- 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) WithSortBy(sortBy *string) *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 GetStatCyclesUnauthorized
- type ImportStatCycleBadRequest
- type ImportStatCycleCreated
- type ImportStatCycleForbidden
- type ImportStatCycleInternalServerError
- type ImportStatCycleParams
- func NewImportStatCycleParams() *ImportStatCycleParams
- func NewImportStatCycleParamsWithContext(ctx context.Context) *ImportStatCycleParams
- func NewImportStatCycleParamsWithHTTPClient(client *http.Client) *ImportStatCycleParams
- func NewImportStatCycleParamsWithTimeout(timeout time.Duration) *ImportStatCycleParams
- func (o *ImportStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ImportStatCycleParams) SetContext(ctx context.Context)
- func (o *ImportStatCycleParams) SetFile(file runtime.NamedReadCloser)
- func (o *ImportStatCycleParams) SetFlightId(flightId string)
- func (o *ImportStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *ImportStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ImportStatCycleParams) SetNamespace(namespace string)
- func (o *ImportStatCycleParams) SetReplaceExisting(replaceExisting *bool)
- func (o *ImportStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *ImportStatCycleParams) WithContext(ctx context.Context) *ImportStatCycleParams
- func (o *ImportStatCycleParams) WithFile(file runtime.NamedReadCloser) *ImportStatCycleParams
- func (o *ImportStatCycleParams) WithHTTPClient(client *http.Client) *ImportStatCycleParams
- func (o *ImportStatCycleParams) WithNamespace(namespace string) *ImportStatCycleParams
- func (o *ImportStatCycleParams) WithReplaceExisting(replaceExisting *bool) *ImportStatCycleParams
- func (o *ImportStatCycleParams) WithTimeout(timeout time.Duration) *ImportStatCycleParams
- func (o *ImportStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportStatCycleReader
- type ImportStatCycleUnauthorized
- type StopStatCycleConflict
- type StopStatCycleForbidden
- type StopStatCycleInternalServerError
- type StopStatCycleNotFound
- type StopStatCycleOK
- type StopStatCycleParams
- func (o *StopStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *StopStatCycleParams) SetContext(ctx context.Context)
- func (o *StopStatCycleParams) SetCycleID(cycleID string)
- func (o *StopStatCycleParams) SetFlightId(flightId string)
- func (o *StopStatCycleParams) SetHTTPClient(client *http.Client)
- func (o *StopStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *StopStatCycleParams) SetNamespace(namespace string)
- func (o *StopStatCycleParams) SetTimeout(timeout time.Duration)
- func (o *StopStatCycleParams) WithContext(ctx context.Context) *StopStatCycleParams
- func (o *StopStatCycleParams) WithCycleID(cycleID string) *StopStatCycleParams
- func (o *StopStatCycleParams) WithHTTPClient(client *http.Client) *StopStatCycleParams
- func (o *StopStatCycleParams) WithNamespace(namespace string) *StopStatCycleParams
- func (o *StopStatCycleParams) WithTimeout(timeout time.Duration) *StopStatCycleParams
- func (o *StopStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopStatCycleReader
- type StopStatCycleUnauthorized
- type UpdateStatCycleBadRequest
- type UpdateStatCycleConflict
- type UpdateStatCycleForbidden
- type UpdateStatCycleInternalServerError
- 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) SetFlightId(flightId 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
- type UpdateStatCycleUnauthorized
- type UpdateStatCycleUnprocessableEntity
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 BulkAddStatsBadRequest ¶ added in v0.57.0
type BulkAddStatsBadRequest struct {
Payload *socialclientmodels.ErrorEntity
}
BulkAddStatsBadRequest handles this case with default header values.
Bad request
func NewBulkAddStatsBadRequest ¶ added in v0.57.0
func NewBulkAddStatsBadRequest() *BulkAddStatsBadRequest
NewBulkAddStatsBadRequest creates a BulkAddStatsBadRequest with default headers values
func (*BulkAddStatsBadRequest) Error ¶ added in v0.57.0
func (o *BulkAddStatsBadRequest) Error() string
func (*BulkAddStatsBadRequest) GetPayload ¶ added in v0.57.0
func (o *BulkAddStatsBadRequest) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkAddStatsBadRequest) ToJSONString ¶ added in v0.57.0
func (o *BulkAddStatsBadRequest) ToJSONString() string
type BulkAddStatsForbidden ¶ added in v0.57.0
type BulkAddStatsForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
BulkAddStatsForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewBulkAddStatsForbidden ¶ added in v0.57.0
func NewBulkAddStatsForbidden() *BulkAddStatsForbidden
NewBulkAddStatsForbidden creates a BulkAddStatsForbidden with default headers values
func (*BulkAddStatsForbidden) Error ¶ added in v0.57.0
func (o *BulkAddStatsForbidden) Error() string
func (*BulkAddStatsForbidden) GetPayload ¶ added in v0.57.0
func (o *BulkAddStatsForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkAddStatsForbidden) ToJSONString ¶ added in v0.57.0
func (o *BulkAddStatsForbidden) ToJSONString() string
type BulkAddStatsInternalServerError ¶ added in v0.57.0
type BulkAddStatsInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
BulkAddStatsInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewBulkAddStatsInternalServerError ¶ added in v0.57.0
func NewBulkAddStatsInternalServerError() *BulkAddStatsInternalServerError
NewBulkAddStatsInternalServerError creates a BulkAddStatsInternalServerError with default headers values
func (*BulkAddStatsInternalServerError) Error ¶ added in v0.57.0
func (o *BulkAddStatsInternalServerError) Error() string
func (*BulkAddStatsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *BulkAddStatsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkAddStatsInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *BulkAddStatsInternalServerError) ToJSONString() string
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.BulkStatCycleOperationResult
}
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.BulkStatCycleOperationResult
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *BulkAddStatsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 BulkAddStatsUnauthorized ¶ added in v0.57.0
type BulkAddStatsUnauthorized struct {
}BulkAddStatsUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewBulkAddStatsUnauthorized ¶ added in v0.57.0
func NewBulkAddStatsUnauthorized() *BulkAddStatsUnauthorized
NewBulkAddStatsUnauthorized creates a BulkAddStatsUnauthorized with default headers values
func (*BulkAddStatsUnauthorized) Error ¶ added in v0.57.0
func (o *BulkAddStatsUnauthorized) Error() string
func (*BulkAddStatsUnauthorized) GetPayload ¶ added in v0.57.0
func (o *BulkAddStatsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkAddStatsUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *BulkAddStatsUnauthorized) ToJSONString() string
type BulkAddStatsUnprocessableEntity ¶ added in v0.57.0
type BulkAddStatsUnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
BulkAddStatsUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewBulkAddStatsUnprocessableEntity ¶ added in v0.57.0
func NewBulkAddStatsUnprocessableEntity() *BulkAddStatsUnprocessableEntity
NewBulkAddStatsUnprocessableEntity creates a BulkAddStatsUnprocessableEntity with default headers values
func (*BulkAddStatsUnprocessableEntity) Error ¶ added in v0.57.0
func (o *BulkAddStatsUnprocessableEntity) Error() string
func (*BulkAddStatsUnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *BulkAddStatsUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*BulkAddStatsUnprocessableEntity) ToJSONString ¶ added in v0.57.0
func (o *BulkAddStatsUnprocessableEntity) ToJSONString() string
type BulkGetStatCycle1BadRequest ¶ added in v0.57.0
type BulkGetStatCycle1BadRequest struct {
Payload *socialclientmodels.ErrorEntity
}
BulkGetStatCycle1BadRequest handles this case with default header values.
Bad request
func NewBulkGetStatCycle1BadRequest ¶ added in v0.57.0
func NewBulkGetStatCycle1BadRequest() *BulkGetStatCycle1BadRequest
NewBulkGetStatCycle1BadRequest creates a BulkGetStatCycle1BadRequest with default headers values
func (*BulkGetStatCycle1BadRequest) Error ¶ added in v0.57.0
func (o *BulkGetStatCycle1BadRequest) Error() string
func (*BulkGetStatCycle1BadRequest) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycle1BadRequest) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycle1BadRequest) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycle1BadRequest) ToJSONString() string
type BulkGetStatCycle1Forbidden ¶ added in v0.57.0
type BulkGetStatCycle1Forbidden struct {
Payload *socialclientmodels.ErrorEntity
}
BulkGetStatCycle1Forbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewBulkGetStatCycle1Forbidden ¶ added in v0.57.0
func NewBulkGetStatCycle1Forbidden() *BulkGetStatCycle1Forbidden
NewBulkGetStatCycle1Forbidden creates a BulkGetStatCycle1Forbidden with default headers values
func (*BulkGetStatCycle1Forbidden) Error ¶ added in v0.57.0
func (o *BulkGetStatCycle1Forbidden) Error() string
func (*BulkGetStatCycle1Forbidden) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycle1Forbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycle1Forbidden) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycle1Forbidden) ToJSONString() string
type BulkGetStatCycle1InternalServerError ¶ added in v0.57.0
type BulkGetStatCycle1InternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
BulkGetStatCycle1InternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewBulkGetStatCycle1InternalServerError ¶ added in v0.57.0
func NewBulkGetStatCycle1InternalServerError() *BulkGetStatCycle1InternalServerError
NewBulkGetStatCycle1InternalServerError creates a BulkGetStatCycle1InternalServerError with default headers values
func (*BulkGetStatCycle1InternalServerError) Error ¶ added in v0.57.0
func (o *BulkGetStatCycle1InternalServerError) Error() string
func (*BulkGetStatCycle1InternalServerError) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycle1InternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycle1InternalServerError) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycle1InternalServerError) ToJSONString() string
type BulkGetStatCycle1OK ¶ added in v0.43.0
type BulkGetStatCycle1OK struct {
Payload *socialclientmodels.BulkStatCycleResult
}
BulkGetStatCycle1OK handles this case with default header values.
successful operation
func NewBulkGetStatCycle1OK ¶ added in v0.43.0
func NewBulkGetStatCycle1OK() *BulkGetStatCycle1OK
NewBulkGetStatCycle1OK creates a BulkGetStatCycle1OK with default headers values
func (*BulkGetStatCycle1OK) Error ¶ added in v0.43.0
func (o *BulkGetStatCycle1OK) Error() string
func (*BulkGetStatCycle1OK) GetPayload ¶ added in v0.43.0
func (o *BulkGetStatCycle1OK) GetPayload() *socialclientmodels.BulkStatCycleResult
func (*BulkGetStatCycle1OK) ToJSONString ¶ added in v0.43.0
func (o *BulkGetStatCycle1OK) ToJSONString() string
type BulkGetStatCycle1Params ¶ added in v0.43.0
type BulkGetStatCycle1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *socialclientmodels.BulkStatCycleRequest /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
BulkGetStatCycle1Params contains all the parameters to send to the API endpoint for the bulk get stat cycle 1 operation typically these are written to a http.Request
func NewBulkGetStatCycle1Params ¶ added in v0.43.0
func NewBulkGetStatCycle1Params() *BulkGetStatCycle1Params
NewBulkGetStatCycle1Params creates a new BulkGetStatCycle1Params object with the default values initialized.
func NewBulkGetStatCycle1ParamsWithContext ¶ added in v0.43.0
func NewBulkGetStatCycle1ParamsWithContext(ctx context.Context) *BulkGetStatCycle1Params
NewBulkGetStatCycle1ParamsWithContext creates a new BulkGetStatCycle1Params object with the default values initialized, and the ability to set a context for a request
func NewBulkGetStatCycle1ParamsWithHTTPClient ¶ added in v0.43.0
func NewBulkGetStatCycle1ParamsWithHTTPClient(client *http.Client) *BulkGetStatCycle1Params
NewBulkGetStatCycle1ParamsWithHTTPClient creates a new BulkGetStatCycle1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkGetStatCycle1ParamsWithTimeout ¶ added in v0.43.0
func NewBulkGetStatCycle1ParamsWithTimeout(timeout time.Duration) *BulkGetStatCycle1Params
NewBulkGetStatCycle1ParamsWithTimeout creates a new BulkGetStatCycle1Params object with the default values initialized, and the ability to set a timeout on a request
func (*BulkGetStatCycle1Params) SetAuthInfoWriter ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) SetBody ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) SetBody(body *socialclientmodels.BulkStatCycleRequest)
SetBody adds the body to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) SetContext ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) SetContext(ctx context.Context)
SetContext adds the context to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) SetFlightId ¶ added in v0.63.0
func (o *BulkGetStatCycle1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*BulkGetStatCycle1Params) SetHTTPClient ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) SetHTTPClientTransport ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) SetNamespace ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) SetTimeout ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) WithBody ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) WithBody(body *socialclientmodels.BulkStatCycleRequest) *BulkGetStatCycle1Params
WithBody adds the body to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) WithContext ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) WithContext(ctx context.Context) *BulkGetStatCycle1Params
WithContext adds the context to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) WithHTTPClient ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) WithHTTPClient(client *http.Client) *BulkGetStatCycle1Params
WithHTTPClient adds the HTTPClient to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) WithNamespace ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) WithNamespace(namespace string) *BulkGetStatCycle1Params
WithNamespace adds the namespace to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) WithTimeout ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) WithTimeout(timeout time.Duration) *BulkGetStatCycle1Params
WithTimeout adds the timeout to the bulk get stat cycle 1 params
func (*BulkGetStatCycle1Params) WriteToRequest ¶ added in v0.43.0
func (o *BulkGetStatCycle1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkGetStatCycle1Reader ¶ added in v0.43.0
type BulkGetStatCycle1Reader struct {
// contains filtered or unexported fields
}
BulkGetStatCycle1Reader is a Reader for the BulkGetStatCycle1 structure.
func (*BulkGetStatCycle1Reader) ReadResponse ¶ added in v0.43.0
func (o *BulkGetStatCycle1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkGetStatCycle1Unauthorized ¶ added in v0.57.0
type BulkGetStatCycle1Unauthorized struct {
}BulkGetStatCycle1Unauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewBulkGetStatCycle1Unauthorized ¶ added in v0.57.0
func NewBulkGetStatCycle1Unauthorized() *BulkGetStatCycle1Unauthorized
NewBulkGetStatCycle1Unauthorized creates a BulkGetStatCycle1Unauthorized with default headers values
func (*BulkGetStatCycle1Unauthorized) Error ¶ added in v0.57.0
func (o *BulkGetStatCycle1Unauthorized) Error() string
func (*BulkGetStatCycle1Unauthorized) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycle1Unauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycle1Unauthorized) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycle1Unauthorized) ToJSONString() string
type BulkGetStatCycle1UnprocessableEntity ¶ added in v0.57.0
type BulkGetStatCycle1UnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
BulkGetStatCycle1UnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewBulkGetStatCycle1UnprocessableEntity ¶ added in v0.57.0
func NewBulkGetStatCycle1UnprocessableEntity() *BulkGetStatCycle1UnprocessableEntity
NewBulkGetStatCycle1UnprocessableEntity creates a BulkGetStatCycle1UnprocessableEntity with default headers values
func (*BulkGetStatCycle1UnprocessableEntity) Error ¶ added in v0.57.0
func (o *BulkGetStatCycle1UnprocessableEntity) Error() string
func (*BulkGetStatCycle1UnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycle1UnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*BulkGetStatCycle1UnprocessableEntity) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycle1UnprocessableEntity) ToJSONString() string
type BulkGetStatCycleBadRequest ¶ added in v0.57.0
type BulkGetStatCycleBadRequest struct {
Payload *socialclientmodels.ErrorEntity
}
BulkGetStatCycleBadRequest handles this case with default header values.
Bad request
func NewBulkGetStatCycleBadRequest ¶ added in v0.57.0
func NewBulkGetStatCycleBadRequest() *BulkGetStatCycleBadRequest
NewBulkGetStatCycleBadRequest creates a BulkGetStatCycleBadRequest with default headers values
func (*BulkGetStatCycleBadRequest) Error ¶ added in v0.57.0
func (o *BulkGetStatCycleBadRequest) Error() string
func (*BulkGetStatCycleBadRequest) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycleBadRequest) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycleBadRequest) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycleBadRequest) ToJSONString() string
type BulkGetStatCycleForbidden ¶ added in v0.57.0
type BulkGetStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
BulkGetStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewBulkGetStatCycleForbidden ¶ added in v0.57.0
func NewBulkGetStatCycleForbidden() *BulkGetStatCycleForbidden
NewBulkGetStatCycleForbidden creates a BulkGetStatCycleForbidden with default headers values
func (*BulkGetStatCycleForbidden) Error ¶ added in v0.57.0
func (o *BulkGetStatCycleForbidden) Error() string
func (*BulkGetStatCycleForbidden) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycleForbidden) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycleForbidden) ToJSONString() string
type BulkGetStatCycleInternalServerError ¶ added in v0.57.0
type BulkGetStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
BulkGetStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewBulkGetStatCycleInternalServerError ¶ added in v0.57.0
func NewBulkGetStatCycleInternalServerError() *BulkGetStatCycleInternalServerError
NewBulkGetStatCycleInternalServerError creates a BulkGetStatCycleInternalServerError with default headers values
func (*BulkGetStatCycleInternalServerError) Error ¶ added in v0.57.0
func (o *BulkGetStatCycleInternalServerError) Error() string
func (*BulkGetStatCycleInternalServerError) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycleInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycleInternalServerError) ToJSONString() string
type BulkGetStatCycleOK ¶ added in v0.43.0
type BulkGetStatCycleOK struct {
Payload *socialclientmodels.BulkStatCycleResult
}
BulkGetStatCycleOK handles this case with default header values.
successful operation
func NewBulkGetStatCycleOK ¶ added in v0.43.0
func NewBulkGetStatCycleOK() *BulkGetStatCycleOK
NewBulkGetStatCycleOK creates a BulkGetStatCycleOK with default headers values
func (*BulkGetStatCycleOK) Error ¶ added in v0.43.0
func (o *BulkGetStatCycleOK) Error() string
func (*BulkGetStatCycleOK) GetPayload ¶ added in v0.43.0
func (o *BulkGetStatCycleOK) GetPayload() *socialclientmodels.BulkStatCycleResult
func (*BulkGetStatCycleOK) ToJSONString ¶ added in v0.43.0
func (o *BulkGetStatCycleOK) ToJSONString() string
type BulkGetStatCycleParams ¶ added in v0.43.0
type BulkGetStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *socialclientmodels.BulkStatCycleRequest /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
BulkGetStatCycleParams contains all the parameters to send to the API endpoint for the bulk get stat cycle operation typically these are written to a http.Request
func NewBulkGetStatCycleParams ¶ added in v0.43.0
func NewBulkGetStatCycleParams() *BulkGetStatCycleParams
NewBulkGetStatCycleParams creates a new BulkGetStatCycleParams object with the default values initialized.
func NewBulkGetStatCycleParamsWithContext ¶ added in v0.43.0
func NewBulkGetStatCycleParamsWithContext(ctx context.Context) *BulkGetStatCycleParams
NewBulkGetStatCycleParamsWithContext creates a new BulkGetStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewBulkGetStatCycleParamsWithHTTPClient ¶ added in v0.43.0
func NewBulkGetStatCycleParamsWithHTTPClient(client *http.Client) *BulkGetStatCycleParams
NewBulkGetStatCycleParamsWithHTTPClient creates a new BulkGetStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkGetStatCycleParamsWithTimeout ¶ added in v0.43.0
func NewBulkGetStatCycleParamsWithTimeout(timeout time.Duration) *BulkGetStatCycleParams
NewBulkGetStatCycleParamsWithTimeout creates a new BulkGetStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkGetStatCycleParams) SetAuthInfoWriter ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk get stat cycle params
func (*BulkGetStatCycleParams) SetBody ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) SetBody(body *socialclientmodels.BulkStatCycleRequest)
SetBody adds the body to the bulk get stat cycle params
func (*BulkGetStatCycleParams) SetContext ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk get stat cycle params
func (*BulkGetStatCycleParams) SetFlightId ¶ added in v0.63.0
func (o *BulkGetStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*BulkGetStatCycleParams) SetHTTPClient ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk get stat cycle params
func (*BulkGetStatCycleParams) SetHTTPClientTransport ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk get stat cycle params
func (*BulkGetStatCycleParams) SetNamespace ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk get stat cycle params
func (*BulkGetStatCycleParams) SetTimeout ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk get stat cycle params
func (*BulkGetStatCycleParams) WithBody ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) WithBody(body *socialclientmodels.BulkStatCycleRequest) *BulkGetStatCycleParams
WithBody adds the body to the bulk get stat cycle params
func (*BulkGetStatCycleParams) WithContext ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) WithContext(ctx context.Context) *BulkGetStatCycleParams
WithContext adds the context to the bulk get stat cycle params
func (*BulkGetStatCycleParams) WithHTTPClient ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) WithHTTPClient(client *http.Client) *BulkGetStatCycleParams
WithHTTPClient adds the HTTPClient to the bulk get stat cycle params
func (*BulkGetStatCycleParams) WithNamespace ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) WithNamespace(namespace string) *BulkGetStatCycleParams
WithNamespace adds the namespace to the bulk get stat cycle params
func (*BulkGetStatCycleParams) WithTimeout ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) WithTimeout(timeout time.Duration) *BulkGetStatCycleParams
WithTimeout adds the timeout to the bulk get stat cycle params
func (*BulkGetStatCycleParams) WriteToRequest ¶ added in v0.43.0
func (o *BulkGetStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkGetStatCycleReader ¶ added in v0.43.0
type BulkGetStatCycleReader struct {
// contains filtered or unexported fields
}
BulkGetStatCycleReader is a Reader for the BulkGetStatCycle structure.
func (*BulkGetStatCycleReader) ReadResponse ¶ added in v0.43.0
func (o *BulkGetStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkGetStatCycleUnauthorized ¶ added in v0.57.0
type BulkGetStatCycleUnauthorized struct {
}BulkGetStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewBulkGetStatCycleUnauthorized ¶ added in v0.57.0
func NewBulkGetStatCycleUnauthorized() *BulkGetStatCycleUnauthorized
NewBulkGetStatCycleUnauthorized creates a BulkGetStatCycleUnauthorized with default headers values
func (*BulkGetStatCycleUnauthorized) Error ¶ added in v0.57.0
func (o *BulkGetStatCycleUnauthorized) Error() string
func (*BulkGetStatCycleUnauthorized) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*BulkGetStatCycleUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycleUnauthorized) ToJSONString() string
type BulkGetStatCycleUnprocessableEntity ¶ added in v0.57.0
type BulkGetStatCycleUnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
BulkGetStatCycleUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewBulkGetStatCycleUnprocessableEntity ¶ added in v0.57.0
func NewBulkGetStatCycleUnprocessableEntity() *BulkGetStatCycleUnprocessableEntity
NewBulkGetStatCycleUnprocessableEntity creates a BulkGetStatCycleUnprocessableEntity with default headers values
func (*BulkGetStatCycleUnprocessableEntity) Error ¶ added in v0.57.0
func (o *BulkGetStatCycleUnprocessableEntity) Error() string
func (*BulkGetStatCycleUnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *BulkGetStatCycleUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*BulkGetStatCycleUnprocessableEntity) ToJSONString ¶ added in v0.57.0
func (o *BulkGetStatCycleUnprocessableEntity) ToJSONString() string
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, *BulkAddStatsBadRequest, *BulkAddStatsUnauthorized, *BulkAddStatsForbidden, *BulkAddStatsNotFound, *BulkAddStatsUnprocessableEntity, *BulkAddStatsInternalServerError, error)
Deprecated: 2022-08-10 - Use BulkAddStatsShort instead.
BulkAddStats bulk add stat cycle to stats Bulk add stat cycle to stats. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)
func (*Client) BulkAddStatsShort ¶
func (a *Client) BulkAddStatsShort(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, error)
BulkAddStatsShort bulk add stat cycle to stats Bulk add stat cycle to stats. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)
func (*Client) BulkGetStatCycle
deprecated
added in
v0.43.0
func (a *Client) BulkGetStatCycle(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, *BulkGetStatCycleBadRequest, *BulkGetStatCycleUnauthorized, *BulkGetStatCycleForbidden, *BulkGetStatCycleUnprocessableEntity, *BulkGetStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use BulkGetStatCycleShort instead.
BulkGetStatCycle bulk get stat cycle Bulk get stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : list of stat cycles
func (*Client) BulkGetStatCycle1
deprecated
added in
v0.43.0
func (a *Client) BulkGetStatCycle1(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, *BulkGetStatCycle1BadRequest, *BulkGetStatCycle1Unauthorized, *BulkGetStatCycle1Forbidden, *BulkGetStatCycle1UnprocessableEntity, *BulkGetStatCycle1InternalServerError, error)
Deprecated: 2022-08-10 - Use BulkGetStatCycle1Short instead.
BulkGetStatCycle1 bulk get stat cycle Bulk get stat cycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : list of stat cycles
func (*Client) BulkGetStatCycle1Short ¶ added in v0.43.0
func (a *Client) BulkGetStatCycle1Short(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, error)
BulkGetStatCycle1Short bulk get stat cycle Bulk get stat cycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : list of stat cycles
func (*Client) BulkGetStatCycleShort ¶ added in v0.43.0
func (a *Client) BulkGetStatCycleShort(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, error)
BulkGetStatCycleShort bulk get stat cycle Bulk get stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : list of stat cycles
func (*Client) CreateStatCycle
deprecated
func (a *Client) CreateStatCycle(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, *CreateStatCycleBadRequest, *CreateStatCycleUnauthorized, *CreateStatCycleForbidden, *CreateStatCycleUnprocessableEntity, *CreateStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use CreateStatCycleShort instead.
CreateStatCycle create stat cycle Create stat cycle. Fields:
- name: Cycle name, maximum length is 128 characters. (required).
- resetTime: Reset time must follow hours:minutes in 24 hours format e.g. 01:30, 23:15. (required)
- resetDay: Reset Day follows the ISO-8601 standard, from 1 (Monday) to 7 (Sunday). Required when cycleType is WEEKLY.
- resetDate: Reset Date must be a number 1 - 31. Required when cycleType is MONTHLY or ANNUALLY.
- resetMonth: Reset Month must be a number 1 - 12. Required when cycleType is ANNUALLY.
- seasonPeriod: Season period must be a number greater than or equal to 1 (days). Required when cycleType is SEASONAL.
- start: Start time must follow RFC3339 standard. e.g. 2023-02-24T05:10:24.865Z. (required)
- end: End time must follow RFC3339 standard. e.g. 2023-02-24T05:10:24.865Z.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)
- Returns : created stat cycle
func (*Client) CreateStatCycleShort ¶
func (a *Client) CreateStatCycleShort(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, error)
CreateStatCycleShort create stat cycle Create stat cycle. Fields:
- name: Cycle name, maximum length is 128 characters. (required).
- resetTime: Reset time must follow hours:minutes in 24 hours format e.g. 01:30, 23:15. (required)
- resetDay: Reset Day follows the ISO-8601 standard, from 1 (Monday) to 7 (Sunday). Required when cycleType is WEEKLY.
- resetDate: Reset Date must be a number 1 - 31. Required when cycleType is MONTHLY or ANNUALLY.
- resetMonth: Reset Month must be a number 1 - 12. Required when cycleType is ANNUALLY.
- seasonPeriod: Season period must be a number greater than or equal to 1 (days). Required when cycleType is SEASONAL.
- start: Start time must follow RFC3339 standard. e.g. 2023-02-24T05:10:24.865Z. (required)
- end: End time must follow RFC3339 standard. e.g. 2023-02-24T05:10:24.865Z.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=1 (CREATE)
- Returns : created stat cycle
func (*Client) DeleteStatCycle
deprecated
func (a *Client) DeleteStatCycle(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, *DeleteStatCycleUnauthorized, *DeleteStatCycleForbidden, *DeleteStatCycleNotFound, *DeleteStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteStatCycleShort instead.
DeleteStatCycle deletes stat cycle Deletes stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)
func (*Client) DeleteStatCycleShort ¶
func (a *Client) DeleteStatCycleShort(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, error)
DeleteStatCycleShort deletes stat cycle Deletes stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=8 (DELETE)
func (*Client) ExportStatCycle
deprecated
added in
v0.58.0
func (a *Client) ExportStatCycle(params *ExportStatCycleParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatCycleOK, *ExportStatCycleUnauthorized, *ExportStatCycleForbidden, *ExportStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use ExportStatCycleShort instead.
ExportStatCycle export all stat cycle configurations Export all stat cycle 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) ExportStatCycleShort ¶ added in v0.58.0
func (a *Client) ExportStatCycleShort(params *ExportStatCycleParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatCycleOK, error)
ExportStatCycleShort export all stat cycle configurations Export all stat cycle 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) GetStatCycle
deprecated
func (a *Client) GetStatCycle(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, *GetStatCycleUnauthorized, *GetStatCycleForbidden, *GetStatCycleNotFound, *GetStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use GetStatCycleShort instead.
GetStatCycle get stat cycle Get stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycle info
func (*Client) GetStatCycle1
deprecated
func (a *Client) GetStatCycle1(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, *GetStatCycle1Unauthorized, *GetStatCycle1Forbidden, *GetStatCycle1NotFound, *GetStatCycle1InternalServerError, error)
Deprecated: 2022-08-10 - Use GetStatCycle1Short instead.
GetStatCycle1 get stat cycle Get stat cycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycle info
func (*Client) GetStatCycle1Short ¶
func (a *Client) GetStatCycle1Short(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, error)
GetStatCycle1Short get stat cycle Get stat cycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycle info
func (*Client) GetStatCycleShort ¶
func (a *Client) GetStatCycleShort(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, error)
GetStatCycleShort get stat cycle Get stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycle info
func (*Client) GetStatCycles
deprecated
func (a *Client) GetStatCycles(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, *GetStatCyclesUnauthorized, *GetStatCyclesForbidden, *GetStatCyclesInternalServerError, error)
Deprecated: 2022-08-10 - Use GetStatCyclesShort instead.
GetStatCycles list stat cycles List stat cycles by pagination. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycles
func (*Client) GetStatCycles1
deprecated
func (a *Client) GetStatCycles1(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, *GetStatCycles1Unauthorized, *GetStatCycles1Forbidden, *GetStatCycles1InternalServerError, error)
Deprecated: 2022-08-10 - Use GetStatCycles1Short instead.
GetStatCycles1 list stat cycles List stat cycles by pagination. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycles
func (*Client) GetStatCycles1Short ¶
func (a *Client) GetStatCycles1Short(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error)
GetStatCycles1Short list stat cycles List stat cycles by pagination. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycles
func (*Client) GetStatCyclesShort ¶
func (a *Client) GetStatCyclesShort(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error)
GetStatCyclesShort list stat cycles List stat cycles by pagination. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=2 (READ)
- Returns : stat cycles
func (*Client) ImportStatCycle
deprecated
added in
v0.60.0
func (a *Client) ImportStatCycle(params *ImportStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatCycleCreated, *ImportStatCycleBadRequest, *ImportStatCycleUnauthorized, *ImportStatCycleForbidden, *ImportStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use ImportStatCycleShort instead.
ImportStatCycle import stat cycle configurations Import stat cycle 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) ImportStatCycleShort ¶ added in v0.60.0
func (a *Client) ImportStatCycleShort(params *ImportStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatCycleCreated, error)
ImportStatCycleShort import stat cycle configurations Import stat cycle 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) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StopStatCycle
deprecated
added in
v0.41.0
func (a *Client) StopStatCycle(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, *StopStatCycleUnauthorized, *StopStatCycleForbidden, *StopStatCycleNotFound, *StopStatCycleConflict, *StopStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use StopStatCycleShort instead.
StopStatCycle stop stat cycle Stop stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)
- Returns : updated stat cycle
func (*Client) StopStatCycleShort ¶ added in v0.41.0
func (a *Client) StopStatCycleShort(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, error)
StopStatCycleShort stop stat cycle Stop stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)
- Returns : updated stat cycle
func (*Client) UpdateStatCycle
deprecated
func (a *Client) UpdateStatCycle(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, *UpdateStatCycleBadRequest, *UpdateStatCycleUnauthorized, *UpdateStatCycleForbidden, *UpdateStatCycleNotFound, *UpdateStatCycleConflict, *UpdateStatCycleUnprocessableEntity, *UpdateStatCycleInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateStatCycleShort instead.
UpdateStatCycle update stat cycle Update stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)
- Returns : updated stat cycle
func (*Client) UpdateStatCycleShort ¶
func (a *Client) UpdateStatCycleShort(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, error)
UpdateStatCycleShort update stat cycle Update stat cycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STAT", action=4 (UPDATE)
- Returns : updated stat cycle
type ClientService ¶
type ClientService interface { GetStatCycles(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, *GetStatCyclesUnauthorized, *GetStatCyclesForbidden, *GetStatCyclesInternalServerError, error) GetStatCyclesShort(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error) CreateStatCycle(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, *CreateStatCycleBadRequest, *CreateStatCycleUnauthorized, *CreateStatCycleForbidden, *CreateStatCycleUnprocessableEntity, *CreateStatCycleInternalServerError, error) CreateStatCycleShort(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, error) BulkGetStatCycle(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, *BulkGetStatCycleBadRequest, *BulkGetStatCycleUnauthorized, *BulkGetStatCycleForbidden, *BulkGetStatCycleUnprocessableEntity, *BulkGetStatCycleInternalServerError, error) BulkGetStatCycleShort(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, error) ExportStatCycle(params *ExportStatCycleParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatCycleOK, *ExportStatCycleUnauthorized, *ExportStatCycleForbidden, *ExportStatCycleInternalServerError, error) ExportStatCycleShort(params *ExportStatCycleParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStatCycleOK, error) ImportStatCycle(params *ImportStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatCycleCreated, *ImportStatCycleBadRequest, *ImportStatCycleUnauthorized, *ImportStatCycleForbidden, *ImportStatCycleInternalServerError, error) ImportStatCycleShort(params *ImportStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStatCycleCreated, error) GetStatCycle(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, *GetStatCycleUnauthorized, *GetStatCycleForbidden, *GetStatCycleNotFound, *GetStatCycleInternalServerError, error) GetStatCycleShort(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, error) UpdateStatCycle(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, *UpdateStatCycleBadRequest, *UpdateStatCycleUnauthorized, *UpdateStatCycleForbidden, *UpdateStatCycleNotFound, *UpdateStatCycleConflict, *UpdateStatCycleUnprocessableEntity, *UpdateStatCycleInternalServerError, error) UpdateStatCycleShort(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, error) DeleteStatCycle(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, *DeleteStatCycleUnauthorized, *DeleteStatCycleForbidden, *DeleteStatCycleNotFound, *DeleteStatCycleInternalServerError, error) DeleteStatCycleShort(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, error) BulkAddStats(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, *BulkAddStatsBadRequest, *BulkAddStatsUnauthorized, *BulkAddStatsForbidden, *BulkAddStatsNotFound, *BulkAddStatsUnprocessableEntity, *BulkAddStatsInternalServerError, error) BulkAddStatsShort(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, error) StopStatCycle(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, *StopStatCycleUnauthorized, *StopStatCycleForbidden, *StopStatCycleNotFound, *StopStatCycleConflict, *StopStatCycleInternalServerError, error) StopStatCycleShort(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, error) GetStatCycles1(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, *GetStatCycles1Unauthorized, *GetStatCycles1Forbidden, *GetStatCycles1InternalServerError, error) GetStatCycles1Short(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error) BulkGetStatCycle1(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, *BulkGetStatCycle1BadRequest, *BulkGetStatCycle1Unauthorized, *BulkGetStatCycle1Forbidden, *BulkGetStatCycle1UnprocessableEntity, *BulkGetStatCycle1InternalServerError, error) BulkGetStatCycle1Short(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, error) GetStatCycle1(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, *GetStatCycle1Unauthorized, *GetStatCycle1Forbidden, *GetStatCycle1NotFound, *GetStatCycle1InternalServerError, error) GetStatCycle1Short(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, 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 CreateStatCycleForbidden ¶ added in v0.57.0
type CreateStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
CreateStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewCreateStatCycleForbidden ¶ added in v0.57.0
func NewCreateStatCycleForbidden() *CreateStatCycleForbidden
NewCreateStatCycleForbidden creates a CreateStatCycleForbidden with default headers values
func (*CreateStatCycleForbidden) Error ¶ added in v0.57.0
func (o *CreateStatCycleForbidden) Error() string
func (*CreateStatCycleForbidden) GetPayload ¶ added in v0.57.0
func (o *CreateStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*CreateStatCycleForbidden) ToJSONString ¶ added in v0.57.0
func (o *CreateStatCycleForbidden) ToJSONString() string
type CreateStatCycleInternalServerError ¶ added in v0.57.0
type CreateStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
CreateStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewCreateStatCycleInternalServerError ¶ added in v0.57.0
func NewCreateStatCycleInternalServerError() *CreateStatCycleInternalServerError
NewCreateStatCycleInternalServerError creates a CreateStatCycleInternalServerError with default headers values
func (*CreateStatCycleInternalServerError) Error ¶ added in v0.57.0
func (o *CreateStatCycleInternalServerError) Error() string
func (*CreateStatCycleInternalServerError) GetPayload ¶ added in v0.57.0
func (o *CreateStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*CreateStatCycleInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *CreateStatCycleInternalServerError) 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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *CreateStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 CreateStatCycleUnauthorized ¶ added in v0.57.0
type CreateStatCycleUnauthorized struct {
}CreateStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewCreateStatCycleUnauthorized ¶ added in v0.57.0
func NewCreateStatCycleUnauthorized() *CreateStatCycleUnauthorized
NewCreateStatCycleUnauthorized creates a CreateStatCycleUnauthorized with default headers values
func (*CreateStatCycleUnauthorized) Error ¶ added in v0.57.0
func (o *CreateStatCycleUnauthorized) Error() string
func (*CreateStatCycleUnauthorized) GetPayload ¶ added in v0.57.0
func (o *CreateStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*CreateStatCycleUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *CreateStatCycleUnauthorized) ToJSONString() string
type CreateStatCycleUnprocessableEntity ¶ added in v0.57.0
type CreateStatCycleUnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
CreateStatCycleUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewCreateStatCycleUnprocessableEntity ¶ added in v0.57.0
func NewCreateStatCycleUnprocessableEntity() *CreateStatCycleUnprocessableEntity
NewCreateStatCycleUnprocessableEntity creates a CreateStatCycleUnprocessableEntity with default headers values
func (*CreateStatCycleUnprocessableEntity) Error ¶ added in v0.57.0
func (o *CreateStatCycleUnprocessableEntity) Error() string
func (*CreateStatCycleUnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *CreateStatCycleUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*CreateStatCycleUnprocessableEntity) ToJSONString ¶ added in v0.57.0
func (o *CreateStatCycleUnprocessableEntity) ToJSONString() string
type DeleteStatCycleForbidden ¶ added in v0.57.0
type DeleteStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
DeleteStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewDeleteStatCycleForbidden ¶ added in v0.57.0
func NewDeleteStatCycleForbidden() *DeleteStatCycleForbidden
NewDeleteStatCycleForbidden creates a DeleteStatCycleForbidden with default headers values
func (*DeleteStatCycleForbidden) Error ¶ added in v0.57.0
func (o *DeleteStatCycleForbidden) Error() string
func (*DeleteStatCycleForbidden) GetPayload ¶ added in v0.57.0
func (o *DeleteStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*DeleteStatCycleForbidden) ToJSONString ¶ added in v0.57.0
func (o *DeleteStatCycleForbidden) ToJSONString() string
type DeleteStatCycleInternalServerError ¶ added in v0.57.0
type DeleteStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
DeleteStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewDeleteStatCycleInternalServerError ¶ added in v0.57.0
func NewDeleteStatCycleInternalServerError() *DeleteStatCycleInternalServerError
NewDeleteStatCycleInternalServerError creates a DeleteStatCycleInternalServerError with default headers values
func (*DeleteStatCycleInternalServerError) Error ¶ added in v0.57.0
func (o *DeleteStatCycleInternalServerError) Error() string
func (*DeleteStatCycleInternalServerError) GetPayload ¶ added in v0.57.0
func (o *DeleteStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*DeleteStatCycleInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *DeleteStatCycleInternalServerError) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *DeleteStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 DeleteStatCycleUnauthorized ¶ added in v0.57.0
type DeleteStatCycleUnauthorized struct {
}DeleteStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewDeleteStatCycleUnauthorized ¶ added in v0.57.0
func NewDeleteStatCycleUnauthorized() *DeleteStatCycleUnauthorized
NewDeleteStatCycleUnauthorized creates a DeleteStatCycleUnauthorized with default headers values
func (*DeleteStatCycleUnauthorized) Error ¶ added in v0.57.0
func (o *DeleteStatCycleUnauthorized) Error() string
func (*DeleteStatCycleUnauthorized) GetPayload ¶ added in v0.57.0
func (o *DeleteStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*DeleteStatCycleUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *DeleteStatCycleUnauthorized) ToJSONString() string
type ExportStatCycleForbidden ¶ added in v0.58.0
type ExportStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
ExportStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewExportStatCycleForbidden ¶ added in v0.58.0
func NewExportStatCycleForbidden() *ExportStatCycleForbidden
NewExportStatCycleForbidden creates a ExportStatCycleForbidden with default headers values
func (*ExportStatCycleForbidden) Error ¶ added in v0.58.0
func (o *ExportStatCycleForbidden) Error() string
func (*ExportStatCycleForbidden) GetPayload ¶ added in v0.58.0
func (o *ExportStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*ExportStatCycleForbidden) ToJSONString ¶ added in v0.58.0
func (o *ExportStatCycleForbidden) ToJSONString() string
type ExportStatCycleInternalServerError ¶ added in v0.58.0
type ExportStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
ExportStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewExportStatCycleInternalServerError ¶ added in v0.58.0
func NewExportStatCycleInternalServerError() *ExportStatCycleInternalServerError
NewExportStatCycleInternalServerError creates a ExportStatCycleInternalServerError with default headers values
func (*ExportStatCycleInternalServerError) Error ¶ added in v0.58.0
func (o *ExportStatCycleInternalServerError) Error() string
func (*ExportStatCycleInternalServerError) GetPayload ¶ added in v0.58.0
func (o *ExportStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*ExportStatCycleInternalServerError) ToJSONString ¶ added in v0.58.0
func (o *ExportStatCycleInternalServerError) ToJSONString() string
type ExportStatCycleOK ¶ added in v0.58.0
ExportStatCycleOK handles this case with default header values.
successful export of stat cycle configs
func NewExportStatCycleOK ¶ added in v0.58.0
func NewExportStatCycleOK(writer io.Writer) *ExportStatCycleOK
NewExportStatCycleOK creates a ExportStatCycleOK with default headers values
func (*ExportStatCycleOK) Error ¶ added in v0.58.0
func (o *ExportStatCycleOK) Error() string
func (*ExportStatCycleOK) GetPayload ¶ added in v0.58.0
func (o *ExportStatCycleOK) GetPayload() io.Writer
func (*ExportStatCycleOK) ToJSONString ¶ added in v0.58.0
func (o *ExportStatCycleOK) ToJSONString() string
type ExportStatCycleParams ¶ added in v0.58.0
type ExportStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ExportStatCycleParams contains all the parameters to send to the API endpoint for the export stat cycle operation typically these are written to a http.Request
func NewExportStatCycleParams ¶ added in v0.58.0
func NewExportStatCycleParams() *ExportStatCycleParams
NewExportStatCycleParams creates a new ExportStatCycleParams object with the default values initialized.
func NewExportStatCycleParamsWithContext ¶ added in v0.58.0
func NewExportStatCycleParamsWithContext(ctx context.Context) *ExportStatCycleParams
NewExportStatCycleParamsWithContext creates a new ExportStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewExportStatCycleParamsWithHTTPClient ¶ added in v0.58.0
func NewExportStatCycleParamsWithHTTPClient(client *http.Client) *ExportStatCycleParams
NewExportStatCycleParamsWithHTTPClient creates a new ExportStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExportStatCycleParamsWithTimeout ¶ added in v0.58.0
func NewExportStatCycleParamsWithTimeout(timeout time.Duration) *ExportStatCycleParams
NewExportStatCycleParamsWithTimeout creates a new ExportStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExportStatCycleParams) SetAuthInfoWriter ¶ added in v0.58.0
func (o *ExportStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the export stat cycle params
func (*ExportStatCycleParams) SetContext ¶ added in v0.58.0
func (o *ExportStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the export stat cycle params
func (*ExportStatCycleParams) SetFlightId ¶ added in v0.63.0
func (o *ExportStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ExportStatCycleParams) SetHTTPClient ¶ added in v0.58.0
func (o *ExportStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export stat cycle params
func (*ExportStatCycleParams) SetHTTPClientTransport ¶ added in v0.58.0
func (o *ExportStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the export stat cycle params
func (*ExportStatCycleParams) SetNamespace ¶ added in v0.58.0
func (o *ExportStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the export stat cycle params
func (*ExportStatCycleParams) SetTimeout ¶ added in v0.58.0
func (o *ExportStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export stat cycle params
func (*ExportStatCycleParams) WithContext ¶ added in v0.58.0
func (o *ExportStatCycleParams) WithContext(ctx context.Context) *ExportStatCycleParams
WithContext adds the context to the export stat cycle params
func (*ExportStatCycleParams) WithHTTPClient ¶ added in v0.58.0
func (o *ExportStatCycleParams) WithHTTPClient(client *http.Client) *ExportStatCycleParams
WithHTTPClient adds the HTTPClient to the export stat cycle params
func (*ExportStatCycleParams) WithNamespace ¶ added in v0.58.0
func (o *ExportStatCycleParams) WithNamespace(namespace string) *ExportStatCycleParams
WithNamespace adds the namespace to the export stat cycle params
func (*ExportStatCycleParams) WithTimeout ¶ added in v0.58.0
func (o *ExportStatCycleParams) WithTimeout(timeout time.Duration) *ExportStatCycleParams
WithTimeout adds the timeout to the export stat cycle params
func (*ExportStatCycleParams) WriteToRequest ¶ added in v0.58.0
func (o *ExportStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportStatCycleReader ¶ added in v0.58.0
type ExportStatCycleReader struct {
// contains filtered or unexported fields
}
ExportStatCycleReader is a Reader for the ExportStatCycle structure.
func (*ExportStatCycleReader) ReadResponse ¶ added in v0.58.0
func (o *ExportStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportStatCycleUnauthorized ¶ added in v0.58.0
type ExportStatCycleUnauthorized struct {
}ExportStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewExportStatCycleUnauthorized ¶ added in v0.58.0
func NewExportStatCycleUnauthorized() *ExportStatCycleUnauthorized
NewExportStatCycleUnauthorized creates a ExportStatCycleUnauthorized with default headers values
func (*ExportStatCycleUnauthorized) Error ¶ added in v0.58.0
func (o *ExportStatCycleUnauthorized) Error() string
func (*ExportStatCycleUnauthorized) GetPayload ¶ added in v0.58.0
func (o *ExportStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*ExportStatCycleUnauthorized) ToJSONString ¶ added in v0.58.0
func (o *ExportStatCycleUnauthorized) ToJSONString() string
type GetStatCycle1Forbidden ¶ added in v0.57.0
type GetStatCycle1Forbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycle1Forbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetStatCycle1Forbidden ¶ added in v0.57.0
func NewGetStatCycle1Forbidden() *GetStatCycle1Forbidden
NewGetStatCycle1Forbidden creates a GetStatCycle1Forbidden with default headers values
func (*GetStatCycle1Forbidden) Error ¶ added in v0.57.0
func (o *GetStatCycle1Forbidden) Error() string
func (*GetStatCycle1Forbidden) GetPayload ¶ added in v0.57.0
func (o *GetStatCycle1Forbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycle1Forbidden) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycle1Forbidden) ToJSONString() string
type GetStatCycle1InternalServerError ¶ added in v0.57.0
type GetStatCycle1InternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycle1InternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetStatCycle1InternalServerError ¶ added in v0.57.0
func NewGetStatCycle1InternalServerError() *GetStatCycle1InternalServerError
NewGetStatCycle1InternalServerError creates a GetStatCycle1InternalServerError with default headers values
func (*GetStatCycle1InternalServerError) Error ¶ added in v0.57.0
func (o *GetStatCycle1InternalServerError) Error() string
func (*GetStatCycle1InternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetStatCycle1InternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycle1InternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycle1InternalServerError) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *GetStatCycle1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 GetStatCycle1Unauthorized ¶ added in v0.57.0
type GetStatCycle1Unauthorized struct {
}GetStatCycle1Unauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetStatCycle1Unauthorized ¶ added in v0.57.0
func NewGetStatCycle1Unauthorized() *GetStatCycle1Unauthorized
NewGetStatCycle1Unauthorized creates a GetStatCycle1Unauthorized with default headers values
func (*GetStatCycle1Unauthorized) Error ¶ added in v0.57.0
func (o *GetStatCycle1Unauthorized) Error() string
func (*GetStatCycle1Unauthorized) GetPayload ¶ added in v0.57.0
func (o *GetStatCycle1Unauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycle1Unauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycle1Unauthorized) ToJSONString() string
type GetStatCycleForbidden ¶ added in v0.57.0
type GetStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetStatCycleForbidden ¶ added in v0.57.0
func NewGetStatCycleForbidden() *GetStatCycleForbidden
NewGetStatCycleForbidden creates a GetStatCycleForbidden with default headers values
func (*GetStatCycleForbidden) Error ¶ added in v0.57.0
func (o *GetStatCycleForbidden) Error() string
func (*GetStatCycleForbidden) GetPayload ¶ added in v0.57.0
func (o *GetStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycleForbidden) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycleForbidden) ToJSONString() string
type GetStatCycleInternalServerError ¶ added in v0.57.0
type GetStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetStatCycleInternalServerError ¶ added in v0.57.0
func NewGetStatCycleInternalServerError() *GetStatCycleInternalServerError
NewGetStatCycleInternalServerError creates a GetStatCycleInternalServerError with default headers values
func (*GetStatCycleInternalServerError) Error ¶ added in v0.57.0
func (o *GetStatCycleInternalServerError) Error() string
func (*GetStatCycleInternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycleInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycleInternalServerError) ToJSONString() string
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *GetStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 GetStatCycleUnauthorized ¶ added in v0.57.0
type GetStatCycleUnauthorized struct {
}GetStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetStatCycleUnauthorized ¶ added in v0.57.0
func NewGetStatCycleUnauthorized() *GetStatCycleUnauthorized
NewGetStatCycleUnauthorized creates a GetStatCycleUnauthorized with default headers values
func (*GetStatCycleUnauthorized) Error ¶ added in v0.57.0
func (o *GetStatCycleUnauthorized) Error() string
func (*GetStatCycleUnauthorized) GetPayload ¶ added in v0.57.0
func (o *GetStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycleUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycleUnauthorized) ToJSONString() string
type GetStatCycles1Forbidden ¶ added in v0.57.0
type GetStatCycles1Forbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycles1Forbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetStatCycles1Forbidden ¶ added in v0.57.0
func NewGetStatCycles1Forbidden() *GetStatCycles1Forbidden
NewGetStatCycles1Forbidden creates a GetStatCycles1Forbidden with default headers values
func (*GetStatCycles1Forbidden) Error ¶ added in v0.57.0
func (o *GetStatCycles1Forbidden) Error() string
func (*GetStatCycles1Forbidden) GetPayload ¶ added in v0.57.0
func (o *GetStatCycles1Forbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycles1Forbidden) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycles1Forbidden) ToJSONString() string
type GetStatCycles1InternalServerError ¶ added in v0.57.0
type GetStatCycles1InternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCycles1InternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetStatCycles1InternalServerError ¶ added in v0.57.0
func NewGetStatCycles1InternalServerError() *GetStatCycles1InternalServerError
NewGetStatCycles1InternalServerError creates a GetStatCycles1InternalServerError with default headers values
func (*GetStatCycles1InternalServerError) Error ¶ added in v0.57.0
func (o *GetStatCycles1InternalServerError) Error() string
func (*GetStatCycles1InternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetStatCycles1InternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycles1InternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycles1InternalServerError) ToJSONString() string
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 /*Namespace namespace */ Namespace string /*CycleType*/ CycleType *string /*Limit*/ Limit *int32 /*Name name */ Name *string /*Offset*/ Offset *int32 /*SortBy default is unsorted, allow values: [start, start:asc, start:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc],and support sort group, eg: sortBy=start:asc,createdAt:desc. */ SortBy *string /*Status*/ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
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) SetFlightId ¶ added in v0.63.0
func (o *GetStatCycles1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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) SetSortBy ¶ added in v0.40.0
func (o *GetStatCycles1Params) SetSortBy(sortBy *string)
SetSortBy adds the sortBy 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) WithSortBy ¶ added in v0.40.0
func (o *GetStatCycles1Params) WithSortBy(sortBy *string) *GetStatCycles1Params
WithSortBy adds the sortBy 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 GetStatCycles1Unauthorized ¶ added in v0.57.0
type GetStatCycles1Unauthorized struct {
}GetStatCycles1Unauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetStatCycles1Unauthorized ¶ added in v0.57.0
func NewGetStatCycles1Unauthorized() *GetStatCycles1Unauthorized
NewGetStatCycles1Unauthorized creates a GetStatCycles1Unauthorized with default headers values
func (*GetStatCycles1Unauthorized) Error ¶ added in v0.57.0
func (o *GetStatCycles1Unauthorized) Error() string
func (*GetStatCycles1Unauthorized) GetPayload ¶ added in v0.57.0
func (o *GetStatCycles1Unauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCycles1Unauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetStatCycles1Unauthorized) ToJSONString() string
type GetStatCyclesForbidden ¶ added in v0.57.0
type GetStatCyclesForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCyclesForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetStatCyclesForbidden ¶ added in v0.57.0
func NewGetStatCyclesForbidden() *GetStatCyclesForbidden
NewGetStatCyclesForbidden creates a GetStatCyclesForbidden with default headers values
func (*GetStatCyclesForbidden) Error ¶ added in v0.57.0
func (o *GetStatCyclesForbidden) Error() string
func (*GetStatCyclesForbidden) GetPayload ¶ added in v0.57.0
func (o *GetStatCyclesForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCyclesForbidden) ToJSONString ¶ added in v0.57.0
func (o *GetStatCyclesForbidden) ToJSONString() string
type GetStatCyclesInternalServerError ¶ added in v0.57.0
type GetStatCyclesInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetStatCyclesInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewGetStatCyclesInternalServerError ¶ added in v0.57.0
func NewGetStatCyclesInternalServerError() *GetStatCyclesInternalServerError
NewGetStatCyclesInternalServerError creates a GetStatCyclesInternalServerError with default headers values
func (*GetStatCyclesInternalServerError) Error ¶ added in v0.57.0
func (o *GetStatCyclesInternalServerError) Error() string
func (*GetStatCyclesInternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetStatCyclesInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCyclesInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetStatCyclesInternalServerError) ToJSONString() string
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 /*Namespace namespace */ Namespace string /*CycleType*/ CycleType *string /*Limit*/ Limit *int32 /*Name name */ Name *string /*Offset*/ Offset *int32 /*SortBy default is unsorted, allow values: [start, start:asc, start:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc],and support sort group, eg: sortBy=start:asc,createdAt:desc. */ SortBy *string /*Status*/ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
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) SetFlightId ¶ added in v0.63.0
func (o *GetStatCyclesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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) SetSortBy ¶ added in v0.40.0
func (o *GetStatCyclesParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy 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) WithSortBy ¶ added in v0.40.0
func (o *GetStatCyclesParams) WithSortBy(sortBy *string) *GetStatCyclesParams
WithSortBy adds the sortBy 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 GetStatCyclesUnauthorized ¶ added in v0.57.0
type GetStatCyclesUnauthorized struct {
}GetStatCyclesUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewGetStatCyclesUnauthorized ¶ added in v0.57.0
func NewGetStatCyclesUnauthorized() *GetStatCyclesUnauthorized
NewGetStatCyclesUnauthorized creates a GetStatCyclesUnauthorized with default headers values
func (*GetStatCyclesUnauthorized) Error ¶ added in v0.57.0
func (o *GetStatCyclesUnauthorized) Error() string
func (*GetStatCyclesUnauthorized) GetPayload ¶ added in v0.57.0
func (o *GetStatCyclesUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetStatCyclesUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetStatCyclesUnauthorized) ToJSONString() string
type ImportStatCycleBadRequest ¶ added in v0.60.0
type ImportStatCycleBadRequest struct {
Payload *socialclientmodels.ErrorEntity
}
ImportStatCycleBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>12222</td><td>Stats data for namespace [{namespace}] is invalid</td></tr></table>
func NewImportStatCycleBadRequest ¶ added in v0.60.0
func NewImportStatCycleBadRequest() *ImportStatCycleBadRequest
NewImportStatCycleBadRequest creates a ImportStatCycleBadRequest with default headers values
func (*ImportStatCycleBadRequest) Error ¶ added in v0.60.0
func (o *ImportStatCycleBadRequest) Error() string
func (*ImportStatCycleBadRequest) GetPayload ¶ added in v0.60.0
func (o *ImportStatCycleBadRequest) GetPayload() *socialclientmodels.ErrorEntity
func (*ImportStatCycleBadRequest) ToJSONString ¶ added in v0.60.0
func (o *ImportStatCycleBadRequest) ToJSONString() string
type ImportStatCycleCreated ¶ added in v0.60.0
type ImportStatCycleCreated struct {
Payload *socialclientmodels.StatImportInfo
}
ImportStatCycleCreated handles this case with default header values.
Import stat cycles successfully
func NewImportStatCycleCreated ¶ added in v0.60.0
func NewImportStatCycleCreated() *ImportStatCycleCreated
NewImportStatCycleCreated creates a ImportStatCycleCreated with default headers values
func (*ImportStatCycleCreated) Error ¶ added in v0.60.0
func (o *ImportStatCycleCreated) Error() string
func (*ImportStatCycleCreated) GetPayload ¶ added in v0.60.0
func (o *ImportStatCycleCreated) GetPayload() *socialclientmodels.StatImportInfo
func (*ImportStatCycleCreated) ToJSONString ¶ added in v0.60.0
func (o *ImportStatCycleCreated) ToJSONString() string
type ImportStatCycleForbidden ¶ added in v0.60.0
type ImportStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
ImportStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewImportStatCycleForbidden ¶ added in v0.60.0
func NewImportStatCycleForbidden() *ImportStatCycleForbidden
NewImportStatCycleForbidden creates a ImportStatCycleForbidden with default headers values
func (*ImportStatCycleForbidden) Error ¶ added in v0.60.0
func (o *ImportStatCycleForbidden) Error() string
func (*ImportStatCycleForbidden) GetPayload ¶ added in v0.60.0
func (o *ImportStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*ImportStatCycleForbidden) ToJSONString ¶ added in v0.60.0
func (o *ImportStatCycleForbidden) ToJSONString() string
type ImportStatCycleInternalServerError ¶ added in v0.60.0
type ImportStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
ImportStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewImportStatCycleInternalServerError ¶ added in v0.60.0
func NewImportStatCycleInternalServerError() *ImportStatCycleInternalServerError
NewImportStatCycleInternalServerError creates a ImportStatCycleInternalServerError with default headers values
func (*ImportStatCycleInternalServerError) Error ¶ added in v0.60.0
func (o *ImportStatCycleInternalServerError) Error() string
func (*ImportStatCycleInternalServerError) GetPayload ¶ added in v0.60.0
func (o *ImportStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*ImportStatCycleInternalServerError) ToJSONString ¶ added in v0.60.0
func (o *ImportStatCycleInternalServerError) ToJSONString() string
type ImportStatCycleParams ¶ added in v0.60.0
type ImportStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*File*/ File runtime.NamedReadCloser /*Namespace namespace */ Namespace string /*ReplaceExisting replaceExisting */ ReplaceExisting *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ImportStatCycleParams contains all the parameters to send to the API endpoint for the import stat cycle operation typically these are written to a http.Request
func NewImportStatCycleParams ¶ added in v0.60.0
func NewImportStatCycleParams() *ImportStatCycleParams
NewImportStatCycleParams creates a new ImportStatCycleParams object with the default values initialized.
func NewImportStatCycleParamsWithContext ¶ added in v0.60.0
func NewImportStatCycleParamsWithContext(ctx context.Context) *ImportStatCycleParams
NewImportStatCycleParamsWithContext creates a new ImportStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewImportStatCycleParamsWithHTTPClient ¶ added in v0.60.0
func NewImportStatCycleParamsWithHTTPClient(client *http.Client) *ImportStatCycleParams
NewImportStatCycleParamsWithHTTPClient creates a new ImportStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewImportStatCycleParamsWithTimeout ¶ added in v0.60.0
func NewImportStatCycleParamsWithTimeout(timeout time.Duration) *ImportStatCycleParams
NewImportStatCycleParamsWithTimeout creates a new ImportStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ImportStatCycleParams) SetAuthInfoWriter ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the import stat cycle params
func (*ImportStatCycleParams) SetContext ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the import stat cycle params
func (*ImportStatCycleParams) SetFile ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the import stat cycle params
func (*ImportStatCycleParams) SetFlightId ¶ added in v0.63.0
func (o *ImportStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ImportStatCycleParams) SetHTTPClient ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import stat cycle params
func (*ImportStatCycleParams) SetHTTPClientTransport ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the import stat cycle params
func (*ImportStatCycleParams) SetNamespace ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the import stat cycle params
func (*ImportStatCycleParams) SetReplaceExisting ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetReplaceExisting(replaceExisting *bool)
SetReplaceExisting adds the replaceExisting to the import stat cycle params
func (*ImportStatCycleParams) SetTimeout ¶ added in v0.60.0
func (o *ImportStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import stat cycle params
func (*ImportStatCycleParams) WithContext ¶ added in v0.60.0
func (o *ImportStatCycleParams) WithContext(ctx context.Context) *ImportStatCycleParams
WithContext adds the context to the import stat cycle params
func (*ImportStatCycleParams) WithFile ¶ added in v0.60.0
func (o *ImportStatCycleParams) WithFile(file runtime.NamedReadCloser) *ImportStatCycleParams
WithFile adds the file to the import stat cycle params
func (*ImportStatCycleParams) WithHTTPClient ¶ added in v0.60.0
func (o *ImportStatCycleParams) WithHTTPClient(client *http.Client) *ImportStatCycleParams
WithHTTPClient adds the HTTPClient to the import stat cycle params
func (*ImportStatCycleParams) WithNamespace ¶ added in v0.60.0
func (o *ImportStatCycleParams) WithNamespace(namespace string) *ImportStatCycleParams
WithNamespace adds the namespace to the import stat cycle params
func (*ImportStatCycleParams) WithReplaceExisting ¶ added in v0.60.0
func (o *ImportStatCycleParams) WithReplaceExisting(replaceExisting *bool) *ImportStatCycleParams
WithReplaceExisting adds the replaceExisting to the import stat cycle params
func (*ImportStatCycleParams) WithTimeout ¶ added in v0.60.0
func (o *ImportStatCycleParams) WithTimeout(timeout time.Duration) *ImportStatCycleParams
WithTimeout adds the timeout to the import stat cycle params
func (*ImportStatCycleParams) WriteToRequest ¶ added in v0.60.0
func (o *ImportStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportStatCycleReader ¶ added in v0.60.0
type ImportStatCycleReader struct {
// contains filtered or unexported fields
}
ImportStatCycleReader is a Reader for the ImportStatCycle structure.
func (*ImportStatCycleReader) ReadResponse ¶ added in v0.60.0
func (o *ImportStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportStatCycleUnauthorized ¶ added in v0.60.0
type ImportStatCycleUnauthorized struct {
}ImportStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewImportStatCycleUnauthorized ¶ added in v0.60.0
func NewImportStatCycleUnauthorized() *ImportStatCycleUnauthorized
NewImportStatCycleUnauthorized creates a ImportStatCycleUnauthorized with default headers values
func (*ImportStatCycleUnauthorized) Error ¶ added in v0.60.0
func (o *ImportStatCycleUnauthorized) Error() string
func (*ImportStatCycleUnauthorized) GetPayload ¶ added in v0.60.0
func (o *ImportStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*ImportStatCycleUnauthorized) ToJSONString ¶ added in v0.60.0
func (o *ImportStatCycleUnauthorized) ToJSONString() string
type StopStatCycleConflict ¶ added in v0.41.0
type StopStatCycleConflict struct {
Payload *socialclientmodels.ErrorEntity
}
StopStatCycleConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12279</td><td>Invalid stat cycle status: Stat cycle [{id}], namespace [{namespace}], status [{status}]</td></tr></table>
func NewStopStatCycleConflict ¶ added in v0.41.0
func NewStopStatCycleConflict() *StopStatCycleConflict
NewStopStatCycleConflict creates a StopStatCycleConflict with default headers values
func (*StopStatCycleConflict) Error ¶ added in v0.41.0
func (o *StopStatCycleConflict) Error() string
func (*StopStatCycleConflict) GetPayload ¶ added in v0.41.0
func (o *StopStatCycleConflict) GetPayload() *socialclientmodels.ErrorEntity
func (*StopStatCycleConflict) ToJSONString ¶ added in v0.41.0
func (o *StopStatCycleConflict) ToJSONString() string
type StopStatCycleForbidden ¶ added in v0.57.0
type StopStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
StopStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewStopStatCycleForbidden ¶ added in v0.57.0
func NewStopStatCycleForbidden() *StopStatCycleForbidden
NewStopStatCycleForbidden creates a StopStatCycleForbidden with default headers values
func (*StopStatCycleForbidden) Error ¶ added in v0.57.0
func (o *StopStatCycleForbidden) Error() string
func (*StopStatCycleForbidden) GetPayload ¶ added in v0.57.0
func (o *StopStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*StopStatCycleForbidden) ToJSONString ¶ added in v0.57.0
func (o *StopStatCycleForbidden) ToJSONString() string
type StopStatCycleInternalServerError ¶ added in v0.57.0
type StopStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
StopStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewStopStatCycleInternalServerError ¶ added in v0.57.0
func NewStopStatCycleInternalServerError() *StopStatCycleInternalServerError
NewStopStatCycleInternalServerError creates a StopStatCycleInternalServerError with default headers values
func (*StopStatCycleInternalServerError) Error ¶ added in v0.57.0
func (o *StopStatCycleInternalServerError) Error() string
func (*StopStatCycleInternalServerError) GetPayload ¶ added in v0.57.0
func (o *StopStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*StopStatCycleInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *StopStatCycleInternalServerError) ToJSONString() string
type StopStatCycleNotFound ¶ added in v0.41.0
type StopStatCycleNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
StopStatCycleNotFound 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 NewStopStatCycleNotFound ¶ added in v0.41.0
func NewStopStatCycleNotFound() *StopStatCycleNotFound
NewStopStatCycleNotFound creates a StopStatCycleNotFound with default headers values
func (*StopStatCycleNotFound) Error ¶ added in v0.41.0
func (o *StopStatCycleNotFound) Error() string
func (*StopStatCycleNotFound) GetPayload ¶ added in v0.41.0
func (o *StopStatCycleNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*StopStatCycleNotFound) ToJSONString ¶ added in v0.41.0
func (o *StopStatCycleNotFound) ToJSONString() string
type StopStatCycleOK ¶ added in v0.41.0
type StopStatCycleOK struct {
Payload *socialclientmodels.StatCycleInfo
}
StopStatCycleOK handles this case with default header values.
successful operation
func NewStopStatCycleOK ¶ added in v0.41.0
func NewStopStatCycleOK() *StopStatCycleOK
NewStopStatCycleOK creates a StopStatCycleOK with default headers values
func (*StopStatCycleOK) Error ¶ added in v0.41.0
func (o *StopStatCycleOK) Error() string
func (*StopStatCycleOK) GetPayload ¶ added in v0.41.0
func (o *StopStatCycleOK) GetPayload() *socialclientmodels.StatCycleInfo
func (*StopStatCycleOK) ToJSONString ¶ added in v0.41.0
func (o *StopStatCycleOK) ToJSONString() string
type StopStatCycleParams ¶ added in v0.41.0
type StopStatCycleParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
StopStatCycleParams contains all the parameters to send to the API endpoint for the stop stat cycle operation typically these are written to a http.Request
func NewStopStatCycleParams ¶ added in v0.41.0
func NewStopStatCycleParams() *StopStatCycleParams
NewStopStatCycleParams creates a new StopStatCycleParams object with the default values initialized.
func NewStopStatCycleParamsWithContext ¶ added in v0.41.0
func NewStopStatCycleParamsWithContext(ctx context.Context) *StopStatCycleParams
NewStopStatCycleParamsWithContext creates a new StopStatCycleParams object with the default values initialized, and the ability to set a context for a request
func NewStopStatCycleParamsWithHTTPClient ¶ added in v0.41.0
func NewStopStatCycleParamsWithHTTPClient(client *http.Client) *StopStatCycleParams
NewStopStatCycleParamsWithHTTPClient creates a new StopStatCycleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopStatCycleParamsWithTimeout ¶ added in v0.41.0
func NewStopStatCycleParamsWithTimeout(timeout time.Duration) *StopStatCycleParams
NewStopStatCycleParamsWithTimeout creates a new StopStatCycleParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopStatCycleParams) SetAuthInfoWriter ¶ added in v0.41.0
func (o *StopStatCycleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the stop stat cycle params
func (*StopStatCycleParams) SetContext ¶ added in v0.41.0
func (o *StopStatCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the stop stat cycle params
func (*StopStatCycleParams) SetCycleID ¶ added in v0.41.0
func (o *StopStatCycleParams) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the stop stat cycle params
func (*StopStatCycleParams) SetFlightId ¶ added in v0.63.0
func (o *StopStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*StopStatCycleParams) SetHTTPClient ¶ added in v0.41.0
func (o *StopStatCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop stat cycle params
func (*StopStatCycleParams) SetHTTPClientTransport ¶ added in v0.41.0
func (o *StopStatCycleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the stop stat cycle params
func (*StopStatCycleParams) SetNamespace ¶ added in v0.41.0
func (o *StopStatCycleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the stop stat cycle params
func (*StopStatCycleParams) SetTimeout ¶ added in v0.41.0
func (o *StopStatCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop stat cycle params
func (*StopStatCycleParams) WithContext ¶ added in v0.41.0
func (o *StopStatCycleParams) WithContext(ctx context.Context) *StopStatCycleParams
WithContext adds the context to the stop stat cycle params
func (*StopStatCycleParams) WithCycleID ¶ added in v0.41.0
func (o *StopStatCycleParams) WithCycleID(cycleID string) *StopStatCycleParams
WithCycleID adds the cycleID to the stop stat cycle params
func (*StopStatCycleParams) WithHTTPClient ¶ added in v0.41.0
func (o *StopStatCycleParams) WithHTTPClient(client *http.Client) *StopStatCycleParams
WithHTTPClient adds the HTTPClient to the stop stat cycle params
func (*StopStatCycleParams) WithNamespace ¶ added in v0.41.0
func (o *StopStatCycleParams) WithNamespace(namespace string) *StopStatCycleParams
WithNamespace adds the namespace to the stop stat cycle params
func (*StopStatCycleParams) WithTimeout ¶ added in v0.41.0
func (o *StopStatCycleParams) WithTimeout(timeout time.Duration) *StopStatCycleParams
WithTimeout adds the timeout to the stop stat cycle params
func (*StopStatCycleParams) WriteToRequest ¶ added in v0.41.0
func (o *StopStatCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopStatCycleReader ¶ added in v0.41.0
type StopStatCycleReader struct {
// contains filtered or unexported fields
}
StopStatCycleReader is a Reader for the StopStatCycle structure.
func (*StopStatCycleReader) ReadResponse ¶ added in v0.41.0
func (o *StopStatCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopStatCycleUnauthorized ¶ added in v0.57.0
type StopStatCycleUnauthorized struct {
}StopStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewStopStatCycleUnauthorized ¶ added in v0.57.0
func NewStopStatCycleUnauthorized() *StopStatCycleUnauthorized
NewStopStatCycleUnauthorized creates a StopStatCycleUnauthorized with default headers values
func (*StopStatCycleUnauthorized) Error ¶ added in v0.57.0
func (o *StopStatCycleUnauthorized) Error() string
func (*StopStatCycleUnauthorized) GetPayload ¶ added in v0.57.0
func (o *StopStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*StopStatCycleUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *StopStatCycleUnauthorized) ToJSONString() string
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 UpdateStatCycleForbidden ¶ added in v0.57.0
type UpdateStatCycleForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
UpdateStatCycleForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewUpdateStatCycleForbidden ¶ added in v0.57.0
func NewUpdateStatCycleForbidden() *UpdateStatCycleForbidden
NewUpdateStatCycleForbidden creates a UpdateStatCycleForbidden with default headers values
func (*UpdateStatCycleForbidden) Error ¶ added in v0.57.0
func (o *UpdateStatCycleForbidden) Error() string
func (*UpdateStatCycleForbidden) GetPayload ¶ added in v0.57.0
func (o *UpdateStatCycleForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*UpdateStatCycleForbidden) ToJSONString ¶ added in v0.57.0
func (o *UpdateStatCycleForbidden) ToJSONString() string
type UpdateStatCycleInternalServerError ¶ added in v0.57.0
type UpdateStatCycleInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
UpdateStatCycleInternalServerError handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>
func NewUpdateStatCycleInternalServerError ¶ added in v0.57.0
func NewUpdateStatCycleInternalServerError() *UpdateStatCycleInternalServerError
NewUpdateStatCycleInternalServerError creates a UpdateStatCycleInternalServerError with default headers values
func (*UpdateStatCycleInternalServerError) Error ¶ added in v0.57.0
func (o *UpdateStatCycleInternalServerError) Error() string
func (*UpdateStatCycleInternalServerError) GetPayload ¶ added in v0.57.0
func (o *UpdateStatCycleInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*UpdateStatCycleInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *UpdateStatCycleInternalServerError) 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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetFlightId ¶ added in v0.63.0
func (o *UpdateStatCycleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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.
type UpdateStatCycleUnauthorized ¶ added in v0.57.0
type UpdateStatCycleUnauthorized struct {
}UpdateStatCycleUnauthorized handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20001</td><td>Unauthorized</td></tr></table>
func NewUpdateStatCycleUnauthorized ¶ added in v0.57.0
func NewUpdateStatCycleUnauthorized() *UpdateStatCycleUnauthorized
NewUpdateStatCycleUnauthorized creates a UpdateStatCycleUnauthorized with default headers values
func (*UpdateStatCycleUnauthorized) Error ¶ added in v0.57.0
func (o *UpdateStatCycleUnauthorized) Error() string
func (*UpdateStatCycleUnauthorized) GetPayload ¶ added in v0.57.0
func (o *UpdateStatCycleUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*UpdateStatCycleUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *UpdateStatCycleUnauthorized) ToJSONString() string
type UpdateStatCycleUnprocessableEntity ¶ added in v0.57.0
type UpdateStatCycleUnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
UpdateStatCycleUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewUpdateStatCycleUnprocessableEntity ¶ added in v0.57.0
func NewUpdateStatCycleUnprocessableEntity() *UpdateStatCycleUnprocessableEntity
NewUpdateStatCycleUnprocessableEntity creates a UpdateStatCycleUnprocessableEntity with default headers values
func (*UpdateStatCycleUnprocessableEntity) Error ¶ added in v0.57.0
func (o *UpdateStatCycleUnprocessableEntity) Error() string
func (*UpdateStatCycleUnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *UpdateStatCycleUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*UpdateStatCycleUnprocessableEntity) ToJSONString ¶ added in v0.57.0
func (o *UpdateStatCycleUnprocessableEntity) ToJSONString() string
Source Files ¶
- bulk_add_stats_parameters.go
- bulk_add_stats_responses.go
- bulk_get_stat_cycle_1_parameters.go
- bulk_get_stat_cycle_1_responses.go
- bulk_get_stat_cycle_parameters.go
- bulk_get_stat_cycle_responses.go
- create_stat_cycle_parameters.go
- create_stat_cycle_responses.go
- delete_stat_cycle_parameters.go
- delete_stat_cycle_responses.go
- export_stat_cycle_parameters.go
- export_stat_cycle_responses.go
- get_stat_cycle_1_parameters.go
- get_stat_cycle_1_responses.go
- get_stat_cycle_parameters.go
- get_stat_cycle_responses.go
- get_stat_cycles_1_parameters.go
- get_stat_cycles_1_responses.go
- get_stat_cycles_parameters.go
- get_stat_cycles_responses.go
- import_stat_cycle_parameters.go
- import_stat_cycle_responses.go
- stat_cycle_configuration_client.go
- stop_stat_cycle_parameters.go
- stop_stat_cycle_responses.go
- update_stat_cycle_parameters.go
- update_stat_cycle_responses.go