Documentation
¶
Index ¶
- type Client
- func (a *Client) GetUserStatCycleItems(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, *GetUserStatCycleItemsNotFound, error)deprecated
- func (a *Client) GetUserStatCycleItems1(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, *GetUserStatCycleItems1NotFound, error)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) SetTransport(transport runtime.ClientTransport)
- type ClientService
- 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 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) 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) 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
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, *GetUserStatCycleItemsNotFound, 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, *GetUserStatCycleItems1NotFound, 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) 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, *GetUserStatCycleItemsNotFound, error) GetUserStatCycleItemsShort(params *GetUserStatCycleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItemsOK, error) GetUserStatCycleItems1(params *GetUserStatCycleItems1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatCycleItems1OK, *GetUserStatCycleItems1NotFound, 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 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 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 /*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) 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) 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.