user_statistic_cycle

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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

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

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

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 (*GetUserStatCycleItems1Forbidden) GetPayload added in v0.57.0

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 (*GetUserStatCycleItems1InternalServerError) GetPayload added in v0.57.0

func (*GetUserStatCycleItems1InternalServerError) ToJSONString added in v0.57.0

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 (*GetUserStatCycleItems1NotFound) GetPayload

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

WithContext adds the context to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithCycleID

WithCycleID adds the cycleID to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithLimit

WithLimit adds the limit to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithNamespace

WithNamespace adds the namespace to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithOffset

WithOffset adds the offset to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithSortBy added in v0.41.0

WithSortBy adds the sortBy to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithStatCodes

WithStatCodes adds the statCodes to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithTimeout

WithTimeout adds the timeout to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WithUserID

WithUserID adds the userID to the get user stat cycle items 1 params

func (*GetUserStatCycleItems1Params) WriteToRequest

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 {
	Payload *socialclientmodels.ErrorEntity
}

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 (*GetUserStatCycleItems1Unauthorized) GetPayload added in v0.57.0

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 (*GetUserStatCycleItems1UnprocessableEntity) GetPayload added in v0.45.0

func (*GetUserStatCycleItems1UnprocessableEntity) ToJSONString added in v0.45.0

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 (*GetUserStatCycleItemsForbidden) GetPayload added in v0.57.0

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 (*GetUserStatCycleItemsInternalServerError) GetPayload added in v0.57.0

func (*GetUserStatCycleItemsInternalServerError) ToJSONString added in v0.57.0

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 (*GetUserStatCycleItemsNotFound) GetPayload

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

WithContext adds the context to the get user stat cycle items params

func (*GetUserStatCycleItemsParams) WithCycleID

WithCycleID adds the cycleID to the get user stat cycle items params

func (*GetUserStatCycleItemsParams) WithHTTPClient

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

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

WithOffset adds the offset to the get user stat cycle items params

func (*GetUserStatCycleItemsParams) WithSortBy added in v0.41.0

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

WithTimeout adds the timeout to the get user stat cycle items params

func (*GetUserStatCycleItemsParams) WithUserID

WithUserID adds the userID to the get user stat cycle items params

func (*GetUserStatCycleItemsParams) WriteToRequest

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 {
	Payload *socialclientmodels.ErrorEntity
}

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 (*GetUserStatCycleItemsUnauthorized) GetPayload added in v0.57.0

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 (*GetUserStatCycleItemsUnprocessableEntity) GetPayload added in v0.45.0

func (*GetUserStatCycleItemsUnprocessableEntity) ToJSONString added in v0.45.0

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 (*PublicListMyStatCycleItemsForbidden) GetPayload added in v0.57.0

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 (*PublicListMyStatCycleItemsInternalServerError) GetPayload added in v0.57.0

func (*PublicListMyStatCycleItemsInternalServerError) ToJSONString added in v0.57.0

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 (*PublicListMyStatCycleItemsNotFound) GetPayload added in v0.46.0

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 (*PublicListMyStatCycleItemsOK) GetPayload added in v0.46.0

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

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

WithContext adds the context to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithCycleID added in v0.46.0

WithCycleID adds the cycleID to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithHTTPClient added in v0.46.0

WithHTTPClient adds the HTTPClient to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithLimit added in v0.46.0

WithLimit adds the limit to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithNamespace added in v0.46.0

WithNamespace adds the namespace to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithOffset added in v0.46.0

WithOffset adds the offset to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithSortBy added in v0.46.0

WithSortBy adds the sortBy to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithStatCodes added in v0.46.0

WithStatCodes adds the statCodes to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WithTimeout added in v0.46.0

WithTimeout adds the timeout to the public list my stat cycle items params

func (*PublicListMyStatCycleItemsParams) WriteToRequest added in v0.46.0

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 {
	Payload *socialclientmodels.ErrorEntity
}

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 (*PublicListMyStatCycleItemsUnauthorized) GetPayload added in v0.57.0

func (*PublicListMyStatCycleItemsUnauthorized) ToJSONString added in v0.57.0

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 (*PublicListMyStatCycleItemsUnprocessableEntity) GetPayload added in v0.46.0

func (*PublicListMyStatCycleItemsUnprocessableEntity) ToJSONString added in v0.46.0

Jump to

Keyboard shortcuts

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