stat_cycle_configuration

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetStatCycles1ANNUALLYConstant = "ANNUALLY"
	GetStatCycles1DAILYConstant    = "DAILY"
	GetStatCycles1MONTHLYConstant  = "MONTHLY"
	GetStatCycles1SEASONALConstant = "SEASONAL"
	GetStatCycles1WEEKLYConstant   = "WEEKLY"
)

Get the enum in GetStatCycles1Params

View Source
const (
	GetStatCycles1ACTIVEConstant  = "ACTIVE"
	GetStatCycles1INITConstant    = "INIT"
	GetStatCycles1STOPPEDConstant = "STOPPED"
)

Get the enum in GetStatCycles1Params

View Source
const (
	GetStatCyclesANNUALLYConstant = "ANNUALLY"
	GetStatCyclesDAILYConstant    = "DAILY"
	GetStatCyclesMONTHLYConstant  = "MONTHLY"
	GetStatCyclesSEASONALConstant = "SEASONAL"
	GetStatCyclesWEEKLYConstant   = "WEEKLY"
)

Get the enum in GetStatCyclesParams

View Source
const (
	GetStatCyclesACTIVEConstant  = "ACTIVE"
	GetStatCyclesINITConstant    = "INIT"
	GetStatCyclesSTOPPEDConstant = "STOPPED"
)

Get the enum in GetStatCyclesParams

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkAddStatsNotFound

type BulkAddStatsNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

BulkAddStatsNotFound handles this case with default header values.

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

func NewBulkAddStatsNotFound

func NewBulkAddStatsNotFound() *BulkAddStatsNotFound

NewBulkAddStatsNotFound creates a BulkAddStatsNotFound with default headers values

func (*BulkAddStatsNotFound) Error

func (o *BulkAddStatsNotFound) Error() string

func (*BulkAddStatsNotFound) GetPayload

