Documentation ¶
Index ¶
- type Client
- func (a *Client) GetUserStatCycleItems(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, *GetUserStatCycleItemsUnauthorized, ...)deprecated
- func (a *Client) GetUserStatCycleItems1(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, *GetUserStatCycleItems1Unauthorized, ...)deprecated
- func (a *Client) GetUserStatCycleItems1Short(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, error)
- func (a *Client) GetUserStatCycleItemsShort(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, error)
- func (a *Client) PublicListMyStatCycleItems(params *PublicListMyStatCycleItemsParams, ...) (*PublicListMyStatCycleItemsOK, *PublicListMyStatCycleItemsUnauthorized, ...)deprecated
- func (a *Client) PublicListMyStatCycleItemsShort(params *PublicListMyStatCycleItemsParams, ...) (*PublicListMyStatCycleItemsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetUserStatCycleItems1Forbidden
- type GetUserStatCycleItems1InternalServerError
- type GetUserStatCycleItems1NotFound
- type GetUserStatCycleItems1OK
- type GetUserStatCycleItems1Params
- func NewGetUserStatCycleItems1Params() *GetUserStatCycleItems1Params
- func NewGetUserStatCycleItems1ParamsWithContext(ctx context.Context) *GetUserStatCycleItems1Params
- func NewGetUserStatCycleItems1ParamsWithHTTPClient(client *http.Client) *GetUserStatCycleItems1Params
- func NewGetUserStatCycleItems1ParamsWithTimeout(timeout time.Duration) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserStatCycleItems1Params) SetContext(ctx context.Context)
- func (o *GetUserStatCycleItems1Params) SetCycleID(cycleID string)
- func (o *GetUserStatCycleItems1Params) SetHTTPClient(client *http.Client)
- func (o *GetUserStatCycleItems1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserStatCycleItems1Params) SetLimit(limit *int32)
- func (o *GetUserStatCycleItems1Params) SetNamespace(namespace string)
- func (o *GetUserStatCycleItems1Params) SetOffset(offset *int32)
- func (o *GetUserStatCycleItems1Params) SetSortBy(sortBy *string)
- func (o *GetUserStatCycleItems1Params) SetStatCodes(statCodes *string)
- func (o *GetUserStatCycleItems1Params) SetTimeout(timeout time.Duration)
- func (o *GetUserStatCycleItems1Params) SetUserID(userID string)
- func (o *GetUserStatCycleItems1Params) WithContext(ctx context.Context) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithCycleID(cycleID string) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithHTTPClient(client *http.Client) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithLimit(limit *int32) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithNamespace(namespace string) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithOffset(offset *int32) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithSortBy(sortBy *string) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithStatCodes(statCodes *string) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithTimeout(timeout time.Duration) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WithUserID(userID string) *GetUserStatCycleItems1Params
- func (o *GetUserStatCycleItems1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserStatCycleItems1Reader
- type GetUserStatCycleItems1Unauthorized
- type GetUserStatCycleItems1UnprocessableEntity
- type GetUserStatCycleItemsForbidden
- type GetUserStatCycleItemsInternalServerError
- type GetUserStatCycleItemsNotFound
- type GetUserStatCycleItemsOK
- type GetUserStatCycleItemsParams
- func NewGetUserStatCycleItemsParams() *GetUserStatCycleItemsParams
- func NewGetUserStatCycleItemsParamsWithContext(ctx context.Context) *GetUserStatCycleItemsParams
- func NewGetUserStatCycleItemsParamsWithHTTPClient(client *http.Client) *GetUserStatCycleItemsParams
- func NewGetUserStatCycleItemsParamsWithTimeout(timeout time.Duration) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserStatCycleItemsParams) SetContext(ctx context.Context)
- func (o *GetUserStatCycleItemsParams) SetCycleID(cycleID string)
- func (o *GetUserStatCycleItemsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserStatCycleItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserStatCycleItemsParams) SetIsPublic(isPublic *bool)
- func (o *GetUserStatCycleItemsParams) SetLimit(limit *int32)
- func (o *GetUserStatCycleItemsParams) SetNamespace(namespace string)
- func (o *GetUserStatCycleItemsParams) SetOffset(offset *int32)
- func (o *GetUserStatCycleItemsParams) SetSortBy(sortBy *string)
- func (o *GetUserStatCycleItemsParams) SetStatCodes(statCodes *string)
- func (o *GetUserStatCycleItemsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserStatCycleItemsParams) SetUserID(userID string)
- func (o *GetUserStatCycleItemsParams) WithContext(ctx context.Context) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithCycleID(cycleID string) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithHTTPClient(client *http.Client) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithIsPublic(isPublic *bool) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithLimit(limit *int32) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithNamespace(namespace string) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithOffset(offset *int32) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithSortBy(sortBy *string) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithStatCodes(statCodes *string) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithTimeout(timeout time.Duration) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WithUserID(userID string) *GetUserStatCycleItemsParams
- func (o *GetUserStatCycleItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserStatCycleItemsReader
- type GetUserStatCycleItemsUnauthorized
- type GetUserStatCycleItemsUnprocessableEntity
- type PublicListMyStatCycleItemsForbidden
- type PublicListMyStatCycleItemsInternalServerError
- type PublicListMyStatCycleItemsNotFound
- type PublicListMyStatCycleItemsOK
- type PublicListMyStatCycleItemsParams
- func NewPublicListMyStatCycleItemsParams() *PublicListMyStatCycleItemsParams
- func NewPublicListMyStatCycleItemsParamsWithContext(ctx context.Context) *PublicListMyStatCycleItemsParams
- func NewPublicListMyStatCycleItemsParamsWithHTTPClient(client *http.Client) *PublicListMyStatCycleItemsParams
- func NewPublicListMyStatCycleItemsParamsWithTimeout(timeout time.Duration) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListMyStatCycleItemsParams) SetContext(ctx context.Context)
- func (o *PublicListMyStatCycleItemsParams) SetCycleID(cycleID string)
- func (o *PublicListMyStatCycleItemsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListMyStatCycleItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListMyStatCycleItemsParams) SetLimit(limit *int32)
- func (o *PublicListMyStatCycleItemsParams) SetNamespace(namespace string)
- func (o *PublicListMyStatCycleItemsParams) SetOffset(offset *int32)
- func (o *PublicListMyStatCycleItemsParams) SetSortBy(sortBy *string)
- func (o *PublicListMyStatCycleItemsParams) SetStatCodes(statCodes []string)
- func (o *PublicListMyStatCycleItemsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListMyStatCycleItemsParams) WithContext(ctx context.Context) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithCycleID(cycleID string) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithHTTPClient(client *http.Client) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithLimit(limit *int32) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithNamespace(namespace string) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithOffset(offset *int32) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithSortBy(sortBy *string) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithStatCodes(statCodes []string) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WithTimeout(timeout time.Duration) *PublicListMyStatCycleItemsParams
- func (o *PublicListMyStatCycleItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListMyStatCycleItemsReader
- type PublicListMyStatCycleItemsUnauthorized
- type PublicListMyStatCycleItemsUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user statistic cycle API
func (*Client) GetUserStatCycleItems
deprecated
func (a *Client) GetUserStatCycleItems(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, *GetUserStatCycleItemsUnauthorized, *GetUserStatCycleItemsForbidden, *GetUserStatCycleItemsNotFound, *GetUserStatCycleItemsUnprocessableEntity, *GetUserStatCycleItemsInternalServerError, error)
Deprecated: 2022-08-10 - Use GetUserStatCycleItemsShort instead.
GetUserStatCycleItems list user's statcycleitems by statcycle List user's statCycleItems by statCycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:STATITEM", action=2 (READ)
- Returns : stat cycle items
func (*Client) GetUserStatCycleItems1
deprecated
func (a *Client) GetUserStatCycleItems1(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, *GetUserStatCycleItems1Unauthorized, *GetUserStatCycleItems1Forbidden, *GetUserStatCycleItems1NotFound, *GetUserStatCycleItems1UnprocessableEntity, *GetUserStatCycleItems1InternalServerError, error)
Deprecated: 2022-08-10 - Use GetUserStatCycleItems1Short instead.
GetUserStatCycleItems1 list user's statcycleitems by statcycle List user's statCycleItems by statCycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:STATITEM", action=2 (READ)
- Returns : stat cycle items
func (*Client) GetUserStatCycleItems1Short ¶
func (a *Client) GetUserStatCycleItems1Short(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, error)
GetUserStatCycleItems1Short list user's statcycleitems by statcycle List user's statCycleItems by statCycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:STATITEM", action=2 (READ)
- Returns : stat cycle items
func (*Client) GetUserStatCycleItemsShort ¶
func (a *Client) GetUserStatCycleItemsShort(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, error)
GetUserStatCycleItemsShort list user's statcycleitems by statcycle List user's statCycleItems by statCycle. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:STATITEM", action=2 (READ)
- Returns : stat cycle items
func (*Client) PublicListMyStatCycleItems
deprecated
added in
v0.46.0
func (a *Client) PublicListMyStatCycleItems(params *PublicListMyStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListMyStatCycleItemsOK, *PublicListMyStatCycleItemsUnauthorized, *PublicListMyStatCycleItemsForbidden, *PublicListMyStatCycleItemsNotFound, *PublicListMyStatCycleItemsUnprocessableEntity, *PublicListMyStatCycleItemsInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicListMyStatCycleItemsShort instead.
PublicListMyStatCycleItems list user's statcycleitems by statcycle List user's statCycleItems by statCycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:STATITEM", action=2 (READ)
- Returns : stat cycle items
func (*Client) PublicListMyStatCycleItemsShort ¶ added in v0.46.0
func (a *Client) PublicListMyStatCycleItemsShort(params *PublicListMyStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListMyStatCycleItemsOK, error)
PublicListMyStatCycleItemsShort list user's statcycleitems by statcycle List user's statCycleItems by statCycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:STATITEM", action=2 (READ)
- Returns : stat cycle items
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetUserStatCycleItems(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, *GetUserStatCycleItemsUnauthorized, *GetUserStatCycleItemsForbidden, *GetUserStatCycleItemsNotFound, *GetUserStatCycleItemsUnprocessableEntity, *GetUserStatCycleItemsInternalServerError, error) GetUserStatCycleItemsShort(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, error) PublicListMyStatCycleItems(params *PublicListMyStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListMyStatCycleItemsOK, *PublicListMyStatCycleItemsUnauthorized, *PublicListMyStatCycleItemsForbidden, *PublicListMyStatCycleItemsNotFound, *PublicListMyStatCycleItemsUnprocessableEntity, *PublicListMyStatCycleItemsInternalServerError, error) PublicListMyStatCycleItemsShort(params *PublicListMyStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListMyStatCycleItemsOK, error) GetUserStatCycleItems1(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, *GetUserStatCycleItems1Unauthorized, *GetUserStatCycleItems1Forbidden, *GetUserStatCycleItems1NotFound, *GetUserStatCycleItems1UnprocessableEntity, *GetUserStatCycleItems1InternalServerError, error) GetUserStatCycleItems1Short(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, 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 user statistic cycle API client.
type GetUserStatCycleItems1Forbidden ¶ added in v0.57.0
type GetUserStatCycleItems1Forbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetUserStatCycleItems1Forbidden 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 NewGetUserStatCycleItems1Forbidden ¶ added in v0.57.0
func NewGetUserStatCycleItems1Forbidden() *GetUserStatCycleItems1Forbidden
NewGetUserStatCycleItems1Forbidden creates a GetUserStatCycleItems1Forbidden with default headers values
func (*GetUserStatCycleItems1Forbidden) Error ¶ added in v0.57.0
func (o *GetUserStatCycleItems1Forbidden) Error() string
func (*GetUserStatCycleItems1Forbidden) GetPayload ¶ added in v0.57.0
func (o *GetUserStatCycleItems1Forbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItems1Forbidden) ToJSONString ¶ added in v0.57.0
func (o *GetUserStatCycleItems1Forbidden) ToJSONString() string
type GetUserStatCycleItems1InternalServerError ¶ added in v0.57.0
type GetUserStatCycleItems1InternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetUserStatCycleItems1InternalServerError 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 NewGetUserStatCycleItems1InternalServerError ¶ added in v0.57.0
func NewGetUserStatCycleItems1InternalServerError() *GetUserStatCycleItems1InternalServerError
NewGetUserStatCycleItems1InternalServerError creates a GetUserStatCycleItems1InternalServerError with default headers values
func (*GetUserStatCycleItems1InternalServerError) Error ¶ added in v0.57.0
func (o *GetUserStatCycleItems1InternalServerError) Error() string
func (*GetUserStatCycleItems1InternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetUserStatCycleItems1InternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItems1InternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetUserStatCycleItems1InternalServerError) ToJSONString() string
type GetUserStatCycleItems1NotFound ¶
type GetUserStatCycleItems1NotFound struct {
Payload *socialclientmodels.ErrorEntity
}
GetUserStatCycleItems1NotFound 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 NewGetUserStatCycleItems1NotFound ¶
func NewGetUserStatCycleItems1NotFound() *GetUserStatCycleItems1NotFound
NewGetUserStatCycleItems1NotFound creates a GetUserStatCycleItems1NotFound with default headers values
func (*GetUserStatCycleItems1NotFound) Error ¶
func (o *GetUserStatCycleItems1NotFound) Error() string
func (*GetUserStatCycleItems1NotFound) GetPayload ¶
func (o *GetUserStatCycleItems1NotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItems1NotFound) ToJSONString ¶
func (o *GetUserStatCycleItems1NotFound) ToJSONString() string
type GetUserStatCycleItems1OK ¶
type GetUserStatCycleItems1OK struct {
Payload *socialclientmodels.UserStatCycleItemPagingSlicedResult
}
GetUserStatCycleItems1OK handles this case with default header values.
successful operation
func NewGetUserStatCycleItems1OK ¶
func NewGetUserStatCycleItems1OK() *GetUserStatCycleItems1OK
NewGetUserStatCycleItems1OK creates a GetUserStatCycleItems1OK with default headers values
func (*GetUserStatCycleItems1OK) Error ¶
func (o *GetUserStatCycleItems1OK) Error() string
func (*GetUserStatCycleItems1OK) GetPayload ¶
func (o *GetUserStatCycleItems1OK) GetPayload() *socialclientmodels.UserStatCycleItemPagingSlicedResult
func (*GetUserStatCycleItems1OK) ToJSONString ¶
func (o *GetUserStatCycleItems1OK) ToJSONString() string
type GetUserStatCycleItems1Params ¶
type GetUserStatCycleItems1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string /*UserID user ID */ UserID string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*SortBy default is unsorted, allow values: [statCode, statCode:asc, statCode:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc],and support sort group, eg: sortBy=statCode:asc,createdAt:desc. */ SortBy *string /*StatCodes comma separated stat codes */ StatCodes *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserStatCycleItems1Params contains all the parameters to send to the API endpoint for the get user stat cycle items 1 operation typically these are written to a http.Request
func NewGetUserStatCycleItems1Params ¶
func NewGetUserStatCycleItems1Params() *GetUserStatCycleItems1Params
NewGetUserStatCycleItems1Params creates a new GetUserStatCycleItems1Params object with the default values initialized.
func NewGetUserStatCycleItems1ParamsWithContext ¶
func NewGetUserStatCycleItems1ParamsWithContext(ctx context.Context) *GetUserStatCycleItems1Params
NewGetUserStatCycleItems1ParamsWithContext creates a new GetUserStatCycleItems1Params object with the default values initialized, and the ability to set a context for a request
func NewGetUserStatCycleItems1ParamsWithHTTPClient ¶
func NewGetUserStatCycleItems1ParamsWithHTTPClient(client *http.Client) *GetUserStatCycleItems1Params
NewGetUserStatCycleItems1ParamsWithHTTPClient creates a new GetUserStatCycleItems1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserStatCycleItems1ParamsWithTimeout ¶
func NewGetUserStatCycleItems1ParamsWithTimeout(timeout time.Duration) *GetUserStatCycleItems1Params
NewGetUserStatCycleItems1ParamsWithTimeout creates a new GetUserStatCycleItems1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserStatCycleItems1Params) SetAuthInfoWriter ¶
func (o *GetUserStatCycleItems1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetContext ¶
func (o *GetUserStatCycleItems1Params) SetContext(ctx context.Context)
SetContext adds the context to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetCycleID ¶
func (o *GetUserStatCycleItems1Params) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetHTTPClient ¶
func (o *GetUserStatCycleItems1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetHTTPClientTransport ¶
func (o *GetUserStatCycleItems1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetLimit ¶
func (o *GetUserStatCycleItems1Params) SetLimit(limit *int32)
SetLimit adds the limit to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetNamespace ¶
func (o *GetUserStatCycleItems1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetOffset ¶
func (o *GetUserStatCycleItems1Params) SetOffset(offset *int32)
SetOffset adds the offset to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetSortBy ¶ added in v0.41.0
func (o *GetUserStatCycleItems1Params) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetStatCodes ¶
func (o *GetUserStatCycleItems1Params) SetStatCodes(statCodes *string)
SetStatCodes adds the statCodes to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetTimeout ¶
func (o *GetUserStatCycleItems1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) SetUserID ¶
func (o *GetUserStatCycleItems1Params) SetUserID(userID string)
SetUserID adds the userId to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithContext ¶
func (o *GetUserStatCycleItems1Params) WithContext(ctx context.Context) *GetUserStatCycleItems1Params
WithContext adds the context to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithCycleID ¶
func (o *GetUserStatCycleItems1Params) WithCycleID(cycleID string) *GetUserStatCycleItems1Params
WithCycleID adds the cycleID to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithHTTPClient ¶
func (o *GetUserStatCycleItems1Params) WithHTTPClient(client *http.Client) *GetUserStatCycleItems1Params
WithHTTPClient adds the HTTPClient to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithLimit ¶
func (o *GetUserStatCycleItems1Params) WithLimit(limit *int32) *GetUserStatCycleItems1Params
WithLimit adds the limit to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithNamespace ¶
func (o *GetUserStatCycleItems1Params) WithNamespace(namespace string) *GetUserStatCycleItems1Params
WithNamespace adds the namespace to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithOffset ¶
func (o *GetUserStatCycleItems1Params) WithOffset(offset *int32) *GetUserStatCycleItems1Params
WithOffset adds the offset to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithSortBy ¶ added in v0.41.0
func (o *GetUserStatCycleItems1Params) WithSortBy(sortBy *string) *GetUserStatCycleItems1Params
WithSortBy adds the sortBy to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithStatCodes ¶
func (o *GetUserStatCycleItems1Params) WithStatCodes(statCodes *string) *GetUserStatCycleItems1Params
WithStatCodes adds the statCodes to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithTimeout ¶
func (o *GetUserStatCycleItems1Params) WithTimeout(timeout time.Duration) *GetUserStatCycleItems1Params
WithTimeout adds the timeout to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WithUserID ¶
func (o *GetUserStatCycleItems1Params) WithUserID(userID string) *GetUserStatCycleItems1Params
WithUserID adds the userID to the get user stat cycle items 1 params
func (*GetUserStatCycleItems1Params) WriteToRequest ¶
func (o *GetUserStatCycleItems1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserStatCycleItems1Reader ¶
type GetUserStatCycleItems1Reader struct {
// contains filtered or unexported fields
}
GetUserStatCycleItems1Reader is a Reader for the GetUserStatCycleItems1 structure.
func (*GetUserStatCycleItems1Reader) ReadResponse ¶
func (o *GetUserStatCycleItems1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserStatCycleItems1Unauthorized ¶ added in v0.57.0
type GetUserStatCycleItems1Unauthorized struct {
}GetUserStatCycleItems1Unauthorized 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 NewGetUserStatCycleItems1Unauthorized ¶ added in v0.57.0
func NewGetUserStatCycleItems1Unauthorized() *GetUserStatCycleItems1Unauthorized
NewGetUserStatCycleItems1Unauthorized creates a GetUserStatCycleItems1Unauthorized with default headers values
func (*GetUserStatCycleItems1Unauthorized) Error ¶ added in v0.57.0
func (o *GetUserStatCycleItems1Unauthorized) Error() string
func (*GetUserStatCycleItems1Unauthorized) GetPayload ¶ added in v0.57.0
func (o *GetUserStatCycleItems1Unauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItems1Unauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetUserStatCycleItems1Unauthorized) ToJSONString() string
type GetUserStatCycleItems1UnprocessableEntity ¶ added in v0.45.0
type GetUserStatCycleItems1UnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
GetUserStatCycleItems1UnprocessableEntity 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 NewGetUserStatCycleItems1UnprocessableEntity ¶ added in v0.45.0
func NewGetUserStatCycleItems1UnprocessableEntity() *GetUserStatCycleItems1UnprocessableEntity
NewGetUserStatCycleItems1UnprocessableEntity creates a GetUserStatCycleItems1UnprocessableEntity with default headers values
func (*GetUserStatCycleItems1UnprocessableEntity) Error ¶ added in v0.45.0
func (o *GetUserStatCycleItems1UnprocessableEntity) Error() string
func (*GetUserStatCycleItems1UnprocessableEntity) GetPayload ¶ added in v0.45.0
func (o *GetUserStatCycleItems1UnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*GetUserStatCycleItems1UnprocessableEntity) ToJSONString ¶ added in v0.45.0
func (o *GetUserStatCycleItems1UnprocessableEntity) ToJSONString() string
type GetUserStatCycleItemsForbidden ¶ added in v0.57.0
type GetUserStatCycleItemsForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
GetUserStatCycleItemsForbidden 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 NewGetUserStatCycleItemsForbidden ¶ added in v0.57.0
func NewGetUserStatCycleItemsForbidden() *GetUserStatCycleItemsForbidden
NewGetUserStatCycleItemsForbidden creates a GetUserStatCycleItemsForbidden with default headers values
func (*GetUserStatCycleItemsForbidden) Error ¶ added in v0.57.0
func (o *GetUserStatCycleItemsForbidden) Error() string
func (*GetUserStatCycleItemsForbidden) GetPayload ¶ added in v0.57.0
func (o *GetUserStatCycleItemsForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItemsForbidden) ToJSONString ¶ added in v0.57.0
func (o *GetUserStatCycleItemsForbidden) ToJSONString() string
type GetUserStatCycleItemsInternalServerError ¶ added in v0.57.0
type GetUserStatCycleItemsInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
GetUserStatCycleItemsInternalServerError 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 NewGetUserStatCycleItemsInternalServerError ¶ added in v0.57.0
func NewGetUserStatCycleItemsInternalServerError() *GetUserStatCycleItemsInternalServerError
NewGetUserStatCycleItemsInternalServerError creates a GetUserStatCycleItemsInternalServerError with default headers values
func (*GetUserStatCycleItemsInternalServerError) Error ¶ added in v0.57.0
func (o *GetUserStatCycleItemsInternalServerError) Error() string
func (*GetUserStatCycleItemsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *GetUserStatCycleItemsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItemsInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *GetUserStatCycleItemsInternalServerError) ToJSONString() string
type GetUserStatCycleItemsNotFound ¶
type GetUserStatCycleItemsNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
GetUserStatCycleItemsNotFound 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 NewGetUserStatCycleItemsNotFound ¶
func NewGetUserStatCycleItemsNotFound() *GetUserStatCycleItemsNotFound
NewGetUserStatCycleItemsNotFound creates a GetUserStatCycleItemsNotFound with default headers values
func (*GetUserStatCycleItemsNotFound) Error ¶
func (o *GetUserStatCycleItemsNotFound) Error() string
func (*GetUserStatCycleItemsNotFound) GetPayload ¶
func (o *GetUserStatCycleItemsNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItemsNotFound) ToJSONString ¶
func (o *GetUserStatCycleItemsNotFound) ToJSONString() string
type GetUserStatCycleItemsOK ¶
type GetUserStatCycleItemsOK struct {
Payload *socialclientmodels.UserStatCycleItemPagingSlicedResult
}
GetUserStatCycleItemsOK handles this case with default header values.
successful operation
func NewGetUserStatCycleItemsOK ¶
func NewGetUserStatCycleItemsOK() *GetUserStatCycleItemsOK
NewGetUserStatCycleItemsOK creates a GetUserStatCycleItemsOK with default headers values
func (*GetUserStatCycleItemsOK) Error ¶
func (o *GetUserStatCycleItemsOK) Error() string
func (*GetUserStatCycleItemsOK) GetPayload ¶
func (o *GetUserStatCycleItemsOK) GetPayload() *socialclientmodels.UserStatCycleItemPagingSlicedResult
func (*GetUserStatCycleItemsOK) ToJSONString ¶
func (o *GetUserStatCycleItemsOK) ToJSONString() string
type GetUserStatCycleItemsParams ¶
type GetUserStatCycleItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string /*UserID user ID */ UserID string /*IsPublic flag to filter which data to show. <ul> <li>Unfiltered will return all data</li><li>If set to false will return private user stat items only</li><li>If set to true will return public stat items only</li></ul> */ IsPublic *bool /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*SortBy default is unsorted, allow values: [statCode, statCode:asc, statCode:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc],and support sort group, eg: sortBy=statCode:asc,createdAt:desc. */ SortBy *string /*StatCodes comma separated stat codes */ StatCodes *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserStatCycleItemsParams contains all the parameters to send to the API endpoint for the get user stat cycle items operation typically these are written to a http.Request
func NewGetUserStatCycleItemsParams ¶
func NewGetUserStatCycleItemsParams() *GetUserStatCycleItemsParams
NewGetUserStatCycleItemsParams creates a new GetUserStatCycleItemsParams object with the default values initialized.
func NewGetUserStatCycleItemsParamsWithContext ¶
func NewGetUserStatCycleItemsParamsWithContext(ctx context.Context) *GetUserStatCycleItemsParams
NewGetUserStatCycleItemsParamsWithContext creates a new GetUserStatCycleItemsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserStatCycleItemsParamsWithHTTPClient ¶
func NewGetUserStatCycleItemsParamsWithHTTPClient(client *http.Client) *GetUserStatCycleItemsParams
NewGetUserStatCycleItemsParamsWithHTTPClient creates a new GetUserStatCycleItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserStatCycleItemsParamsWithTimeout ¶
func NewGetUserStatCycleItemsParamsWithTimeout(timeout time.Duration) *GetUserStatCycleItemsParams
NewGetUserStatCycleItemsParamsWithTimeout creates a new GetUserStatCycleItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserStatCycleItemsParams) SetAuthInfoWriter ¶
func (o *GetUserStatCycleItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetContext ¶
func (o *GetUserStatCycleItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetCycleID ¶
func (o *GetUserStatCycleItemsParams) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetHTTPClient ¶
func (o *GetUserStatCycleItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetHTTPClientTransport ¶
func (o *GetUserStatCycleItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetIsPublic ¶ added in v0.46.0
func (o *GetUserStatCycleItemsParams) SetIsPublic(isPublic *bool)
SetIsPublic adds the isPublic to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetLimit ¶
func (o *GetUserStatCycleItemsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetNamespace ¶
func (o *GetUserStatCycleItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetOffset ¶
func (o *GetUserStatCycleItemsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetSortBy ¶ added in v0.41.0
func (o *GetUserStatCycleItemsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetStatCodes ¶
func (o *GetUserStatCycleItemsParams) SetStatCodes(statCodes *string)
SetStatCodes adds the statCodes to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetTimeout ¶
func (o *GetUserStatCycleItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) SetUserID ¶
func (o *GetUserStatCycleItemsParams) SetUserID(userID string)
SetUserID adds the userId to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithContext ¶
func (o *GetUserStatCycleItemsParams) WithContext(ctx context.Context) *GetUserStatCycleItemsParams
WithContext adds the context to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithCycleID ¶
func (o *GetUserStatCycleItemsParams) WithCycleID(cycleID string) *GetUserStatCycleItemsParams
WithCycleID adds the cycleID to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithHTTPClient ¶
func (o *GetUserStatCycleItemsParams) WithHTTPClient(client *http.Client) *GetUserStatCycleItemsParams
WithHTTPClient adds the HTTPClient to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithIsPublic ¶ added in v0.46.0
func (o *GetUserStatCycleItemsParams) WithIsPublic(isPublic *bool) *GetUserStatCycleItemsParams
WithIsPublic adds the isPublic to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithLimit ¶
func (o *GetUserStatCycleItemsParams) WithLimit(limit *int32) *GetUserStatCycleItemsParams
WithLimit adds the limit to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithNamespace ¶
func (o *GetUserStatCycleItemsParams) WithNamespace(namespace string) *GetUserStatCycleItemsParams
WithNamespace adds the namespace to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithOffset ¶
func (o *GetUserStatCycleItemsParams) WithOffset(offset *int32) *GetUserStatCycleItemsParams
WithOffset adds the offset to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithSortBy ¶ added in v0.41.0
func (o *GetUserStatCycleItemsParams) WithSortBy(sortBy *string) *GetUserStatCycleItemsParams
WithSortBy adds the sortBy to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithStatCodes ¶
func (o *GetUserStatCycleItemsParams) WithStatCodes(statCodes *string) *GetUserStatCycleItemsParams
WithStatCodes adds the statCodes to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithTimeout ¶
func (o *GetUserStatCycleItemsParams) WithTimeout(timeout time.Duration) *GetUserStatCycleItemsParams
WithTimeout adds the timeout to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WithUserID ¶
func (o *GetUserStatCycleItemsParams) WithUserID(userID string) *GetUserStatCycleItemsParams
WithUserID adds the userID to the get user stat cycle items params
func (*GetUserStatCycleItemsParams) WriteToRequest ¶
func (o *GetUserStatCycleItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserStatCycleItemsReader ¶
type GetUserStatCycleItemsReader struct {
// contains filtered or unexported fields
}
GetUserStatCycleItemsReader is a Reader for the GetUserStatCycleItems structure.
func (*GetUserStatCycleItemsReader) ReadResponse ¶
func (o *GetUserStatCycleItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserStatCycleItemsUnauthorized ¶ added in v0.57.0
type GetUserStatCycleItemsUnauthorized struct {
}GetUserStatCycleItemsUnauthorized 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 NewGetUserStatCycleItemsUnauthorized ¶ added in v0.57.0
func NewGetUserStatCycleItemsUnauthorized() *GetUserStatCycleItemsUnauthorized
NewGetUserStatCycleItemsUnauthorized creates a GetUserStatCycleItemsUnauthorized with default headers values
func (*GetUserStatCycleItemsUnauthorized) Error ¶ added in v0.57.0
func (o *GetUserStatCycleItemsUnauthorized) Error() string
func (*GetUserStatCycleItemsUnauthorized) GetPayload ¶ added in v0.57.0
func (o *GetUserStatCycleItemsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*GetUserStatCycleItemsUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *GetUserStatCycleItemsUnauthorized) ToJSONString() string
type GetUserStatCycleItemsUnprocessableEntity ¶ added in v0.45.0
type GetUserStatCycleItemsUnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
GetUserStatCycleItemsUnprocessableEntity 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 NewGetUserStatCycleItemsUnprocessableEntity ¶ added in v0.45.0
func NewGetUserStatCycleItemsUnprocessableEntity() *GetUserStatCycleItemsUnprocessableEntity
NewGetUserStatCycleItemsUnprocessableEntity creates a GetUserStatCycleItemsUnprocessableEntity with default headers values
func (*GetUserStatCycleItemsUnprocessableEntity) Error ¶ added in v0.45.0
func (o *GetUserStatCycleItemsUnprocessableEntity) Error() string
func (*GetUserStatCycleItemsUnprocessableEntity) GetPayload ¶ added in v0.45.0
func (o *GetUserStatCycleItemsUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*GetUserStatCycleItemsUnprocessableEntity) ToJSONString ¶ added in v0.45.0
func (o *GetUserStatCycleItemsUnprocessableEntity) ToJSONString() string
type PublicListMyStatCycleItemsForbidden ¶ added in v0.57.0
type PublicListMyStatCycleItemsForbidden struct {
Payload *socialclientmodels.ErrorEntity
}
PublicListMyStatCycleItemsForbidden 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 NewPublicListMyStatCycleItemsForbidden ¶ added in v0.57.0
func NewPublicListMyStatCycleItemsForbidden() *PublicListMyStatCycleItemsForbidden
NewPublicListMyStatCycleItemsForbidden creates a PublicListMyStatCycleItemsForbidden with default headers values
func (*PublicListMyStatCycleItemsForbidden) Error ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsForbidden) Error() string
func (*PublicListMyStatCycleItemsForbidden) GetPayload ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsForbidden) GetPayload() *socialclientmodels.ErrorEntity
func (*PublicListMyStatCycleItemsForbidden) ToJSONString ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsForbidden) ToJSONString() string
type PublicListMyStatCycleItemsInternalServerError ¶ added in v0.57.0
type PublicListMyStatCycleItemsInternalServerError struct {
Payload *socialclientmodels.ErrorEntity
}
PublicListMyStatCycleItemsInternalServerError 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 NewPublicListMyStatCycleItemsInternalServerError ¶ added in v0.57.0
func NewPublicListMyStatCycleItemsInternalServerError() *PublicListMyStatCycleItemsInternalServerError
NewPublicListMyStatCycleItemsInternalServerError creates a PublicListMyStatCycleItemsInternalServerError with default headers values
func (*PublicListMyStatCycleItemsInternalServerError) Error ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsInternalServerError) Error() string
func (*PublicListMyStatCycleItemsInternalServerError) GetPayload ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsInternalServerError) GetPayload() *socialclientmodels.ErrorEntity
func (*PublicListMyStatCycleItemsInternalServerError) ToJSONString ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsInternalServerError) ToJSONString() string
type PublicListMyStatCycleItemsNotFound ¶ added in v0.46.0
type PublicListMyStatCycleItemsNotFound struct {
Payload *socialclientmodels.ErrorEntity
}
PublicListMyStatCycleItemsNotFound 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 NewPublicListMyStatCycleItemsNotFound ¶ added in v0.46.0
func NewPublicListMyStatCycleItemsNotFound() *PublicListMyStatCycleItemsNotFound
NewPublicListMyStatCycleItemsNotFound creates a PublicListMyStatCycleItemsNotFound with default headers values
func (*PublicListMyStatCycleItemsNotFound) Error ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsNotFound) Error() string
func (*PublicListMyStatCycleItemsNotFound) GetPayload ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsNotFound) GetPayload() *socialclientmodels.ErrorEntity
func (*PublicListMyStatCycleItemsNotFound) ToJSONString ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsNotFound) ToJSONString() string
type PublicListMyStatCycleItemsOK ¶ added in v0.46.0
type PublicListMyStatCycleItemsOK struct {
Payload *socialclientmodels.UserStatCycleItemPagingSlicedResult
}
PublicListMyStatCycleItemsOK handles this case with default header values.
successful operation
func NewPublicListMyStatCycleItemsOK ¶ added in v0.46.0
func NewPublicListMyStatCycleItemsOK() *PublicListMyStatCycleItemsOK
NewPublicListMyStatCycleItemsOK creates a PublicListMyStatCycleItemsOK with default headers values
func (*PublicListMyStatCycleItemsOK) Error ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsOK) Error() string
func (*PublicListMyStatCycleItemsOK) GetPayload ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsOK) GetPayload() *socialclientmodels.UserStatCycleItemPagingSlicedResult
func (*PublicListMyStatCycleItemsOK) ToJSONString ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsOK) ToJSONString() string
type PublicListMyStatCycleItemsParams ¶ added in v0.46.0
type PublicListMyStatCycleItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CycleID cycle id */ CycleID string /*Namespace namespace */ Namespace string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*SortBy default is unsorted, allow values: [statCode, statCode:asc, statCode:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc],and support sort group, eg: sortBy=statCode:asc,createdAt:desc. */ SortBy *string /*StatCodes stat codes */ StatCodes []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListMyStatCycleItemsParams contains all the parameters to send to the API endpoint for the public list my stat cycle items operation typically these are written to a http.Request
func NewPublicListMyStatCycleItemsParams ¶ added in v0.46.0
func NewPublicListMyStatCycleItemsParams() *PublicListMyStatCycleItemsParams
NewPublicListMyStatCycleItemsParams creates a new PublicListMyStatCycleItemsParams object with the default values initialized.
func NewPublicListMyStatCycleItemsParamsWithContext ¶ added in v0.46.0
func NewPublicListMyStatCycleItemsParamsWithContext(ctx context.Context) *PublicListMyStatCycleItemsParams
NewPublicListMyStatCycleItemsParamsWithContext creates a new PublicListMyStatCycleItemsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListMyStatCycleItemsParamsWithHTTPClient ¶ added in v0.46.0
func NewPublicListMyStatCycleItemsParamsWithHTTPClient(client *http.Client) *PublicListMyStatCycleItemsParams
NewPublicListMyStatCycleItemsParamsWithHTTPClient creates a new PublicListMyStatCycleItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListMyStatCycleItemsParamsWithTimeout ¶ added in v0.46.0
func NewPublicListMyStatCycleItemsParamsWithTimeout(timeout time.Duration) *PublicListMyStatCycleItemsParams
NewPublicListMyStatCycleItemsParamsWithTimeout creates a new PublicListMyStatCycleItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListMyStatCycleItemsParams) SetAuthInfoWriter ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetContext ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetCycleID ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetCycleID(cycleID string)
SetCycleID adds the cycleId to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetHTTPClient ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetHTTPClientTransport ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetLimit ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetLimit(limit *int32)
SetLimit adds the limit to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetNamespace ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetOffset ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetOffset(offset *int32)
SetOffset adds the offset to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetSortBy ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetStatCodes ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetStatCodes(statCodes []string)
SetStatCodes adds the statCodes to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) SetTimeout ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithContext ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithContext(ctx context.Context) *PublicListMyStatCycleItemsParams
WithContext adds the context to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithCycleID ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithCycleID(cycleID string) *PublicListMyStatCycleItemsParams
WithCycleID adds the cycleID to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithHTTPClient ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithHTTPClient(client *http.Client) *PublicListMyStatCycleItemsParams
WithHTTPClient adds the HTTPClient to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithLimit ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithLimit(limit *int32) *PublicListMyStatCycleItemsParams
WithLimit adds the limit to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithNamespace ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithNamespace(namespace string) *PublicListMyStatCycleItemsParams
WithNamespace adds the namespace to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithOffset ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithOffset(offset *int32) *PublicListMyStatCycleItemsParams
WithOffset adds the offset to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithSortBy ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithSortBy(sortBy *string) *PublicListMyStatCycleItemsParams
WithSortBy adds the sortBy to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithStatCodes ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithStatCodes(statCodes []string) *PublicListMyStatCycleItemsParams
WithStatCodes adds the statCodes to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WithTimeout ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WithTimeout(timeout time.Duration) *PublicListMyStatCycleItemsParams
WithTimeout adds the timeout to the public list my stat cycle items params
func (*PublicListMyStatCycleItemsParams) WriteToRequest ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListMyStatCycleItemsReader ¶ added in v0.46.0
type PublicListMyStatCycleItemsReader struct {
// contains filtered or unexported fields
}
PublicListMyStatCycleItemsReader is a Reader for the PublicListMyStatCycleItems structure.
func (*PublicListMyStatCycleItemsReader) ReadResponse ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListMyStatCycleItemsUnauthorized ¶ added in v0.57.0
type PublicListMyStatCycleItemsUnauthorized struct {
}PublicListMyStatCycleItemsUnauthorized 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 NewPublicListMyStatCycleItemsUnauthorized ¶ added in v0.57.0
func NewPublicListMyStatCycleItemsUnauthorized() *PublicListMyStatCycleItemsUnauthorized
NewPublicListMyStatCycleItemsUnauthorized creates a PublicListMyStatCycleItemsUnauthorized with default headers values
func (*PublicListMyStatCycleItemsUnauthorized) Error ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsUnauthorized) Error() string
func (*PublicListMyStatCycleItemsUnauthorized) GetPayload ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsUnauthorized) GetPayload() *socialclientmodels.ErrorEntity
func (*PublicListMyStatCycleItemsUnauthorized) ToJSONString ¶ added in v0.57.0
func (o *PublicListMyStatCycleItemsUnauthorized) ToJSONString() string
type PublicListMyStatCycleItemsUnprocessableEntity ¶ added in v0.46.0
type PublicListMyStatCycleItemsUnprocessableEntity struct {
Payload *socialclientmodels.ValidationErrorEntity
}
PublicListMyStatCycleItemsUnprocessableEntity 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 NewPublicListMyStatCycleItemsUnprocessableEntity ¶ added in v0.46.0
func NewPublicListMyStatCycleItemsUnprocessableEntity() *PublicListMyStatCycleItemsUnprocessableEntity
NewPublicListMyStatCycleItemsUnprocessableEntity creates a PublicListMyStatCycleItemsUnprocessableEntity with default headers values
func (*PublicListMyStatCycleItemsUnprocessableEntity) Error ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsUnprocessableEntity) Error() string
func (*PublicListMyStatCycleItemsUnprocessableEntity) GetPayload ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
func (*PublicListMyStatCycleItemsUnprocessableEntity) ToJSONString ¶ added in v0.46.0
func (o *PublicListMyStatCycleItemsUnprocessableEntity) ToJSONString() string