stat_cycle_configuration

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 16 Imported by: 1

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 BulkAddStatsBadRequest

type BulkAddStatsBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

BulkAddStatsBadRequest handles this case with default header values.

Bad request

func NewBulkAddStatsBadRequest

func NewBulkAddStatsBadRequest() *BulkAddStatsBadRequest

NewBulkAddStatsBadRequest creates a BulkAddStatsBadRequest with default headers values

func (*BulkAddStatsBadRequest) Error

func (o *BulkAddStatsBadRequest) Error() string

func (*BulkAddStatsBadRequest) GetPayload

func (*BulkAddStatsBadRequest) ToJSONString

func (o *BulkAddStatsBadRequest) ToJSONString() string

type BulkAddStatsForbidden

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

func NewBulkAddStatsForbidden() *BulkAddStatsForbidden

NewBulkAddStatsForbidden creates a BulkAddStatsForbidden with default headers values

func (*BulkAddStatsForbidden) Error

func (o *BulkAddStatsForbidden) Error() string

func (*BulkAddStatsForbidden) GetPayload

func (*BulkAddStatsForbidden) ToJSONString

func (o *BulkAddStatsForbidden) ToJSONString() string

type BulkAddStatsInternalServerError

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

func NewBulkAddStatsInternalServerError() *BulkAddStatsInternalServerError

NewBulkAddStatsInternalServerError creates a BulkAddStatsInternalServerError with default headers values

func (*BulkAddStatsInternalServerError) Error

func (*BulkAddStatsInternalServerError) GetPayload

func (*BulkAddStatsInternalServerError) ToJSONString

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

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

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

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

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 BulkAddStatsUnauthorized

type BulkAddStatsUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewBulkAddStatsUnauthorized() *BulkAddStatsUnauthorized

NewBulkAddStatsUnauthorized creates a BulkAddStatsUnauthorized with default headers values

func (*BulkAddStatsUnauthorized) Error

func (o *BulkAddStatsUnauthorized) Error() string

func (*BulkAddStatsUnauthorized) GetPayload

func (*BulkAddStatsUnauthorized) ToJSONString

func (o *BulkAddStatsUnauthorized) ToJSONString() string

type BulkAddStatsUnprocessableEntity

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

func NewBulkAddStatsUnprocessableEntity() *BulkAddStatsUnprocessableEntity

NewBulkAddStatsUnprocessableEntity creates a BulkAddStatsUnprocessableEntity with default headers values

func (*BulkAddStatsUnprocessableEntity) Error

func (*BulkAddStatsUnprocessableEntity) GetPayload

func (*BulkAddStatsUnprocessableEntity) ToJSONString

func (o *BulkAddStatsUnprocessableEntity) ToJSONString() string

type BulkGetStatCycle1BadRequest

type BulkGetStatCycle1BadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

BulkGetStatCycle1BadRequest handles this case with default header values.

Bad request

func NewBulkGetStatCycle1BadRequest

func NewBulkGetStatCycle1BadRequest() *BulkGetStatCycle1BadRequest

NewBulkGetStatCycle1BadRequest creates a BulkGetStatCycle1BadRequest with default headers values

func (*BulkGetStatCycle1BadRequest) Error

func (*BulkGetStatCycle1BadRequest) GetPayload

func (*BulkGetStatCycle1BadRequest) ToJSONString

func (o *BulkGetStatCycle1BadRequest) ToJSONString() string

type BulkGetStatCycle1Forbidden

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

func NewBulkGetStatCycle1Forbidden() *BulkGetStatCycle1Forbidden

NewBulkGetStatCycle1Forbidden creates a BulkGetStatCycle1Forbidden with default headers values

func (*BulkGetStatCycle1Forbidden) Error

func (*BulkGetStatCycle1Forbidden) GetPayload

func (*BulkGetStatCycle1Forbidden) ToJSONString

func (o *BulkGetStatCycle1Forbidden) ToJSONString() string

type BulkGetStatCycle1InternalServerError

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

func NewBulkGetStatCycle1InternalServerError() *BulkGetStatCycle1InternalServerError

NewBulkGetStatCycle1InternalServerError creates a BulkGetStatCycle1InternalServerError with default headers values

func (*BulkGetStatCycle1InternalServerError) Error

func (*BulkGetStatCycle1InternalServerError) GetPayload

func (*BulkGetStatCycle1InternalServerError) ToJSONString

func (o *BulkGetStatCycle1InternalServerError) ToJSONString() string