func (*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 (*BulkAddStatsOK) ToJSONString

func (o *BulkAddStatsOK) ToJSONString() string

type BulkAddStatsParams

type BulkAddStatsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.BulkCycleStatsAdd
	/*CycleID
	  cycle id

	*/
	CycleID string
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

BulkAddStatsParams contains all the parameters to send to the API endpoint for the bulk add stats operation typically these are written to a http.Request

func NewBulkAddStatsParams

func NewBulkAddStatsParams() *BulkAddStatsParams

NewBulkAddStatsParams creates a new BulkAddStatsParams object with the default values initialized.

func NewBulkAddStatsParamsWithContext

func NewBulkAddStatsParamsWithContext(ctx context.Context) *BulkAddStatsParams

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

func NewBulkAddStatsParamsWithHTTPClient

func NewBulkAddStatsParamsWithHTTPClient(client *http.Client) *BulkAddStatsParams

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

func NewBulkAddStatsParamsWithTimeout

func NewBulkAddStatsParamsWithTimeout(timeout time.Duration) *BulkAddStatsParams

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

func (*BulkAddStatsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the bulk add stats params

func (*BulkAddStatsParams) SetBody

SetBody adds the body to the bulk add stats params

func (*BulkAddStatsParams) SetContext

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

SetContext adds the context to the bulk add stats params

func (*BulkAddStatsParams) SetCycleID

func (o *BulkAddStatsParams) SetCycleID(cycleID string)

SetCycleID adds the cycleId to the bulk add stats params

func (*BulkAddStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk add stats params

func (*BulkAddStatsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk add stats params

func (*BulkAddStatsParams) SetNamespace

func (o *BulkAddStatsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk add stats params

func (*BulkAddStatsParams) SetTimeout

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

SetTimeout adds the timeout to the bulk add stats params

func (*BulkAddStatsParams) WithBody

WithBody adds the body to the bulk add stats params

func (*BulkAddStatsParams) WithContext

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 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 (*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
	// 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

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) 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

WithBody adds the body to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) WithContext added in v0.43.0

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

WithTimeout adds the timeout to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) WriteToRequest added in v0.43.0

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 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 (*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
	// 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

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) 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

WithBody adds the body to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WithContext added in v0.43.0

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

WithTimeout adds the timeout to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WriteToRequest added in v0.43.0

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 Client

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

Client for stat cycle configuration API

func (*Client) BulkAddStats deprecated

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, 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, 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

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

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) GetStatCycle deprecated

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

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, 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, 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) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StopStatCycle deprecated added in v0.41.0

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

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, error)
	GetStatCyclesShort(params *GetStatCyclesParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCyclesOK, error)
	CreateStatCycle(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, *CreateStatCycleBadRequest, error)
	CreateStatCycleShort(params *CreateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStatCycleCreated, error)
	BulkGetStatCycle(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, error)
	BulkGetStatCycleShort(params *BulkGetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycleOK, error)
	GetStatCycle(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, *GetStatCycleNotFound, error)
	GetStatCycleShort(params *GetStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycleOK, error)
	UpdateStatCycle(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, *UpdateStatCycleBadRequest, *UpdateStatCycleNotFound, *UpdateStatCycleConflict, error)
	UpdateStatCycleShort(params *UpdateStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStatCycleOK, error)
	DeleteStatCycle(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, *DeleteStatCycleNotFound, error)
	DeleteStatCycleShort(params *DeleteStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStatCycleNoContent, error)
	BulkAddStats(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, *BulkAddStatsNotFound, error)
	BulkAddStatsShort(params *BulkAddStatsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAddStatsOK, error)
	StopStatCycle(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, *StopStatCycleNotFound, *StopStatCycleConflict, error)
	StopStatCycleShort(params *StopStatCycleParams, authInfo runtime.ClientAuthInfoWriter) (*StopStatCycleOK, error)
	GetStatCycles1(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error)
	GetStatCycles1Short(params *GetStatCycles1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycles1OK, error)
	BulkGetStatCycle1(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, error)
	BulkGetStatCycle1Short(params *BulkGetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetStatCycle1OK, error)
	GetStatCycle1(params *GetStatCycle1Params, authInfo runtime.ClientAuthInfoWriter) (*GetStatCycle1OK, *GetStatCycle1NotFound, 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 (*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 (*CreateStatCycleCreated) ToJSONString

func (o *CreateStatCycleCreated) ToJSONString() string

type CreateStatCycleParams

type CreateStatCycleParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewCreateStatCycleParams

func NewCreateStatCycleParams() *CreateStatCycleParams

NewCreateStatCycleParams creates a new CreateStatCycleParams object with the default values initialized.

func NewCreateStatCycleParamsWithContext

func NewCreateStatCycleParamsWithContext(ctx context.Context) *CreateStatCycleParams

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

func NewCreateStatCycleParamsWithHTTPClient

func NewCreateStatCycleParamsWithHTTPClient(client *http.Client) *CreateStatCycleParams

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

func NewCreateStatCycleParamsWithTimeout

func NewCreateStatCycleParamsWithTimeout(timeout time.Duration) *CreateStatCycleParams

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

func (*CreateStatCycleParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create stat cycle params

func (*CreateStatCycleParams) SetBody

SetBody adds the body to the create stat cycle params

func (*CreateStatCycleParams) SetContext

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

SetContext adds the context to the create stat cycle params

func (*CreateStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create stat cycle params

func (*CreateStatCycleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create stat cycle params

func (*CreateStatCycleParams) SetNamespace

func (o *CreateStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create stat cycle params

func (*CreateStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the create stat cycle params

func (*CreateStatCycleParams) WithBody

WithBody adds the body to the create stat cycle params

func (*CreateStatCycleParams) WithContext

WithContext adds the context to the create stat cycle params

func (*CreateStatCycleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create stat cycle params

func (*CreateStatCycleParams) WithNamespace

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

WithNamespace adds the namespace to the create stat cycle params

func (*CreateStatCycleParams) WithTimeout

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

WithTimeout adds the timeout to the create stat cycle params

func (*CreateStatCycleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateStatCycleReader

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

CreateStatCycleReader is a Reader for the CreateStatCycle structure.

func (*CreateStatCycleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteStatCycleNoContent

type DeleteStatCycleNoContent struct {
}

DeleteStatCycleNoContent handles this case with default header values.

Successful operation

func NewDeleteStatCycleNoContent

func NewDeleteStatCycleNoContent() *DeleteStatCycleNoContent

NewDeleteStatCycleNoContent creates a DeleteStatCycleNoContent with default headers values

func (*DeleteStatCycleNoContent) Error

func (o *DeleteStatCycleNoContent) Error() string

type DeleteStatCycleNotFound

type DeleteStatCycleNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

DeleteStatCycleNotFound handles this case with default header values.

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

func NewDeleteStatCycleNotFound

func NewDeleteStatCycleNotFound() *DeleteStatCycleNotFound

NewDeleteStatCycleNotFound creates a DeleteStatCycleNotFound with default headers values

func (*DeleteStatCycleNotFound) Error

func (o *DeleteStatCycleNotFound) Error() string

func (*DeleteStatCycleNotFound) GetPayload

func (*DeleteStatCycleNotFound) ToJSONString

func (o *DeleteStatCycleNotFound) ToJSONString() string

type DeleteStatCycleParams

type DeleteStatCycleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CycleID
	  cycle id

	*/
	CycleID string
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewDeleteStatCycleParams

func NewDeleteStatCycleParams() *DeleteStatCycleParams

NewDeleteStatCycleParams creates a new DeleteStatCycleParams object with the default values initialized.

func NewDeleteStatCycleParamsWithContext

func NewDeleteStatCycleParamsWithContext(ctx context.Context) *DeleteStatCycleParams

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

func NewDeleteStatCycleParamsWithHTTPClient

func NewDeleteStatCycleParamsWithHTTPClient(client *http.Client) *DeleteStatCycleParams

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

func NewDeleteStatCycleParamsWithTimeout

func NewDeleteStatCycleParamsWithTimeout(timeout time.Duration) *DeleteStatCycleParams

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

func (*DeleteStatCycleParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete stat cycle params

func (*DeleteStatCycleParams) SetContext

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

SetContext adds the context to the delete stat cycle params

func (*DeleteStatCycleParams) SetCycleID

func (o *DeleteStatCycleParams) SetCycleID(cycleID string)

SetCycleID adds the cycleId to the delete stat cycle params

func (*DeleteStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete stat cycle params

func (*DeleteStatCycleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete stat cycle params

func (*DeleteStatCycleParams) SetNamespace

func (o *DeleteStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete stat cycle params

func (*DeleteStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the delete stat cycle params

func (*DeleteStatCycleParams) WithContext

WithContext adds the context to the delete stat cycle params

func (*DeleteStatCycleParams) WithCycleID

func (o *DeleteStatCycleParams) WithCycleID(cycleID string) *DeleteStatCycleParams

WithCycleID adds the cycleID to the delete stat cycle params

func (*DeleteStatCycleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete stat cycle params

func (*DeleteStatCycleParams) WithNamespace

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

WithNamespace adds the namespace to the delete stat cycle params

func (*DeleteStatCycleParams) WithTimeout

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

WithTimeout adds the timeout to the delete stat cycle params

func (*DeleteStatCycleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteStatCycleReader

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

DeleteStatCycleReader is a Reader for the DeleteStatCycle structure.

func (*DeleteStatCycleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStatCycle1NotFound

type GetStatCycle1NotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatCycle1NotFound handles this case with default header values.

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

func NewGetStatCycle1NotFound

func NewGetStatCycle1NotFound() *GetStatCycle1NotFound

NewGetStatCycle1NotFound creates a GetStatCycle1NotFound with default headers values

func (*GetStatCycle1NotFound) Error

func (o *GetStatCycle1NotFound) Error() string

func (*GetStatCycle1NotFound) GetPayload

func (*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 (*GetStatCycle1OK) ToJSONString

func (o *GetStatCycle1OK) ToJSONString() string

type GetStatCycle1Params

type GetStatCycle1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CycleID
	  cycle id

	*/
	CycleID string
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewGetStatCycle1Params

func NewGetStatCycle1Params() *GetStatCycle1Params

NewGetStatCycle1Params creates a new GetStatCycle1Params object with the default values initialized.

func NewGetStatCycle1ParamsWithContext

func NewGetStatCycle1ParamsWithContext(ctx context.Context) *GetStatCycle1Params

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

func NewGetStatCycle1ParamsWithHTTPClient

func NewGetStatCycle1ParamsWithHTTPClient(client *http.Client) *GetStatCycle1Params

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

func NewGetStatCycle1ParamsWithTimeout

func NewGetStatCycle1ParamsWithTimeout(timeout time.Duration) *GetStatCycle1Params

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

func (*GetStatCycle1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get stat cycle 1 params

func (*GetStatCycle1Params) SetContext

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

SetContext adds the context to the get stat cycle 1 params

func (*GetStatCycle1Params) SetCycleID

func (o *GetStatCycle1Params) SetCycleID(cycleID string)

SetCycleID adds the cycleId to the get stat cycle 1 params

func (*GetStatCycle1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stat cycle 1 params

func (*GetStatCycle1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get stat cycle 1 params

func (*GetStatCycle1Params) SetNamespace

func (o *GetStatCycle1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get stat cycle 1 params

func (*GetStatCycle1Params) SetTimeout

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

SetTimeout adds the timeout to the get stat cycle 1 params

func (*GetStatCycle1Params) WithContext

WithContext adds the context to the get stat cycle 1 params

func (*GetStatCycle1Params) WithCycleID

func (o *GetStatCycle1Params) WithCycleID(cycleID string) *GetStatCycle1Params

WithCycleID adds the cycleID to the get stat cycle 1 params

func (*GetStatCycle1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stat cycle 1 params

func (*GetStatCycle1Params) WithNamespace

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

WithNamespace adds the namespace to the get stat cycle 1 params

func (*GetStatCycle1Params) WithTimeout

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

WithTimeout adds the timeout to the get stat cycle 1 params

func (*GetStatCycle1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStatCycle1Reader

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

GetStatCycle1Reader is a Reader for the GetStatCycle1 structure.

func (*GetStatCycle1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStatCycleNotFound

type GetStatCycleNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

GetStatCycleNotFound handles this case with default header values.

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

func NewGetStatCycleNotFound

func NewGetStatCycleNotFound() *GetStatCycleNotFound

NewGetStatCycleNotFound creates a GetStatCycleNotFound with default headers values

func (*GetStatCycleNotFound) Error

func (o *GetStatCycleNotFound) Error() string

func (*GetStatCycleNotFound) GetPayload

func (*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 (*GetStatCycleOK) ToJSONString

func (o *GetStatCycleOK) ToJSONString() string

type GetStatCycleParams

type GetStatCycleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CycleID
	  cycle id

	*/
	CycleID string
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewGetStatCycleParams

func NewGetStatCycleParams() *GetStatCycleParams

NewGetStatCycleParams creates a new GetStatCycleParams object with the default values initialized.

func NewGetStatCycleParamsWithContext

func NewGetStatCycleParamsWithContext(ctx context.Context) *GetStatCycleParams

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

func NewGetStatCycleParamsWithHTTPClient

func NewGetStatCycleParamsWithHTTPClient(client *http.Client) *GetStatCycleParams

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

func NewGetStatCycleParamsWithTimeout

func NewGetStatCycleParamsWithTimeout(timeout time.Duration) *GetStatCycleParams

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

func (*GetStatCycleParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get stat cycle params

func (*GetStatCycleParams) SetContext

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

SetContext adds the context to the get stat cycle params

func (*GetStatCycleParams) SetCycleID

func (o *GetStatCycleParams) SetCycleID(cycleID string)

SetCycleID adds the cycleId to the get stat cycle params

func (*GetStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stat cycle params

func (*GetStatCycleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get stat cycle params

func (*GetStatCycleParams) SetNamespace

func (o *GetStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get stat cycle params

func (*GetStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the get stat cycle params

func (*GetStatCycleParams) WithContext

WithContext adds the context to the get stat cycle params

func (*GetStatCycleParams) WithCycleID

func (o *GetStatCycleParams) WithCycleID(cycleID string) *GetStatCycleParams

WithCycleID adds the cycleID to the get stat cycle params

func (*GetStatCycleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stat cycle params

func (*GetStatCycleParams) WithNamespace

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

WithNamespace adds the namespace to the get stat cycle params

func (*GetStatCycleParams) WithTimeout

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

WithTimeout adds the timeout to the get stat cycle params

func (*GetStatCycleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStatCycleReader

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

GetStatCycleReader is a Reader for the GetStatCycle structure.

func (*GetStatCycleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStatCycles1OK

type GetStatCycles1OK struct {
	Payload *socialclientmodels.StatCyclePagingSlicedResult
}

GetStatCycles1OK handles this case with default header values.

successful operation

func NewGetStatCycles1OK

func NewGetStatCycles1OK() *GetStatCycles1OK

NewGetStatCycles1OK creates a GetStatCycles1OK with default headers values

func (*GetStatCycles1OK) Error

func (o *GetStatCycles1OK) Error() string

func (*GetStatCycles1OK) GetPayload

func (*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
	// contains filtered or unexported fields
}

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

func NewGetStatCycles1Params

func NewGetStatCycles1Params() *GetStatCycles1Params

NewGetStatCycles1Params creates a new GetStatCycles1Params object with the default values initialized.

func NewGetStatCycles1ParamsWithContext

func NewGetStatCycles1ParamsWithContext(ctx context.Context) *GetStatCycles1Params

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

func NewGetStatCycles1ParamsWithHTTPClient

func NewGetStatCycles1ParamsWithHTTPClient(client *http.Client) *GetStatCycles1Params

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

func NewGetStatCycles1ParamsWithTimeout

func NewGetStatCycles1ParamsWithTimeout(timeout time.Duration) *GetStatCycles1Params

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

func (*GetStatCycles1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get stat cycles 1 params

func (*GetStatCycles1Params) SetContext

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

SetContext adds the context to the get stat cycles 1 params

func (*GetStatCycles1Params) SetCycleType

func (o *GetStatCycles1Params) SetCycleType(cycleType *string)

SetCycleType adds the cycleType to the get stat cycles 1 params

func (*GetStatCycles1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stat cycles 1 params

func (*GetStatCycles1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get stat cycles 1 params

func (*GetStatCycles1Params) SetLimit

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

SetLimit adds the limit to the get stat cycles 1 params

func (*GetStatCycles1Params) SetName

func (o *GetStatCycles1Params) SetName(name *string)

SetName adds the name to the get stat cycles 1 params

func (*GetStatCycles1Params) SetNamespace

func (o *GetStatCycles1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get stat cycles 1 params

func (*GetStatCycles1Params) SetOffset

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

SetOffset adds the offset to the get stat cycles 1 params

func (*GetStatCycles1Params) 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

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 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 (*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
	// contains filtered or unexported fields
}

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

func NewGetStatCyclesParams

func NewGetStatCyclesParams() *GetStatCyclesParams

NewGetStatCyclesParams creates a new GetStatCyclesParams object with the default values initialized.

func NewGetStatCyclesParamsWithContext

func NewGetStatCyclesParamsWithContext(ctx context.Context) *GetStatCyclesParams

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

func NewGetStatCyclesParamsWithHTTPClient

func NewGetStatCyclesParamsWithHTTPClient(client *http.Client) *GetStatCyclesParams

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

func NewGetStatCyclesParamsWithTimeout

func NewGetStatCyclesParamsWithTimeout(timeout time.Duration) *GetStatCyclesParams

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

func (*GetStatCyclesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get stat cycles params

func (*GetStatCyclesParams) SetContext

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

SetContext adds the context to the get stat cycles params

func (*GetStatCyclesParams) SetCycleType

func (o *GetStatCyclesParams) SetCycleType(cycleType *string)

SetCycleType adds the cycleType to the get stat cycles params

func (*GetStatCyclesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stat cycles params

func (*GetStatCyclesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get stat cycles params

func (*GetStatCyclesParams) SetLimit

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

SetLimit adds the limit to the get stat cycles params

func (*GetStatCyclesParams) SetName

func (o *GetStatCyclesParams) SetName(name *string)

SetName adds the name to the get stat cycles params

func (*GetStatCyclesParams) SetNamespace

func (o *GetStatCyclesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get stat cycles params

func (*GetStatCyclesParams) SetOffset

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

SetOffset adds the offset to the get stat cycles params

func (*GetStatCyclesParams) 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

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 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 (*StopStatCycleConflict) ToJSONString added in v0.41.0

func (o *StopStatCycleConflict) 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 (*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 (*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
	// 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) 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

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 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 (*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 (*UpdateStatCycleConflict) ToJSONString

func (o *UpdateStatCycleConflict) ToJSONString() string

type UpdateStatCycleNotFound

type UpdateStatCycleNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

UpdateStatCycleNotFound handles this case with default header values.

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

func NewUpdateStatCycleNotFound

func NewUpdateStatCycleNotFound() *UpdateStatCycleNotFound

NewUpdateStatCycleNotFound creates a UpdateStatCycleNotFound with default headers values

func (*UpdateStatCycleNotFound) Error

func (o *UpdateStatCycleNotFound) Error() string

func (*UpdateStatCycleNotFound) GetPayload

func (*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 (*UpdateStatCycleOK) ToJSONString

func (o *UpdateStatCycleOK) ToJSONString() string

type UpdateStatCycleParams

type UpdateStatCycleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.StatCycleUpdate
	/*CycleID
	  cycle id

	*/
	CycleID string
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewUpdateStatCycleParams

func NewUpdateStatCycleParams() *UpdateStatCycleParams

NewUpdateStatCycleParams creates a new UpdateStatCycleParams object with the default values initialized.

func NewUpdateStatCycleParamsWithContext

func NewUpdateStatCycleParamsWithContext(ctx context.Context) *UpdateStatCycleParams

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

func NewUpdateStatCycleParamsWithHTTPClient

func NewUpdateStatCycleParamsWithHTTPClient(client *http.Client) *UpdateStatCycleParams

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

func NewUpdateStatCycleParamsWithTimeout

func NewUpdateStatCycleParamsWithTimeout(timeout time.Duration) *UpdateStatCycleParams

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

func (*UpdateStatCycleParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update stat cycle params

func (*UpdateStatCycleParams) SetBody

SetBody adds the body to the update stat cycle params

func (*UpdateStatCycleParams) SetContext

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

SetContext adds the context to the update stat cycle params

func (*UpdateStatCycleParams) SetCycleID

func (o *UpdateStatCycleParams) SetCycleID(cycleID string)

SetCycleID adds the cycleId to the update stat cycle params

func (*UpdateStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update stat cycle params

func (*UpdateStatCycleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update stat cycle params

func (*UpdateStatCycleParams) SetNamespace

func (o *UpdateStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update stat cycle params

func (*UpdateStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the update stat cycle params

func (*UpdateStatCycleParams) WithBody

WithBody adds the body to the update stat cycle params

func (*UpdateStatCycleParams) WithContext

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.

Jump to

Keyboard shortcuts

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