type BulkGetStatCycle1OK

type BulkGetStatCycle1OK struct {
	Payload *socialclientmodels.BulkStatCycleResult
}

BulkGetStatCycle1OK handles this case with default header values.

successful operation

func NewBulkGetStatCycle1OK

func NewBulkGetStatCycle1OK() *BulkGetStatCycle1OK

NewBulkGetStatCycle1OK creates a BulkGetStatCycle1OK with default headers values

func (*BulkGetStatCycle1OK) Error

func (o *BulkGetStatCycle1OK) Error() string

func (*BulkGetStatCycle1OK) GetPayload

func (*BulkGetStatCycle1OK) ToJSONString

func (o *BulkGetStatCycle1OK) ToJSONString() string

type BulkGetStatCycle1Params

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

func NewBulkGetStatCycle1Params() *BulkGetStatCycle1Params

NewBulkGetStatCycle1Params creates a new BulkGetStatCycle1Params object with the default values initialized.

func NewBulkGetStatCycle1ParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) SetBody

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

func (*BulkGetStatCycle1Params) SetContext

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

SetContext adds the context to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) SetFlightId

func (o *BulkGetStatCycle1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*BulkGetStatCycle1Params) SetHTTPClient

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

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

func (*BulkGetStatCycle1Params) SetHTTPClientTransport

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

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

func (*BulkGetStatCycle1Params) SetNamespace

func (o *BulkGetStatCycle1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) SetTimeout

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

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

func (*BulkGetStatCycle1Params) WithBody

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

func (*BulkGetStatCycle1Params) WithContext

WithContext adds the context to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) WithNamespace

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

WithNamespace adds the namespace to the bulk get stat cycle 1 params

func (*BulkGetStatCycle1Params) WithTimeout

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

func (*BulkGetStatCycle1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkGetStatCycle1Reader

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

BulkGetStatCycle1Reader is a Reader for the BulkGetStatCycle1 structure.

func (*BulkGetStatCycle1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkGetStatCycle1Unauthorized

type BulkGetStatCycle1Unauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewBulkGetStatCycle1Unauthorized() *BulkGetStatCycle1Unauthorized

NewBulkGetStatCycle1Unauthorized creates a BulkGetStatCycle1Unauthorized with default headers values

func (*BulkGetStatCycle1Unauthorized) Error

func (*BulkGetStatCycle1Unauthorized) GetPayload

func (*BulkGetStatCycle1Unauthorized) ToJSONString

func (o *BulkGetStatCycle1Unauthorized) ToJSONString() string

type BulkGetStatCycle1UnprocessableEntity

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

func NewBulkGetStatCycle1UnprocessableEntity() *BulkGetStatCycle1UnprocessableEntity

NewBulkGetStatCycle1UnprocessableEntity creates a BulkGetStatCycle1UnprocessableEntity with default headers values

func (*BulkGetStatCycle1UnprocessableEntity) Error

func (*BulkGetStatCycle1UnprocessableEntity) GetPayload

func (*BulkGetStatCycle1UnprocessableEntity) ToJSONString

func (o *BulkGetStatCycle1UnprocessableEntity) ToJSONString() string

type BulkGetStatCycleBadRequest

type BulkGetStatCycleBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

BulkGetStatCycleBadRequest handles this case with default header values.

Bad request

func NewBulkGetStatCycleBadRequest

func NewBulkGetStatCycleBadRequest() *BulkGetStatCycleBadRequest

NewBulkGetStatCycleBadRequest creates a BulkGetStatCycleBadRequest with default headers values

func (*BulkGetStatCycleBadRequest) Error

func (*BulkGetStatCycleBadRequest) GetPayload

func (*BulkGetStatCycleBadRequest) ToJSONString

func (o *BulkGetStatCycleBadRequest) ToJSONString() string

type BulkGetStatCycleForbidden

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

func NewBulkGetStatCycleForbidden() *BulkGetStatCycleForbidden

NewBulkGetStatCycleForbidden creates a BulkGetStatCycleForbidden with default headers values

func (*BulkGetStatCycleForbidden) Error

func (o *BulkGetStatCycleForbidden) Error() string

func (*BulkGetStatCycleForbidden) GetPayload

func (*BulkGetStatCycleForbidden) ToJSONString

func (o *BulkGetStatCycleForbidden) ToJSONString() string

type BulkGetStatCycleInternalServerError

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

func NewBulkGetStatCycleInternalServerError() *BulkGetStatCycleInternalServerError

NewBulkGetStatCycleInternalServerError creates a BulkGetStatCycleInternalServerError with default headers values

func (*BulkGetStatCycleInternalServerError) Error

func (*BulkGetStatCycleInternalServerError) GetPayload

func (*BulkGetStatCycleInternalServerError) ToJSONString

func (o *BulkGetStatCycleInternalServerError) ToJSONString() string

type BulkGetStatCycleOK

type BulkGetStatCycleOK struct {
	Payload *socialclientmodels.BulkStatCycleResult
}

BulkGetStatCycleOK handles this case with default header values.

successful operation

func NewBulkGetStatCycleOK

func NewBulkGetStatCycleOK() *BulkGetStatCycleOK

NewBulkGetStatCycleOK creates a BulkGetStatCycleOK with default headers values

func (*BulkGetStatCycleOK) Error

func (o *BulkGetStatCycleOK) Error() string

func (*BulkGetStatCycleOK) GetPayload

func (*BulkGetStatCycleOK) ToJSONString

func (o *BulkGetStatCycleOK) ToJSONString() string

type BulkGetStatCycleParams

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

func NewBulkGetStatCycleParams() *BulkGetStatCycleParams

NewBulkGetStatCycleParams creates a new BulkGetStatCycleParams object with the default values initialized.

func NewBulkGetStatCycleParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the bulk get stat cycle params

func (*BulkGetStatCycleParams) SetBody

SetBody adds the body to the bulk get stat cycle params

func (*BulkGetStatCycleParams) SetContext

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

SetContext adds the context to the bulk get stat cycle params

func (*BulkGetStatCycleParams) SetFlightId

func (o *BulkGetStatCycleParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*BulkGetStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk get stat cycle params

func (*BulkGetStatCycleParams) SetHTTPClientTransport

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

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

func (*BulkGetStatCycleParams) SetNamespace

func (o *BulkGetStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk get stat cycle params

func (*BulkGetStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WithBody

WithBody adds the body to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WithContext

WithContext adds the context to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WithNamespace

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

WithNamespace adds the namespace to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WithTimeout

WithTimeout adds the timeout to the bulk get stat cycle params

func (*BulkGetStatCycleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkGetStatCycleReader

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

BulkGetStatCycleReader is a Reader for the BulkGetStatCycle structure.

func (*BulkGetStatCycleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkGetStatCycleUnauthorized

type BulkGetStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewBulkGetStatCycleUnauthorized() *BulkGetStatCycleUnauthorized

NewBulkGetStatCycleUnauthorized creates a BulkGetStatCycleUnauthorized with default headers values

func (*BulkGetStatCycleUnauthorized) Error

func (*BulkGetStatCycleUnauthorized) GetPayload

func (*BulkGetStatCycleUnauthorized) ToJSONString

func (o *BulkGetStatCycleUnauthorized) ToJSONString() string

type BulkGetStatCycleUnprocessableEntity

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

func NewBulkGetStatCycleUnprocessableEntity() *BulkGetStatCycleUnprocessableEntity

NewBulkGetStatCycleUnprocessableEntity creates a BulkGetStatCycleUnprocessableEntity with default headers values

func (*BulkGetStatCycleUnprocessableEntity) Error

func (*BulkGetStatCycleUnprocessableEntity) GetPayload

func (*BulkGetStatCycleUnprocessableEntity) ToJSONString

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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, *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 (*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 CreateStatCycleForbidden

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

func NewCreateStatCycleForbidden() *CreateStatCycleForbidden

NewCreateStatCycleForbidden creates a CreateStatCycleForbidden with default headers values

func (*CreateStatCycleForbidden) Error

func (o *CreateStatCycleForbidden) Error() string

func (*CreateStatCycleForbidden) GetPayload

func (*CreateStatCycleForbidden) ToJSONString

func (o *CreateStatCycleForbidden) ToJSONString() string

type CreateStatCycleInternalServerError

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

func NewCreateStatCycleInternalServerError() *CreateStatCycleInternalServerError

NewCreateStatCycleInternalServerError creates a CreateStatCycleInternalServerError with default headers values

func (*CreateStatCycleInternalServerError) Error

func (*CreateStatCycleInternalServerError) GetPayload

func (*CreateStatCycleInternalServerError) ToJSONString

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

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

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

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 CreateStatCycleUnauthorized

type CreateStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewCreateStatCycleUnauthorized() *CreateStatCycleUnauthorized

NewCreateStatCycleUnauthorized creates a CreateStatCycleUnauthorized with default headers values

func (*CreateStatCycleUnauthorized) Error

func (*CreateStatCycleUnauthorized) GetPayload

func (*CreateStatCycleUnauthorized) ToJSONString

func (o *CreateStatCycleUnauthorized) ToJSONString() string

type CreateStatCycleUnprocessableEntity

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

func NewCreateStatCycleUnprocessableEntity() *CreateStatCycleUnprocessableEntity

NewCreateStatCycleUnprocessableEntity creates a CreateStatCycleUnprocessableEntity with default headers values

func (*CreateStatCycleUnprocessableEntity) Error

func (*CreateStatCycleUnprocessableEntity) GetPayload

func (*CreateStatCycleUnprocessableEntity) ToJSONString

func (o *CreateStatCycleUnprocessableEntity) ToJSONString() string

type DeleteStatCycleForbidden

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

func NewDeleteStatCycleForbidden() *DeleteStatCycleForbidden

NewDeleteStatCycleForbidden creates a DeleteStatCycleForbidden with default headers values

func (*DeleteStatCycleForbidden) Error

func (o *DeleteStatCycleForbidden) Error() string

func (*DeleteStatCycleForbidden) GetPayload

func (*DeleteStatCycleForbidden) ToJSONString

func (o *DeleteStatCycleForbidden) ToJSONString() string

type DeleteStatCycleInternalServerError

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

func NewDeleteStatCycleInternalServerError() *DeleteStatCycleInternalServerError

NewDeleteStatCycleInternalServerError creates a DeleteStatCycleInternalServerError with default headers values

func (*DeleteStatCycleInternalServerError) Error

func (*DeleteStatCycleInternalServerError) GetPayload

func (*DeleteStatCycleInternalServerError) ToJSONString

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

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

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

type DeleteStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewDeleteStatCycleUnauthorized() *DeleteStatCycleUnauthorized

NewDeleteStatCycleUnauthorized creates a DeleteStatCycleUnauthorized with default headers values

func (*DeleteStatCycleUnauthorized) Error

func (*DeleteStatCycleUnauthorized) GetPayload

func (*DeleteStatCycleUnauthorized) ToJSONString

func (o *DeleteStatCycleUnauthorized) ToJSONString() string

type ExportStatCycleForbidden

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

func NewExportStatCycleForbidden() *ExportStatCycleForbidden

NewExportStatCycleForbidden creates a ExportStatCycleForbidden with default headers values

func (*ExportStatCycleForbidden) Error

func (o *ExportStatCycleForbidden) Error() string

func (*ExportStatCycleForbidden) GetPayload

func (*ExportStatCycleForbidden) ToJSONString

func (o *ExportStatCycleForbidden) ToJSONString() string

type ExportStatCycleInternalServerError

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

func NewExportStatCycleInternalServerError() *ExportStatCycleInternalServerError

NewExportStatCycleInternalServerError creates a ExportStatCycleInternalServerError with default headers values

func (*ExportStatCycleInternalServerError) Error

func (*ExportStatCycleInternalServerError) GetPayload

func (*ExportStatCycleInternalServerError) ToJSONString

func (o *ExportStatCycleInternalServerError) ToJSONString() string

type ExportStatCycleOK

type ExportStatCycleOK struct {
	Payload io.Writer
}

ExportStatCycleOK handles this case with default header values.

successful export of stat cycle configs

func NewExportStatCycleOK

func NewExportStatCycleOK(writer io.Writer) *ExportStatCycleOK

NewExportStatCycleOK creates a ExportStatCycleOK with default headers values

func (*ExportStatCycleOK) Error

func (o *ExportStatCycleOK) Error() string

func (*ExportStatCycleOK) GetPayload

func (o *ExportStatCycleOK) GetPayload() io.Writer

func (*ExportStatCycleOK) ToJSONString

func (o *ExportStatCycleOK) ToJSONString() string

type ExportStatCycleParams

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

func NewExportStatCycleParams() *ExportStatCycleParams

NewExportStatCycleParams creates a new ExportStatCycleParams object with the default values initialized.

func NewExportStatCycleParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the export stat cycle params

func (*ExportStatCycleParams) SetContext

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

SetContext adds the context to the export stat cycle params

func (*ExportStatCycleParams) SetFlightId

func (o *ExportStatCycleParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ExportStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export stat cycle params

func (*ExportStatCycleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the export stat cycle params

func (*ExportStatCycleParams) SetNamespace

func (o *ExportStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export stat cycle params

func (*ExportStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the export stat cycle params

func (*ExportStatCycleParams) WithContext

WithContext adds the context to the export stat cycle params

func (*ExportStatCycleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export stat cycle params

func (*ExportStatCycleParams) WithNamespace

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

WithNamespace adds the namespace to the export stat cycle params

func (*ExportStatCycleParams) WithTimeout

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

WithTimeout adds the timeout to the export stat cycle params

func (*ExportStatCycleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExportStatCycleReader

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

ExportStatCycleReader is a Reader for the ExportStatCycle structure.

func (*ExportStatCycleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportStatCycleUnauthorized

type ExportStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewExportStatCycleUnauthorized() *ExportStatCycleUnauthorized

NewExportStatCycleUnauthorized creates a ExportStatCycleUnauthorized with default headers values

func (*ExportStatCycleUnauthorized) Error

func (*ExportStatCycleUnauthorized) GetPayload

func (*ExportStatCycleUnauthorized) ToJSONString

func (o *ExportStatCycleUnauthorized) ToJSONString() string

type GetStatCycle1Forbidden

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

func NewGetStatCycle1Forbidden() *GetStatCycle1Forbidden

NewGetStatCycle1Forbidden creates a GetStatCycle1Forbidden with default headers values

func (*GetStatCycle1Forbidden) Error

func (o *GetStatCycle1Forbidden) Error() string

func (*GetStatCycle1Forbidden) GetPayload

func (*GetStatCycle1Forbidden) ToJSONString

func (o *GetStatCycle1Forbidden) ToJSONString() string

type GetStatCycle1InternalServerError

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

func NewGetStatCycle1InternalServerError() *GetStatCycle1InternalServerError

NewGetStatCycle1InternalServerError creates a GetStatCycle1InternalServerError with default headers values

func (*GetStatCycle1InternalServerError) Error

func (*GetStatCycle1InternalServerError) GetPayload

func (*GetStatCycle1InternalServerError) ToJSONString

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

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

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

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

type GetStatCycle1Unauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewGetStatCycle1Unauthorized() *GetStatCycle1Unauthorized

NewGetStatCycle1Unauthorized creates a GetStatCycle1Unauthorized with default headers values

func (*GetStatCycle1Unauthorized) Error

func (o *GetStatCycle1Unauthorized) Error() string

func (*GetStatCycle1Unauthorized) GetPayload

func (*GetStatCycle1Unauthorized) ToJSONString

func (o *GetStatCycle1Unauthorized) ToJSONString() string

type GetStatCycleForbidden

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

func NewGetStatCycleForbidden() *GetStatCycleForbidden

NewGetStatCycleForbidden creates a GetStatCycleForbidden with default headers values

func (*GetStatCycleForbidden) Error

func (o *GetStatCycleForbidden) Error() string

func (*GetStatCycleForbidden) GetPayload

func (*GetStatCycleForbidden) ToJSONString

func (o *GetStatCycleForbidden) ToJSONString() string

type GetStatCycleInternalServerError

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

func NewGetStatCycleInternalServerError() *GetStatCycleInternalServerError

NewGetStatCycleInternalServerError creates a GetStatCycleInternalServerError with default headers values

func (*GetStatCycleInternalServerError) Error

func (*GetStatCycleInternalServerError) GetPayload

func (*GetStatCycleInternalServerError) ToJSONString

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

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

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

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

type GetStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewGetStatCycleUnauthorized() *GetStatCycleUnauthorized

NewGetStatCycleUnauthorized creates a GetStatCycleUnauthorized with default headers values

func (*GetStatCycleUnauthorized) Error

func (o *GetStatCycleUnauthorized) Error() string

func (*GetStatCycleUnauthorized) GetPayload

func (*GetStatCycleUnauthorized) ToJSONString

func (o *GetStatCycleUnauthorized) ToJSONString() string

type GetStatCycles1Forbidden

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

func NewGetStatCycles1Forbidden() *GetStatCycles1Forbidden

NewGetStatCycles1Forbidden creates a GetStatCycles1Forbidden with default headers values

func (*GetStatCycles1Forbidden) Error

func (o *GetStatCycles1Forbidden) Error() string

func (*GetStatCycles1Forbidden) GetPayload

func (*GetStatCycles1Forbidden) ToJSONString

func (o *GetStatCycles1Forbidden) ToJSONString() string

type GetStatCycles1InternalServerError

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

func NewGetStatCycles1InternalServerError() *GetStatCycles1InternalServerError

NewGetStatCycles1InternalServerError creates a GetStatCycles1InternalServerError with default headers values

func (*GetStatCycles1InternalServerError) Error

func (*GetStatCycles1InternalServerError) GetPayload

func (*GetStatCycles1InternalServerError) ToJSONString

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

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

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

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

type GetStatCycles1Unauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewGetStatCycles1Unauthorized() *GetStatCycles1Unauthorized

NewGetStatCycles1Unauthorized creates a GetStatCycles1Unauthorized with default headers values

func (*GetStatCycles1Unauthorized) Error

func (*GetStatCycles1Unauthorized) GetPayload

func (*GetStatCycles1Unauthorized) ToJSONString

func (o *GetStatCycles1Unauthorized) ToJSONString() string

type GetStatCyclesForbidden

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

func NewGetStatCyclesForbidden() *GetStatCyclesForbidden

NewGetStatCyclesForbidden creates a GetStatCyclesForbidden with default headers values

func (*GetStatCyclesForbidden) Error

func (o *GetStatCyclesForbidden) Error() string

func (*GetStatCyclesForbidden) GetPayload

func (*GetStatCyclesForbidden) ToJSONString

func (o *GetStatCyclesForbidden) ToJSONString() string

type GetStatCyclesInternalServerError

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

func NewGetStatCyclesInternalServerError() *GetStatCyclesInternalServerError

NewGetStatCyclesInternalServerError creates a GetStatCyclesInternalServerError with default headers values

func (*GetStatCyclesInternalServerError) Error

func (*GetStatCyclesInternalServerError) GetPayload

func (*GetStatCyclesInternalServerError) ToJSONString

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

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

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

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

type GetStatCyclesUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewGetStatCyclesUnauthorized() *GetStatCyclesUnauthorized

NewGetStatCyclesUnauthorized creates a GetStatCyclesUnauthorized with default headers values

func (*GetStatCyclesUnauthorized) Error

func (o *GetStatCyclesUnauthorized) Error() string

func (*GetStatCyclesUnauthorized) GetPayload

func (*GetStatCyclesUnauthorized) ToJSONString

func (o *GetStatCyclesUnauthorized) ToJSONString() string

type ImportStatCycleBadRequest

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

func NewImportStatCycleBadRequest() *ImportStatCycleBadRequest

NewImportStatCycleBadRequest creates a ImportStatCycleBadRequest with default headers values

func (*ImportStatCycleBadRequest) Error

func (o *ImportStatCycleBadRequest) Error() string

func (*ImportStatCycleBadRequest) GetPayload

func (*ImportStatCycleBadRequest) ToJSONString

func (o *ImportStatCycleBadRequest) ToJSONString() string

type ImportStatCycleCreated

type ImportStatCycleCreated struct {
	Payload *socialclientmodels.StatImportInfo
}

ImportStatCycleCreated handles this case with default header values.

Import stat cycles successfully

func NewImportStatCycleCreated

func NewImportStatCycleCreated() *ImportStatCycleCreated

NewImportStatCycleCreated creates a ImportStatCycleCreated with default headers values

func (*ImportStatCycleCreated) Error

func (o *ImportStatCycleCreated) Error() string

func (*ImportStatCycleCreated) GetPayload

func (*ImportStatCycleCreated) ToJSONString

func (o *ImportStatCycleCreated) ToJSONString() string

type ImportStatCycleForbidden

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

func NewImportStatCycleForbidden() *ImportStatCycleForbidden

NewImportStatCycleForbidden creates a ImportStatCycleForbidden with default headers values

func (*ImportStatCycleForbidden) Error

func (o *ImportStatCycleForbidden) Error() string

func (*ImportStatCycleForbidden) GetPayload

func (*ImportStatCycleForbidden) ToJSONString

func (o *ImportStatCycleForbidden) ToJSONString() string

type ImportStatCycleInternalServerError

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

func NewImportStatCycleInternalServerError() *ImportStatCycleInternalServerError

NewImportStatCycleInternalServerError creates a ImportStatCycleInternalServerError with default headers values

func (*ImportStatCycleInternalServerError) Error

func (*ImportStatCycleInternalServerError) GetPayload

func (*ImportStatCycleInternalServerError) ToJSONString

func (o *ImportStatCycleInternalServerError) ToJSONString() string

type ImportStatCycleParams

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

func NewImportStatCycleParams() *ImportStatCycleParams

NewImportStatCycleParams creates a new ImportStatCycleParams object with the default values initialized.

func NewImportStatCycleParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the import stat cycle params

func (*ImportStatCycleParams) SetContext

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

SetContext adds the context to the import stat cycle params

func (*ImportStatCycleParams) SetFile

SetFile adds the file to the import stat cycle params

func (*ImportStatCycleParams) SetFlightId

func (o *ImportStatCycleParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ImportStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import stat cycle params

func (*ImportStatCycleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the import stat cycle params

func (*ImportStatCycleParams) SetNamespace

func (o *ImportStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import stat cycle params

func (*ImportStatCycleParams) SetReplaceExisting

func (o *ImportStatCycleParams) SetReplaceExisting(replaceExisting *bool)

SetReplaceExisting adds the replaceExisting to the import stat cycle params

func (*ImportStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the import stat cycle params

func (*ImportStatCycleParams) WithContext

WithContext adds the context to the import stat cycle params

func (*ImportStatCycleParams) WithFile

WithFile adds the file to the import stat cycle params

func (*ImportStatCycleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import stat cycle params

func (*ImportStatCycleParams) WithNamespace

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

WithNamespace adds the namespace to the import stat cycle params

func (*ImportStatCycleParams) WithReplaceExisting

func (o *ImportStatCycleParams) WithReplaceExisting(replaceExisting *bool) *ImportStatCycleParams

WithReplaceExisting adds the replaceExisting to the import stat cycle params

func (*ImportStatCycleParams) WithTimeout

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

WithTimeout adds the timeout to the import stat cycle params

func (*ImportStatCycleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImportStatCycleReader

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

ImportStatCycleReader is a Reader for the ImportStatCycle structure.

func (*ImportStatCycleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportStatCycleUnauthorized

type ImportStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewImportStatCycleUnauthorized() *ImportStatCycleUnauthorized

NewImportStatCycleUnauthorized creates a ImportStatCycleUnauthorized with default headers values

func (*ImportStatCycleUnauthorized) Error

func (*ImportStatCycleUnauthorized) GetPayload

func (*ImportStatCycleUnauthorized) ToJSONString

func (o *ImportStatCycleUnauthorized) ToJSONString() string

type StopStatCycleConflict

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

func NewStopStatCycleConflict() *StopStatCycleConflict

NewStopStatCycleConflict creates a StopStatCycleConflict with default headers values

func (*StopStatCycleConflict) Error

func (o *StopStatCycleConflict) Error() string

func (*StopStatCycleConflict) GetPayload

func (*StopStatCycleConflict) ToJSONString

func (o *StopStatCycleConflict) ToJSONString() string

type StopStatCycleForbidden

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

func NewStopStatCycleForbidden() *StopStatCycleForbidden

NewStopStatCycleForbidden creates a StopStatCycleForbidden with default headers values

func (*StopStatCycleForbidden) Error

func (o *StopStatCycleForbidden) Error() string

func (*StopStatCycleForbidden) GetPayload

func (*StopStatCycleForbidden) ToJSONString

func (o *StopStatCycleForbidden) ToJSONString() string

type StopStatCycleInternalServerError

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

func NewStopStatCycleInternalServerError() *StopStatCycleInternalServerError

NewStopStatCycleInternalServerError creates a StopStatCycleInternalServerError with default headers values

func (*StopStatCycleInternalServerError) Error

func (*StopStatCycleInternalServerError) GetPayload

func (*StopStatCycleInternalServerError) ToJSONString

func (o *StopStatCycleInternalServerError) ToJSONString() string

type StopStatCycleNotFound

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

func NewStopStatCycleNotFound() *StopStatCycleNotFound

NewStopStatCycleNotFound creates a StopStatCycleNotFound with default headers values

func (*StopStatCycleNotFound) Error

func (o *StopStatCycleNotFound) Error() string

func (*StopStatCycleNotFound) GetPayload

func (*StopStatCycleNotFound) ToJSONString

func (o *StopStatCycleNotFound) ToJSONString() string

type StopStatCycleOK

type StopStatCycleOK struct {
	Payload *socialclientmodels.StatCycleInfo
}

StopStatCycleOK handles this case with default header values.

successful operation

func NewStopStatCycleOK

func NewStopStatCycleOK() *StopStatCycleOK

NewStopStatCycleOK creates a StopStatCycleOK with default headers values

func (*StopStatCycleOK) Error

func (o *StopStatCycleOK) Error() string

func (*StopStatCycleOK) GetPayload

func (*StopStatCycleOK) ToJSONString

func (o *StopStatCycleOK) ToJSONString() string

type StopStatCycleParams

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

func NewStopStatCycleParams() *StopStatCycleParams

NewStopStatCycleParams creates a new StopStatCycleParams object with the default values initialized.

func NewStopStatCycleParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the stop stat cycle params

func (*StopStatCycleParams) SetContext

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

SetContext adds the context to the stop stat cycle params

func (*StopStatCycleParams) SetCycleID

func (o *StopStatCycleParams) SetCycleID(cycleID string)

SetCycleID adds the cycleId to the stop stat cycle params

func (*StopStatCycleParams) SetFlightId

func (o *StopStatCycleParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*StopStatCycleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop stat cycle params

func (*StopStatCycleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the stop stat cycle params

func (*StopStatCycleParams) SetNamespace

func (o *StopStatCycleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the stop stat cycle params

func (*StopStatCycleParams) SetTimeout

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

SetTimeout adds the timeout to the stop stat cycle params

func (*StopStatCycleParams) WithContext

WithContext adds the context to the stop stat cycle params

func (*StopStatCycleParams) WithCycleID

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

WithCycleID adds the cycleID to the stop stat cycle params

func (*StopStatCycleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop stat cycle params

func (*StopStatCycleParams) WithNamespace

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

WithNamespace adds the namespace to the stop stat cycle params

func (*StopStatCycleParams) WithTimeout

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

WithTimeout adds the timeout to the stop stat cycle params

func (*StopStatCycleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopStatCycleReader

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

StopStatCycleReader is a Reader for the StopStatCycle structure.

func (*StopStatCycleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopStatCycleUnauthorized

type StopStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewStopStatCycleUnauthorized() *StopStatCycleUnauthorized

NewStopStatCycleUnauthorized creates a StopStatCycleUnauthorized with default headers values

func (*StopStatCycleUnauthorized) Error

func (o *StopStatCycleUnauthorized) Error() string

func (*StopStatCycleUnauthorized) GetPayload

func (*StopStatCycleUnauthorized) ToJSONString

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

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

func NewUpdateStatCycleForbidden() *UpdateStatCycleForbidden

NewUpdateStatCycleForbidden creates a UpdateStatCycleForbidden with default headers values

func (*UpdateStatCycleForbidden) Error

func (o *UpdateStatCycleForbidden) Error() string

func (*UpdateStatCycleForbidden) GetPayload

func (*UpdateStatCycleForbidden) ToJSONString

func (o *UpdateStatCycleForbidden) ToJSONString() string

type UpdateStatCycleInternalServerError

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

func NewUpdateStatCycleInternalServerError() *UpdateStatCycleInternalServerError

NewUpdateStatCycleInternalServerError creates a UpdateStatCycleInternalServerError with default headers values

func (*UpdateStatCycleInternalServerError) Error

func (*UpdateStatCycleInternalServerError) GetPayload

func (*UpdateStatCycleInternalServerError) ToJSONString

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

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

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

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

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.

type UpdateStatCycleUnauthorized

type UpdateStatCycleUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

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

func NewUpdateStatCycleUnauthorized() *UpdateStatCycleUnauthorized

NewUpdateStatCycleUnauthorized creates a UpdateStatCycleUnauthorized with default headers values

func (*UpdateStatCycleUnauthorized) Error

func (*UpdateStatCycleUnauthorized) GetPayload

func (*UpdateStatCycleUnauthorized) ToJSONString

func (o *UpdateStatCycleUnauthorized) ToJSONString() string

type UpdateStatCycleUnprocessableEntity

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

func NewUpdateStatCycleUnprocessableEntity() *UpdateStatCycleUnprocessableEntity

NewUpdateStatCycleUnprocessableEntity creates a UpdateStatCycleUnprocessableEntity with default headers values

func (*UpdateStatCycleUnprocessableEntity) Error

func (*UpdateStatCycleUnprocessableEntity) GetPayload

func (*UpdateStatCycleUnprocessableEntity) ToJSONString

func (o *UpdateStatCycleUnprocessableEntity) ToJSONString() string

Jump to

Keyboard shortcuts

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