Documentation ¶
Index ¶
- Constants
- type BulkGetUserSeasonProgressionBadRequest
- type BulkGetUserSeasonProgressionNotFound
- type BulkGetUserSeasonProgressionOK
- type BulkGetUserSeasonProgressionParams
- func NewBulkGetUserSeasonProgressionParams() *BulkGetUserSeasonProgressionParams
- func NewBulkGetUserSeasonProgressionParamsWithContext(ctx context.Context) *BulkGetUserSeasonProgressionParams
- func NewBulkGetUserSeasonProgressionParamsWithHTTPClient(client *http.Client) *BulkGetUserSeasonProgressionParams
- func NewBulkGetUserSeasonProgressionParamsWithTimeout(timeout time.Duration) *BulkGetUserSeasonProgressionParams
- func (o *BulkGetUserSeasonProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkGetUserSeasonProgressionParams) SetBody(body *seasonpassclientmodels.BulkUserProgressionRequest)
- func (o *BulkGetUserSeasonProgressionParams) SetContext(ctx context.Context)
- func (o *BulkGetUserSeasonProgressionParams) SetHTTPClient(client *http.Client)
- func (o *BulkGetUserSeasonProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkGetUserSeasonProgressionParams) SetNamespace(namespace string)
- func (o *BulkGetUserSeasonProgressionParams) SetTimeout(timeout time.Duration)
- func (o *BulkGetUserSeasonProgressionParams) WithBody(body *seasonpassclientmodels.BulkUserProgressionRequest) *BulkGetUserSeasonProgressionParams
- func (o *BulkGetUserSeasonProgressionParams) WithContext(ctx context.Context) *BulkGetUserSeasonProgressionParams
- func (o *BulkGetUserSeasonProgressionParams) WithHTTPClient(client *http.Client) *BulkGetUserSeasonProgressionParams
- func (o *BulkGetUserSeasonProgressionParams) WithNamespace(namespace string) *BulkGetUserSeasonProgressionParams
- func (o *BulkGetUserSeasonProgressionParams) WithTimeout(timeout time.Duration) *BulkGetUserSeasonProgressionParams
- func (o *BulkGetUserSeasonProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkGetUserSeasonProgressionReader
- type CheckSeasonPurchasableBadRequest
- type CheckSeasonPurchasableConflict
- type CheckSeasonPurchasableNoContent
- type CheckSeasonPurchasableNotFound
- type CheckSeasonPurchasableParams
- func NewCheckSeasonPurchasableParams() *CheckSeasonPurchasableParams
- func NewCheckSeasonPurchasableParamsWithContext(ctx context.Context) *CheckSeasonPurchasableParams
- func NewCheckSeasonPurchasableParamsWithHTTPClient(client *http.Client) *CheckSeasonPurchasableParams
- func NewCheckSeasonPurchasableParamsWithTimeout(timeout time.Duration) *CheckSeasonPurchasableParams
- func (o *CheckSeasonPurchasableParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CheckSeasonPurchasableParams) SetBody(body *seasonpassclientmodels.UserPurchasable)
- func (o *CheckSeasonPurchasableParams) SetContext(ctx context.Context)
- func (o *CheckSeasonPurchasableParams) SetHTTPClient(client *http.Client)
- func (o *CheckSeasonPurchasableParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CheckSeasonPurchasableParams) SetNamespace(namespace string)
- func (o *CheckSeasonPurchasableParams) SetTimeout(timeout time.Duration)
- func (o *CheckSeasonPurchasableParams) SetUserID(userID string)
- func (o *CheckSeasonPurchasableParams) WithBody(body *seasonpassclientmodels.UserPurchasable) *CheckSeasonPurchasableParams
- func (o *CheckSeasonPurchasableParams) WithContext(ctx context.Context) *CheckSeasonPurchasableParams
- func (o *CheckSeasonPurchasableParams) WithHTTPClient(client *http.Client) *CheckSeasonPurchasableParams
- func (o *CheckSeasonPurchasableParams) WithNamespace(namespace string) *CheckSeasonPurchasableParams
- func (o *CheckSeasonPurchasableParams) WithTimeout(timeout time.Duration) *CheckSeasonPurchasableParams
- func (o *CheckSeasonPurchasableParams) WithUserID(userID string) *CheckSeasonPurchasableParams
- func (o *CheckSeasonPurchasableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckSeasonPurchasableReader
- type Client
- func (a *Client) BulkGetUserSeasonProgression(params *BulkGetUserSeasonProgressionParams, ...) (*BulkGetUserSeasonProgressionOK, *BulkGetUserSeasonProgressionBadRequest, ...)deprecated
- func (a *Client) BulkGetUserSeasonProgressionShort(params *BulkGetUserSeasonProgressionParams, ...) (*BulkGetUserSeasonProgressionOK, error)
- func (a *Client) CheckSeasonPurchasable(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, *CheckSeasonPurchasableBadRequest, ...)deprecated
- func (a *Client) CheckSeasonPurchasableShort(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, error)
- func (a *Client) CloneSeason(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, *CloneSeasonBadRequest, *CloneSeasonNotFound, ...)deprecated
- func (a *Client) CloneSeasonShort(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, error)
- func (a *Client) CreateSeason(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, *CreateSeasonBadRequest, *CreateSeasonNotFound, ...)deprecated
- func (a *Client) CreateSeasonShort(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, error)
- func (a *Client) DeleteSeason(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, *DeleteSeasonBadRequest, *DeleteSeasonNotFound, ...)deprecated
- func (a *Client) DeleteSeasonShort(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, error)
- func (a *Client) ExistsAnyPassByPassCodes(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, *ExistsAnyPassByPassCodesBadRequest, error)deprecated
- func (a *Client) ExistsAnyPassByPassCodesShort(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, error)
- func (a *Client) GetCurrentSeason(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, *GetCurrentSeasonBadRequest, *GetCurrentSeasonNotFound, ...)deprecated
- func (a *Client) GetCurrentSeasonShort(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, error)
- func (a *Client) GetCurrentUserSeasonProgression(params *GetCurrentUserSeasonProgressionParams, ...) (*GetCurrentUserSeasonProgressionOK, *GetCurrentUserSeasonProgressionBadRequest, ...)deprecated
- func (a *Client) GetCurrentUserSeasonProgressionShort(params *GetCurrentUserSeasonProgressionParams, ...) (*GetCurrentUserSeasonProgressionOK, error)
- func (a *Client) GetFullSeason(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, *GetFullSeasonBadRequest, *GetFullSeasonNotFound, error)deprecated
- func (a *Client) GetFullSeasonShort(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, error)
- func (a *Client) GetSeason(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, *GetSeasonBadRequest, *GetSeasonNotFound, error)deprecated
- func (a *Client) GetSeasonShort(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, error)
- func (a *Client) GetUserParticipatedSeasons(params *GetUserParticipatedSeasonsParams, ...) (*GetUserParticipatedSeasonsOK, *GetUserParticipatedSeasonsBadRequest, error)deprecated
- func (a *Client) GetUserParticipatedSeasonsShort(params *GetUserParticipatedSeasonsParams, ...) (*GetUserParticipatedSeasonsOK, error)
- func (a *Client) GetUserSeason(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, *GetUserSeasonBadRequest, *GetUserSeasonNotFound, error)deprecated
- func (a *Client) GetUserSeasonShort(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, error)
- func (a *Client) PublicGetCurrentSeason(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, *PublicGetCurrentSeasonBadRequest, ...)deprecated
- func (a *Client) PublicGetCurrentSeasonShort(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, error)
- func (a *Client) PublicGetCurrentUserSeason(params *PublicGetCurrentUserSeasonParams, ...) (*PublicGetCurrentUserSeasonOK, *PublicGetCurrentUserSeasonBadRequest, ...)deprecated
- func (a *Client) PublicGetCurrentUserSeasonShort(params *PublicGetCurrentUserSeasonParams, ...) (*PublicGetCurrentUserSeasonOK, error)
- func (a *Client) PublicGetUserSeason(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, *PublicGetUserSeasonBadRequest, ...)deprecated
- func (a *Client) PublicGetUserSeasonShort(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, error)
- func (a *Client) PublishSeason(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, *PublishSeasonBadRequest, *PublishSeasonNotFound, ...)deprecated
- func (a *Client) PublishSeasonShort(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, error)
- func (a *Client) QuerySeasons(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, *QuerySeasonsBadRequest, error)deprecated
- func (a *Client) QuerySeasonsShort(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, error)
- func (a *Client) QueryUserExpGrantHistory(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, *QueryUserExpGrantHistoryBadRequest, error)deprecated
- func (a *Client) QueryUserExpGrantHistoryShort(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, error)
- func (a *Client) QueryUserExpGrantHistoryTag(params *QueryUserExpGrantHistoryTagParams, ...) (*QueryUserExpGrantHistoryTagOK, *QueryUserExpGrantHistoryTagBadRequest, error)deprecated
- func (a *Client) QueryUserExpGrantHistoryTagShort(params *QueryUserExpGrantHistoryTagParams, ...) (*QueryUserExpGrantHistoryTagOK, error)
- func (a *Client) ResetUserSeason(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, *ResetUserSeasonBadRequest, error)deprecated
- func (a *Client) ResetUserSeasonShort(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, error)
- func (a *Client) RetireSeason(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, *RetireSeasonBadRequest, *RetireSeasonNotFound, ...)deprecated
- func (a *Client) RetireSeasonShort(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnpublishSeason(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, *UnpublishSeasonBadRequest, *UnpublishSeasonNotFound, ...)deprecated
- func (a *Client) UnpublishSeasonShort(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, error)
- func (a *Client) UpdateSeason(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, *UpdateSeasonBadRequest, *UpdateSeasonNotFound, ...)deprecated
- func (a *Client) UpdateSeasonShort(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, error)
- type ClientService
- type CloneSeasonBadRequest
- type CloneSeasonNotFound
- type CloneSeasonOK
- type CloneSeasonParams
- func (o *CloneSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CloneSeasonParams) SetBody(body *seasonpassclientmodels.SeasonCloneRequest)
- func (o *CloneSeasonParams) SetContext(ctx context.Context)
- func (o *CloneSeasonParams) SetHTTPClient(client *http.Client)
- func (o *CloneSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CloneSeasonParams) SetNamespace(namespace string)
- func (o *CloneSeasonParams) SetSeasonID(seasonID string)
- func (o *CloneSeasonParams) SetTimeout(timeout time.Duration)
- func (o *CloneSeasonParams) WithBody(body *seasonpassclientmodels.SeasonCloneRequest) *CloneSeasonParams
- func (o *CloneSeasonParams) WithContext(ctx context.Context) *CloneSeasonParams
- func (o *CloneSeasonParams) WithHTTPClient(client *http.Client) *CloneSeasonParams
- func (o *CloneSeasonParams) WithNamespace(namespace string) *CloneSeasonParams
- func (o *CloneSeasonParams) WithSeasonID(seasonID string) *CloneSeasonParams
- func (o *CloneSeasonParams) WithTimeout(timeout time.Duration) *CloneSeasonParams
- func (o *CloneSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneSeasonReader
- type CloneSeasonUnprocessableEntity
- type CreateSeasonBadRequest
- type CreateSeasonCreated
- type CreateSeasonNotFound
- type CreateSeasonParams
- func (o *CreateSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateSeasonParams) SetBody(body *seasonpassclientmodels.SeasonCreate)
- func (o *CreateSeasonParams) SetContext(ctx context.Context)
- func (o *CreateSeasonParams) SetHTTPClient(client *http.Client)
- func (o *CreateSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateSeasonParams) SetNamespace(namespace string)
- func (o *CreateSeasonParams) SetTimeout(timeout time.Duration)
- func (o *CreateSeasonParams) WithBody(body *seasonpassclientmodels.SeasonCreate) *CreateSeasonParams
- func (o *CreateSeasonParams) WithContext(ctx context.Context) *CreateSeasonParams
- func (o *CreateSeasonParams) WithHTTPClient(client *http.Client) *CreateSeasonParams
- func (o *CreateSeasonParams) WithNamespace(namespace string) *CreateSeasonParams
- func (o *CreateSeasonParams) WithTimeout(timeout time.Duration) *CreateSeasonParams
- func (o *CreateSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSeasonReader
- type CreateSeasonUnprocessableEntity
- type DeleteSeasonBadRequest
- type DeleteSeasonConflict
- type DeleteSeasonNoContent
- type DeleteSeasonNotFound
- type DeleteSeasonParams
- func (o *DeleteSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteSeasonParams) SetContext(ctx context.Context)
- func (o *DeleteSeasonParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteSeasonParams) SetNamespace(namespace string)
- func (o *DeleteSeasonParams) SetSeasonID(seasonID string)
- func (o *DeleteSeasonParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSeasonParams) WithContext(ctx context.Context) *DeleteSeasonParams
- func (o *DeleteSeasonParams) WithHTTPClient(client *http.Client) *DeleteSeasonParams
- func (o *DeleteSeasonParams) WithNamespace(namespace string) *DeleteSeasonParams
- func (o *DeleteSeasonParams) WithSeasonID(seasonID string) *DeleteSeasonParams
- func (o *DeleteSeasonParams) WithTimeout(timeout time.Duration) *DeleteSeasonParams
- func (o *DeleteSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSeasonReader
- type ExistsAnyPassByPassCodesBadRequest
- type ExistsAnyPassByPassCodesOK
- type ExistsAnyPassByPassCodesParams
- func NewExistsAnyPassByPassCodesParams() *ExistsAnyPassByPassCodesParams
- func NewExistsAnyPassByPassCodesParamsWithContext(ctx context.Context) *ExistsAnyPassByPassCodesParams
- func NewExistsAnyPassByPassCodesParamsWithHTTPClient(client *http.Client) *ExistsAnyPassByPassCodesParams
- func NewExistsAnyPassByPassCodesParamsWithTimeout(timeout time.Duration) *ExistsAnyPassByPassCodesParams
- func (o *ExistsAnyPassByPassCodesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExistsAnyPassByPassCodesParams) SetContext(ctx context.Context)
- func (o *ExistsAnyPassByPassCodesParams) SetHTTPClient(client *http.Client)
- func (o *ExistsAnyPassByPassCodesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ExistsAnyPassByPassCodesParams) SetNamespace(namespace string)
- func (o *ExistsAnyPassByPassCodesParams) SetPassCodes(passCodes []string)
- func (o *ExistsAnyPassByPassCodesParams) SetTimeout(timeout time.Duration)
- func (o *ExistsAnyPassByPassCodesParams) SetUserID(userID string)
- func (o *ExistsAnyPassByPassCodesParams) WithContext(ctx context.Context) *ExistsAnyPassByPassCodesParams
- func (o *ExistsAnyPassByPassCodesParams) WithHTTPClient(client *http.Client) *ExistsAnyPassByPassCodesParams
- func (o *ExistsAnyPassByPassCodesParams) WithNamespace(namespace string) *ExistsAnyPassByPassCodesParams
- func (o *ExistsAnyPassByPassCodesParams) WithPassCodes(passCodes []string) *ExistsAnyPassByPassCodesParams
- func (o *ExistsAnyPassByPassCodesParams) WithTimeout(timeout time.Duration) *ExistsAnyPassByPassCodesParams
- func (o *ExistsAnyPassByPassCodesParams) WithUserID(userID string) *ExistsAnyPassByPassCodesParams
- func (o *ExistsAnyPassByPassCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExistsAnyPassByPassCodesReader
- type GetCurrentSeasonBadRequest
- type GetCurrentSeasonNotFound
- type GetCurrentSeasonOK
- type GetCurrentSeasonParams
- func NewGetCurrentSeasonParams() *GetCurrentSeasonParams
- func NewGetCurrentSeasonParamsWithContext(ctx context.Context) *GetCurrentSeasonParams
- func NewGetCurrentSeasonParamsWithHTTPClient(client *http.Client) *GetCurrentSeasonParams
- func NewGetCurrentSeasonParamsWithTimeout(timeout time.Duration) *GetCurrentSeasonParams
- func (o *GetCurrentSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCurrentSeasonParams) SetContext(ctx context.Context)
- func (o *GetCurrentSeasonParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCurrentSeasonParams) SetNamespace(namespace string)
- func (o *GetCurrentSeasonParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentSeasonParams) WithContext(ctx context.Context) *GetCurrentSeasonParams
- func (o *GetCurrentSeasonParams) WithHTTPClient(client *http.Client) *GetCurrentSeasonParams
- func (o *GetCurrentSeasonParams) WithNamespace(namespace string) *GetCurrentSeasonParams
- func (o *GetCurrentSeasonParams) WithTimeout(timeout time.Duration) *GetCurrentSeasonParams
- func (o *GetCurrentSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentSeasonReader
- type GetCurrentUserSeasonProgressionBadRequest
- type GetCurrentUserSeasonProgressionNotFound
- type GetCurrentUserSeasonProgressionOK
- type GetCurrentUserSeasonProgressionParams
- func NewGetCurrentUserSeasonProgressionParams() *GetCurrentUserSeasonProgressionParams
- func NewGetCurrentUserSeasonProgressionParamsWithContext(ctx context.Context) *GetCurrentUserSeasonProgressionParams
- func NewGetCurrentUserSeasonProgressionParamsWithHTTPClient(client *http.Client) *GetCurrentUserSeasonProgressionParams
- func NewGetCurrentUserSeasonProgressionParamsWithTimeout(timeout time.Duration) *GetCurrentUserSeasonProgressionParams
- func (o *GetCurrentUserSeasonProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCurrentUserSeasonProgressionParams) SetContext(ctx context.Context)
- func (o *GetCurrentUserSeasonProgressionParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentUserSeasonProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCurrentUserSeasonProgressionParams) SetNamespace(namespace string)
- func (o *GetCurrentUserSeasonProgressionParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentUserSeasonProgressionParams) SetUserID(userID string)
- func (o *GetCurrentUserSeasonProgressionParams) WithContext(ctx context.Context) *GetCurrentUserSeasonProgressionParams
- func (o *GetCurrentUserSeasonProgressionParams) WithHTTPClient(client *http.Client) *GetCurrentUserSeasonProgressionParams
- func (o *GetCurrentUserSeasonProgressionParams) WithNamespace(namespace string) *GetCurrentUserSeasonProgressionParams
- func (o *GetCurrentUserSeasonProgressionParams) WithTimeout(timeout time.Duration) *GetCurrentUserSeasonProgressionParams
- func (o *GetCurrentUserSeasonProgressionParams) WithUserID(userID string) *GetCurrentUserSeasonProgressionParams
- func (o *GetCurrentUserSeasonProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentUserSeasonProgressionReader
- type GetFullSeasonBadRequest
- type GetFullSeasonNotFound
- type GetFullSeasonOK
- type GetFullSeasonParams
- func (o *GetFullSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetFullSeasonParams) SetContext(ctx context.Context)
- func (o *GetFullSeasonParams) SetHTTPClient(client *http.Client)
- func (o *GetFullSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetFullSeasonParams) SetNamespace(namespace string)
- func (o *GetFullSeasonParams) SetSeasonID(seasonID string)
- func (o *GetFullSeasonParams) SetTimeout(timeout time.Duration)
- func (o *GetFullSeasonParams) WithContext(ctx context.Context) *GetFullSeasonParams
- func (o *GetFullSeasonParams) WithHTTPClient(client *http.Client) *GetFullSeasonParams
- func (o *GetFullSeasonParams) WithNamespace(namespace string) *GetFullSeasonParams
- func (o *GetFullSeasonParams) WithSeasonID(seasonID string) *GetFullSeasonParams
- func (o *GetFullSeasonParams) WithTimeout(timeout time.Duration) *GetFullSeasonParams
- func (o *GetFullSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFullSeasonReader
- type GetSeasonBadRequest
- type GetSeasonNotFound
- type GetSeasonOK
- type GetSeasonParams
- func (o *GetSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetSeasonParams) SetContext(ctx context.Context)
- func (o *GetSeasonParams) SetHTTPClient(client *http.Client)
- func (o *GetSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetSeasonParams) SetNamespace(namespace string)
- func (o *GetSeasonParams) SetSeasonID(seasonID string)
- func (o *GetSeasonParams) SetTimeout(timeout time.Duration)
- func (o *GetSeasonParams) WithContext(ctx context.Context) *GetSeasonParams
- func (o *GetSeasonParams) WithHTTPClient(client *http.Client) *GetSeasonParams
- func (o *GetSeasonParams) WithNamespace(namespace string) *GetSeasonParams
- func (o *GetSeasonParams) WithSeasonID(seasonID string) *GetSeasonParams
- func (o *GetSeasonParams) WithTimeout(timeout time.Duration) *GetSeasonParams
- func (o *GetSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSeasonReader
- type GetUserParticipatedSeasonsBadRequest
- type GetUserParticipatedSeasonsOK
- type GetUserParticipatedSeasonsParams
- func NewGetUserParticipatedSeasonsParams() *GetUserParticipatedSeasonsParams
- func NewGetUserParticipatedSeasonsParamsWithContext(ctx context.Context) *GetUserParticipatedSeasonsParams
- func NewGetUserParticipatedSeasonsParamsWithHTTPClient(client *http.Client) *GetUserParticipatedSeasonsParams
- func NewGetUserParticipatedSeasonsParamsWithTimeout(timeout time.Duration) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserParticipatedSeasonsParams) SetContext(ctx context.Context)
- func (o *GetUserParticipatedSeasonsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParticipatedSeasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserParticipatedSeasonsParams) SetLimit(limit *int32)
- func (o *GetUserParticipatedSeasonsParams) SetNamespace(namespace string)
- func (o *GetUserParticipatedSeasonsParams) SetOffset(offset *int32)
- func (o *GetUserParticipatedSeasonsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParticipatedSeasonsParams) SetUserID(userID string)
- func (o *GetUserParticipatedSeasonsParams) WithContext(ctx context.Context) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) WithHTTPClient(client *http.Client) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) WithLimit(limit *int32) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) WithNamespace(namespace string) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) WithOffset(offset *int32) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) WithTimeout(timeout time.Duration) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) WithUserID(userID string) *GetUserParticipatedSeasonsParams
- func (o *GetUserParticipatedSeasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserParticipatedSeasonsReader
- type GetUserSeasonBadRequest
- type GetUserSeasonNotFound
- type GetUserSeasonOK
- type GetUserSeasonParams
- func (o *GetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserSeasonParams) SetContext(ctx context.Context)
- func (o *GetUserSeasonParams) SetHTTPClient(client *http.Client)
- func (o *GetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserSeasonParams) SetNamespace(namespace string)
- func (o *GetUserSeasonParams) SetSeasonID(seasonID string)
- func (o *GetUserSeasonParams) SetTimeout(timeout time.Duration)
- func (o *GetUserSeasonParams) SetUserID(userID string)
- func (o *GetUserSeasonParams) WithContext(ctx context.Context) *GetUserSeasonParams
- func (o *GetUserSeasonParams) WithHTTPClient(client *http.Client) *GetUserSeasonParams
- func (o *GetUserSeasonParams) WithNamespace(namespace string) *GetUserSeasonParams
- func (o *GetUserSeasonParams) WithSeasonID(seasonID string) *GetUserSeasonParams
- func (o *GetUserSeasonParams) WithTimeout(timeout time.Duration) *GetUserSeasonParams
- func (o *GetUserSeasonParams) WithUserID(userID string) *GetUserSeasonParams
- func (o *GetUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserSeasonReader
- type PublicGetCurrentSeasonBadRequest
- type PublicGetCurrentSeasonNotFound
- type PublicGetCurrentSeasonOK
- type PublicGetCurrentSeasonParams
- func NewPublicGetCurrentSeasonParams() *PublicGetCurrentSeasonParams
- func NewPublicGetCurrentSeasonParamsWithContext(ctx context.Context) *PublicGetCurrentSeasonParams
- func NewPublicGetCurrentSeasonParamsWithHTTPClient(client *http.Client) *PublicGetCurrentSeasonParams
- func NewPublicGetCurrentSeasonParamsWithTimeout(timeout time.Duration) *PublicGetCurrentSeasonParams
- func (o *PublicGetCurrentSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetCurrentSeasonParams) SetContext(ctx context.Context)
- func (o *PublicGetCurrentSeasonParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetCurrentSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetCurrentSeasonParams) SetLanguage(language *string)
- func (o *PublicGetCurrentSeasonParams) SetNamespace(namespace string)
- func (o *PublicGetCurrentSeasonParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetCurrentSeasonParams) WithContext(ctx context.Context) *PublicGetCurrentSeasonParams
- func (o *PublicGetCurrentSeasonParams) WithHTTPClient(client *http.Client) *PublicGetCurrentSeasonParams
- func (o *PublicGetCurrentSeasonParams) WithLanguage(language *string) *PublicGetCurrentSeasonParams
- func (o *PublicGetCurrentSeasonParams) WithNamespace(namespace string) *PublicGetCurrentSeasonParams
- func (o *PublicGetCurrentSeasonParams) WithTimeout(timeout time.Duration) *PublicGetCurrentSeasonParams
- func (o *PublicGetCurrentSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetCurrentSeasonReader
- type PublicGetCurrentUserSeasonBadRequest
- type PublicGetCurrentUserSeasonNotFound
- type PublicGetCurrentUserSeasonOK
- type PublicGetCurrentUserSeasonParams
- func NewPublicGetCurrentUserSeasonParams() *PublicGetCurrentUserSeasonParams
- func NewPublicGetCurrentUserSeasonParamsWithContext(ctx context.Context) *PublicGetCurrentUserSeasonParams
- func NewPublicGetCurrentUserSeasonParamsWithHTTPClient(client *http.Client) *PublicGetCurrentUserSeasonParams
- func NewPublicGetCurrentUserSeasonParamsWithTimeout(timeout time.Duration) *PublicGetCurrentUserSeasonParams
- func (o *PublicGetCurrentUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetCurrentUserSeasonParams) SetContext(ctx context.Context)
- func (o *PublicGetCurrentUserSeasonParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetCurrentUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetCurrentUserSeasonParams) SetNamespace(namespace string)
- func (o *PublicGetCurrentUserSeasonParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetCurrentUserSeasonParams) SetUserID(userID string)
- func (o *PublicGetCurrentUserSeasonParams) WithContext(ctx context.Context) *PublicGetCurrentUserSeasonParams
- func (o *PublicGetCurrentUserSeasonParams) WithHTTPClient(client *http.Client) *PublicGetCurrentUserSeasonParams
- func (o *PublicGetCurrentUserSeasonParams) WithNamespace(namespace string) *PublicGetCurrentUserSeasonParams
- func (o *PublicGetCurrentUserSeasonParams) WithTimeout(timeout time.Duration) *PublicGetCurrentUserSeasonParams
- func (o *PublicGetCurrentUserSeasonParams) WithUserID(userID string) *PublicGetCurrentUserSeasonParams
- func (o *PublicGetCurrentUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetCurrentUserSeasonReader
- type PublicGetUserSeasonBadRequest
- type PublicGetUserSeasonNotFound
- type PublicGetUserSeasonOK
- type PublicGetUserSeasonParams
- func NewPublicGetUserSeasonParams() *PublicGetUserSeasonParams
- func NewPublicGetUserSeasonParamsWithContext(ctx context.Context) *PublicGetUserSeasonParams
- func NewPublicGetUserSeasonParamsWithHTTPClient(client *http.Client) *PublicGetUserSeasonParams
- func NewPublicGetUserSeasonParamsWithTimeout(timeout time.Duration) *PublicGetUserSeasonParams
- func (o *PublicGetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserSeasonParams) SetContext(ctx context.Context)
- func (o *PublicGetUserSeasonParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserSeasonParams) SetNamespace(namespace string)
- func (o *PublicGetUserSeasonParams) SetSeasonID(seasonID string)
- func (o *PublicGetUserSeasonParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserSeasonParams) SetUserID(userID string)
- func (o *PublicGetUserSeasonParams) WithContext(ctx context.Context) *PublicGetUserSeasonParams
- func (o *PublicGetUserSeasonParams) WithHTTPClient(client *http.Client) *PublicGetUserSeasonParams
- func (o *PublicGetUserSeasonParams) WithNamespace(namespace string) *PublicGetUserSeasonParams
- func (o *PublicGetUserSeasonParams) WithSeasonID(seasonID string) *PublicGetUserSeasonParams
- func (o *PublicGetUserSeasonParams) WithTimeout(timeout time.Duration) *PublicGetUserSeasonParams
- func (o *PublicGetUserSeasonParams) WithUserID(userID string) *PublicGetUserSeasonParams
- func (o *PublicGetUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserSeasonReader
- type PublishSeasonBadRequest
- type PublishSeasonConflict
- type PublishSeasonNotFound
- type PublishSeasonOK
- type PublishSeasonParams
- func (o *PublishSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublishSeasonParams) SetContext(ctx context.Context)
- func (o *PublishSeasonParams) SetHTTPClient(client *http.Client)
- func (o *PublishSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublishSeasonParams) SetNamespace(namespace string)
- func (o *PublishSeasonParams) SetSeasonID(seasonID string)
- func (o *PublishSeasonParams) SetTimeout(timeout time.Duration)
- func (o *PublishSeasonParams) WithContext(ctx context.Context) *PublishSeasonParams
- func (o *PublishSeasonParams) WithHTTPClient(client *http.Client) *PublishSeasonParams
- func (o *PublishSeasonParams) WithNamespace(namespace string) *PublishSeasonParams
- func (o *PublishSeasonParams) WithSeasonID(seasonID string) *PublishSeasonParams
- func (o *PublishSeasonParams) WithTimeout(timeout time.Duration) *PublishSeasonParams
- func (o *PublishSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublishSeasonReader
- type QuerySeasonsBadRequest
- type QuerySeasonsOK
- type QuerySeasonsParams
- func (o *QuerySeasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QuerySeasonsParams) SetContext(ctx context.Context)
- func (o *QuerySeasonsParams) SetHTTPClient(client *http.Client)
- func (o *QuerySeasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QuerySeasonsParams) SetLimit(limit *int32)
- func (o *QuerySeasonsParams) SetNamespace(namespace string)
- func (o *QuerySeasonsParams) SetOffset(offset *int32)
- func (o *QuerySeasonsParams) SetStatus(status []string)
- func (o *QuerySeasonsParams) SetTimeout(timeout time.Duration)
- func (o *QuerySeasonsParams) WithContext(ctx context.Context) *QuerySeasonsParams
- func (o *QuerySeasonsParams) WithHTTPClient(client *http.Client) *QuerySeasonsParams
- func (o *QuerySeasonsParams) WithLimit(limit *int32) *QuerySeasonsParams
- func (o *QuerySeasonsParams) WithNamespace(namespace string) *QuerySeasonsParams
- func (o *QuerySeasonsParams) WithOffset(offset *int32) *QuerySeasonsParams
- func (o *QuerySeasonsParams) WithStatus(status []string) *QuerySeasonsParams
- func (o *QuerySeasonsParams) WithTimeout(timeout time.Duration) *QuerySeasonsParams
- func (o *QuerySeasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySeasonsReader
- type QueryUserExpGrantHistoryBadRequest
- type QueryUserExpGrantHistoryOK
- type QueryUserExpGrantHistoryParams
- func NewQueryUserExpGrantHistoryParams() *QueryUserExpGrantHistoryParams
- func NewQueryUserExpGrantHistoryParamsWithContext(ctx context.Context) *QueryUserExpGrantHistoryParams
- func NewQueryUserExpGrantHistoryParamsWithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryParams
- func NewQueryUserExpGrantHistoryParamsWithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryUserExpGrantHistoryParams) SetContext(ctx context.Context)
- func (o *QueryUserExpGrantHistoryParams) SetFrom(from *string)
- func (o *QueryUserExpGrantHistoryParams) SetHTTPClient(client *http.Client)
- func (o *QueryUserExpGrantHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryUserExpGrantHistoryParams) SetLimit(limit *int32)
- func (o *QueryUserExpGrantHistoryParams) SetNamespace(namespace string)
- func (o *QueryUserExpGrantHistoryParams) SetOffset(offset *int32)
- func (o *QueryUserExpGrantHistoryParams) SetSeasonID(seasonID *string)
- func (o *QueryUserExpGrantHistoryParams) SetSource(source *string)
- func (o *QueryUserExpGrantHistoryParams) SetTags(tags []string)
- func (o *QueryUserExpGrantHistoryParams) SetTimeout(timeout time.Duration)
- func (o *QueryUserExpGrantHistoryParams) SetTo(to *string)
- func (o *QueryUserExpGrantHistoryParams) SetUserID(userID string)
- func (o *QueryUserExpGrantHistoryParams) WithContext(ctx context.Context) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithFrom(from *string) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithLimit(limit *int32) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithNamespace(namespace string) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithOffset(offset *int32) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithSeasonID(seasonID *string) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithSource(source *string) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithTags(tags []string) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithTo(to *string) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WithUserID(userID string) *QueryUserExpGrantHistoryParams
- func (o *QueryUserExpGrantHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryUserExpGrantHistoryReader
- type QueryUserExpGrantHistoryTagBadRequest
- type QueryUserExpGrantHistoryTagOK
- type QueryUserExpGrantHistoryTagParams
- func NewQueryUserExpGrantHistoryTagParams() *QueryUserExpGrantHistoryTagParams
- func NewQueryUserExpGrantHistoryTagParamsWithContext(ctx context.Context) *QueryUserExpGrantHistoryTagParams
- func NewQueryUserExpGrantHistoryTagParamsWithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryTagParams
- func NewQueryUserExpGrantHistoryTagParamsWithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryTagParams
- func (o *QueryUserExpGrantHistoryTagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryUserExpGrantHistoryTagParams) SetContext(ctx context.Context)
- func (o *QueryUserExpGrantHistoryTagParams) SetHTTPClient(client *http.Client)
- func (o *QueryUserExpGrantHistoryTagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryUserExpGrantHistoryTagParams) SetNamespace(namespace string)
- func (o *QueryUserExpGrantHistoryTagParams) SetSeasonID(seasonID *string)
- func (o *QueryUserExpGrantHistoryTagParams) SetTimeout(timeout time.Duration)
- func (o *QueryUserExpGrantHistoryTagParams) SetUserID(userID string)
- func (o *QueryUserExpGrantHistoryTagParams) WithContext(ctx context.Context) *QueryUserExpGrantHistoryTagParams
- func (o *QueryUserExpGrantHistoryTagParams) WithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryTagParams
- func (o *QueryUserExpGrantHistoryTagParams) WithNamespace(namespace string) *QueryUserExpGrantHistoryTagParams
- func (o *QueryUserExpGrantHistoryTagParams) WithSeasonID(seasonID *string) *QueryUserExpGrantHistoryTagParams
- func (o *QueryUserExpGrantHistoryTagParams) WithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryTagParams
- func (o *QueryUserExpGrantHistoryTagParams) WithUserID(userID string) *QueryUserExpGrantHistoryTagParams
- func (o *QueryUserExpGrantHistoryTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryUserExpGrantHistoryTagReader
- type ResetUserSeasonBadRequest
- type ResetUserSeasonNoContent
- type ResetUserSeasonParams
- func NewResetUserSeasonParams() *ResetUserSeasonParams
- func NewResetUserSeasonParamsWithContext(ctx context.Context) *ResetUserSeasonParams
- func NewResetUserSeasonParamsWithHTTPClient(client *http.Client) *ResetUserSeasonParams
- func NewResetUserSeasonParamsWithTimeout(timeout time.Duration) *ResetUserSeasonParams
- func (o *ResetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ResetUserSeasonParams) SetContext(ctx context.Context)
- func (o *ResetUserSeasonParams) SetHTTPClient(client *http.Client)
- func (o *ResetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ResetUserSeasonParams) SetNamespace(namespace string)
- func (o *ResetUserSeasonParams) SetTimeout(timeout time.Duration)
- func (o *ResetUserSeasonParams) SetUserID(userID string)
- func (o *ResetUserSeasonParams) WithContext(ctx context.Context) *ResetUserSeasonParams
- func (o *ResetUserSeasonParams) WithHTTPClient(client *http.Client) *ResetUserSeasonParams
- func (o *ResetUserSeasonParams) WithNamespace(namespace string) *ResetUserSeasonParams
- func (o *ResetUserSeasonParams) WithTimeout(timeout time.Duration) *ResetUserSeasonParams
- func (o *ResetUserSeasonParams) WithUserID(userID string) *ResetUserSeasonParams
- func (o *ResetUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetUserSeasonReader
- type RetireSeasonBadRequest
- type RetireSeasonConflict
- type RetireSeasonNotFound
- type RetireSeasonOK
- type RetireSeasonParams
- func (o *RetireSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetireSeasonParams) SetContext(ctx context.Context)
- func (o *RetireSeasonParams) SetForce(force *bool)
- func (o *RetireSeasonParams) SetHTTPClient(client *http.Client)
- func (o *RetireSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetireSeasonParams) SetNamespace(namespace string)
- func (o *RetireSeasonParams) SetSeasonID(seasonID string)
- func (o *RetireSeasonParams) SetTimeout(timeout time.Duration)
- func (o *RetireSeasonParams) WithContext(ctx context.Context) *RetireSeasonParams
- func (o *RetireSeasonParams) WithForce(force *bool) *RetireSeasonParams
- func (o *RetireSeasonParams) WithHTTPClient(client *http.Client) *RetireSeasonParams
- func (o *RetireSeasonParams) WithNamespace(namespace string) *RetireSeasonParams
- func (o *RetireSeasonParams) WithSeasonID(seasonID string) *RetireSeasonParams
- func (o *RetireSeasonParams) WithTimeout(timeout time.Duration) *RetireSeasonParams
- func (o *RetireSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetireSeasonReader
- type UnpublishSeasonBadRequest
- type UnpublishSeasonConflict
- type UnpublishSeasonNotFound
- type UnpublishSeasonOK
- type UnpublishSeasonParams
- func NewUnpublishSeasonParams() *UnpublishSeasonParams
- func NewUnpublishSeasonParamsWithContext(ctx context.Context) *UnpublishSeasonParams
- func NewUnpublishSeasonParamsWithHTTPClient(client *http.Client) *UnpublishSeasonParams
- func NewUnpublishSeasonParamsWithTimeout(timeout time.Duration) *UnpublishSeasonParams
- func (o *UnpublishSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UnpublishSeasonParams) SetContext(ctx context.Context)
- func (o *UnpublishSeasonParams) SetForce(force *bool)
- func (o *UnpublishSeasonParams) SetHTTPClient(client *http.Client)
- func (o *UnpublishSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UnpublishSeasonParams) SetNamespace(namespace string)
- func (o *UnpublishSeasonParams) SetSeasonID(seasonID string)
- func (o *UnpublishSeasonParams) SetTimeout(timeout time.Duration)
- func (o *UnpublishSeasonParams) WithContext(ctx context.Context) *UnpublishSeasonParams
- func (o *UnpublishSeasonParams) WithForce(force *bool) *UnpublishSeasonParams
- func (o *UnpublishSeasonParams) WithHTTPClient(client *http.Client) *UnpublishSeasonParams
- func (o *UnpublishSeasonParams) WithNamespace(namespace string) *UnpublishSeasonParams
- func (o *UnpublishSeasonParams) WithSeasonID(seasonID string) *UnpublishSeasonParams
- func (o *UnpublishSeasonParams) WithTimeout(timeout time.Duration) *UnpublishSeasonParams
- func (o *UnpublishSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnpublishSeasonReader
- type UpdateSeasonBadRequest
- type UpdateSeasonConflict
- type UpdateSeasonNotFound
- type UpdateSeasonOK
- type UpdateSeasonParams
- func (o *UpdateSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateSeasonParams) SetBody(body *seasonpassclientmodels.SeasonUpdate)
- func (o *UpdateSeasonParams) SetContext(ctx context.Context)
- func (o *UpdateSeasonParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateSeasonParams) SetNamespace(namespace string)
- func (o *UpdateSeasonParams) SetSeasonID(seasonID string)
- func (o *UpdateSeasonParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSeasonParams) WithBody(body *seasonpassclientmodels.SeasonUpdate) *UpdateSeasonParams
- func (o *UpdateSeasonParams) WithContext(ctx context.Context) *UpdateSeasonParams
- func (o *UpdateSeasonParams) WithHTTPClient(client *http.Client) *UpdateSeasonParams
- func (o *UpdateSeasonParams) WithNamespace(namespace string) *UpdateSeasonParams
- func (o *UpdateSeasonParams) WithSeasonID(seasonID string) *UpdateSeasonParams
- func (o *UpdateSeasonParams) WithTimeout(timeout time.Duration) *UpdateSeasonParams
- func (o *UpdateSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSeasonReader
- type UpdateSeasonUnprocessableEntity
Constants ¶
const ( QueryUserExpGrantHistoryPAIDFORConstant = "PAID_FOR" QueryUserExpGrantHistorySWEATConstant = "SWEAT" )
Get the enum in QueryUserExpGrantHistoryParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkGetUserSeasonProgressionBadRequest ¶ added in v0.30.0
type BulkGetUserSeasonProgressionBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
BulkGetUserSeasonProgressionBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewBulkGetUserSeasonProgressionBadRequest ¶ added in v0.30.0
func NewBulkGetUserSeasonProgressionBadRequest() *BulkGetUserSeasonProgressionBadRequest
NewBulkGetUserSeasonProgressionBadRequest creates a BulkGetUserSeasonProgressionBadRequest with default headers values
func (*BulkGetUserSeasonProgressionBadRequest) Error ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionBadRequest) Error() string
func (*BulkGetUserSeasonProgressionBadRequest) GetPayload ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*BulkGetUserSeasonProgressionBadRequest) ToJSONString ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionBadRequest) ToJSONString() string
type BulkGetUserSeasonProgressionNotFound ¶ added in v0.30.0
type BulkGetUserSeasonProgressionNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
BulkGetUserSeasonProgressionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>
func NewBulkGetUserSeasonProgressionNotFound ¶ added in v0.30.0
func NewBulkGetUserSeasonProgressionNotFound() *BulkGetUserSeasonProgressionNotFound
NewBulkGetUserSeasonProgressionNotFound creates a BulkGetUserSeasonProgressionNotFound with default headers values
func (*BulkGetUserSeasonProgressionNotFound) Error ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionNotFound) Error() string
func (*BulkGetUserSeasonProgressionNotFound) GetPayload ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*BulkGetUserSeasonProgressionNotFound) ToJSONString ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionNotFound) ToJSONString() string
type BulkGetUserSeasonProgressionOK ¶ added in v0.30.0
type BulkGetUserSeasonProgressionOK struct {
Payload []*seasonpassclientmodels.UserSeasonSummary
}
BulkGetUserSeasonProgressionOK handles this case with default header values.
successful operation
func NewBulkGetUserSeasonProgressionOK ¶ added in v0.30.0
func NewBulkGetUserSeasonProgressionOK() *BulkGetUserSeasonProgressionOK
NewBulkGetUserSeasonProgressionOK creates a BulkGetUserSeasonProgressionOK with default headers values
func (*BulkGetUserSeasonProgressionOK) Error ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionOK) Error() string
func (*BulkGetUserSeasonProgressionOK) GetPayload ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionOK) GetPayload() []*seasonpassclientmodels.UserSeasonSummary
func (*BulkGetUserSeasonProgressionOK) ToJSONString ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionOK) ToJSONString() string
type BulkGetUserSeasonProgressionParams ¶ added in v0.30.0
type BulkGetUserSeasonProgressionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *seasonpassclientmodels.BulkUserProgressionRequest /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkGetUserSeasonProgressionParams contains all the parameters to send to the API endpoint for the bulk get user season progression operation typically these are written to a http.Request
func NewBulkGetUserSeasonProgressionParams ¶ added in v0.30.0
func NewBulkGetUserSeasonProgressionParams() *BulkGetUserSeasonProgressionParams
NewBulkGetUserSeasonProgressionParams creates a new BulkGetUserSeasonProgressionParams object with the default values initialized.
func NewBulkGetUserSeasonProgressionParamsWithContext ¶ added in v0.30.0
func NewBulkGetUserSeasonProgressionParamsWithContext(ctx context.Context) *BulkGetUserSeasonProgressionParams
NewBulkGetUserSeasonProgressionParamsWithContext creates a new BulkGetUserSeasonProgressionParams object with the default values initialized, and the ability to set a context for a request
func NewBulkGetUserSeasonProgressionParamsWithHTTPClient ¶ added in v0.30.0
func NewBulkGetUserSeasonProgressionParamsWithHTTPClient(client *http.Client) *BulkGetUserSeasonProgressionParams
NewBulkGetUserSeasonProgressionParamsWithHTTPClient creates a new BulkGetUserSeasonProgressionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkGetUserSeasonProgressionParamsWithTimeout ¶ added in v0.30.0
func NewBulkGetUserSeasonProgressionParamsWithTimeout(timeout time.Duration) *BulkGetUserSeasonProgressionParams
NewBulkGetUserSeasonProgressionParamsWithTimeout creates a new BulkGetUserSeasonProgressionParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkGetUserSeasonProgressionParams) SetAuthInfoWriter ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) SetBody ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) SetBody(body *seasonpassclientmodels.BulkUserProgressionRequest)
SetBody adds the body to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) SetContext ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) SetHTTPClient ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) SetHTTPClientTransport ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) SetNamespace ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) SetTimeout ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) WithBody ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) WithBody(body *seasonpassclientmodels.BulkUserProgressionRequest) *BulkGetUserSeasonProgressionParams
WithBody adds the body to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) WithContext ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) WithContext(ctx context.Context) *BulkGetUserSeasonProgressionParams
WithContext adds the context to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) WithHTTPClient ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) WithHTTPClient(client *http.Client) *BulkGetUserSeasonProgressionParams
WithHTTPClient adds the HTTPClient to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) WithNamespace ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) WithNamespace(namespace string) *BulkGetUserSeasonProgressionParams
WithNamespace adds the namespace to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) WithTimeout ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) WithTimeout(timeout time.Duration) *BulkGetUserSeasonProgressionParams
WithTimeout adds the timeout to the bulk get user season progression params
func (*BulkGetUserSeasonProgressionParams) WriteToRequest ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkGetUserSeasonProgressionReader ¶ added in v0.30.0
type BulkGetUserSeasonProgressionReader struct {
// contains filtered or unexported fields
}
BulkGetUserSeasonProgressionReader is a Reader for the BulkGetUserSeasonProgression structure.
func (*BulkGetUserSeasonProgressionReader) ReadResponse ¶ added in v0.30.0
func (o *BulkGetUserSeasonProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckSeasonPurchasableBadRequest ¶
type CheckSeasonPurchasableBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
CheckSeasonPurchasableBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewCheckSeasonPurchasableBadRequest ¶
func NewCheckSeasonPurchasableBadRequest() *CheckSeasonPurchasableBadRequest
NewCheckSeasonPurchasableBadRequest creates a CheckSeasonPurchasableBadRequest with default headers values
func (*CheckSeasonPurchasableBadRequest) Error ¶
func (o *CheckSeasonPurchasableBadRequest) Error() string
func (*CheckSeasonPurchasableBadRequest) GetPayload ¶
func (o *CheckSeasonPurchasableBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*CheckSeasonPurchasableBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CheckSeasonPurchasableBadRequest) ToJSONString() string
type CheckSeasonPurchasableConflict ¶
type CheckSeasonPurchasableConflict struct {
Payload *seasonpassclientmodels.ErrorEntity
}
CheckSeasonPurchasableConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49183</td><td>Pass item does not match published season pass</td></tr><tr><td>49184</td><td>Tier item does not match published season tier</td></tr><tr><td>49185</td><td>Season has not started</td></tr><tr><td>49186</td><td>Pass already owned</td></tr><tr><td>49187</td><td>Exceed max tier count</td></tr></table>
func NewCheckSeasonPurchasableConflict ¶
func NewCheckSeasonPurchasableConflict() *CheckSeasonPurchasableConflict
NewCheckSeasonPurchasableConflict creates a CheckSeasonPurchasableConflict with default headers values
func (*CheckSeasonPurchasableConflict) Error ¶
func (o *CheckSeasonPurchasableConflict) Error() string
func (*CheckSeasonPurchasableConflict) GetPayload ¶
func (o *CheckSeasonPurchasableConflict) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*CheckSeasonPurchasableConflict) ToJSONString ¶ added in v0.25.0
func (o *CheckSeasonPurchasableConflict) ToJSONString() string
type CheckSeasonPurchasableNoContent ¶
type CheckSeasonPurchasableNoContent struct { }
CheckSeasonPurchasableNoContent handles this case with default header values.
OK
func NewCheckSeasonPurchasableNoContent ¶
func NewCheckSeasonPurchasableNoContent() *CheckSeasonPurchasableNoContent
NewCheckSeasonPurchasableNoContent creates a CheckSeasonPurchasableNoContent with default headers values
func (*CheckSeasonPurchasableNoContent) Error ¶
func (o *CheckSeasonPurchasableNoContent) Error() string
type CheckSeasonPurchasableNotFound ¶
type CheckSeasonPurchasableNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
CheckSeasonPurchasableNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>
func NewCheckSeasonPurchasableNotFound ¶
func NewCheckSeasonPurchasableNotFound() *CheckSeasonPurchasableNotFound
NewCheckSeasonPurchasableNotFound creates a CheckSeasonPurchasableNotFound with default headers values
func (*CheckSeasonPurchasableNotFound) Error ¶
func (o *CheckSeasonPurchasableNotFound) Error() string
func (*CheckSeasonPurchasableNotFound) GetPayload ¶
func (o *CheckSeasonPurchasableNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*CheckSeasonPurchasableNotFound) ToJSONString ¶ added in v0.25.0
func (o *CheckSeasonPurchasableNotFound) ToJSONString() string
type CheckSeasonPurchasableParams ¶
type CheckSeasonPurchasableParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *seasonpassclientmodels.UserPurchasable /*Namespace Namespace */ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckSeasonPurchasableParams contains all the parameters to send to the API endpoint for the check season purchasable operation typically these are written to a http.Request
func NewCheckSeasonPurchasableParams ¶
func NewCheckSeasonPurchasableParams() *CheckSeasonPurchasableParams
NewCheckSeasonPurchasableParams creates a new CheckSeasonPurchasableParams object with the default values initialized.
func NewCheckSeasonPurchasableParamsWithContext ¶
func NewCheckSeasonPurchasableParamsWithContext(ctx context.Context) *CheckSeasonPurchasableParams
NewCheckSeasonPurchasableParamsWithContext creates a new CheckSeasonPurchasableParams object with the default values initialized, and the ability to set a context for a request
func NewCheckSeasonPurchasableParamsWithHTTPClient ¶
func NewCheckSeasonPurchasableParamsWithHTTPClient(client *http.Client) *CheckSeasonPurchasableParams
NewCheckSeasonPurchasableParamsWithHTTPClient creates a new CheckSeasonPurchasableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckSeasonPurchasableParamsWithTimeout ¶
func NewCheckSeasonPurchasableParamsWithTimeout(timeout time.Duration) *CheckSeasonPurchasableParams
NewCheckSeasonPurchasableParamsWithTimeout creates a new CheckSeasonPurchasableParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckSeasonPurchasableParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CheckSeasonPurchasableParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the check season purchasable params
func (*CheckSeasonPurchasableParams) SetBody ¶
func (o *CheckSeasonPurchasableParams) SetBody(body *seasonpassclientmodels.UserPurchasable)
SetBody adds the body to the check season purchasable params
func (*CheckSeasonPurchasableParams) SetContext ¶
func (o *CheckSeasonPurchasableParams) SetContext(ctx context.Context)
SetContext adds the context to the check season purchasable params
func (*CheckSeasonPurchasableParams) SetHTTPClient ¶
func (o *CheckSeasonPurchasableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check season purchasable params
func (*CheckSeasonPurchasableParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CheckSeasonPurchasableParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the check season purchasable params
func (*CheckSeasonPurchasableParams) SetNamespace ¶
func (o *CheckSeasonPurchasableParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the check season purchasable params
func (*CheckSeasonPurchasableParams) SetTimeout ¶
func (o *CheckSeasonPurchasableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check season purchasable params
func (*CheckSeasonPurchasableParams) SetUserID ¶
func (o *CheckSeasonPurchasableParams) SetUserID(userID string)
SetUserID adds the userId to the check season purchasable params
func (*CheckSeasonPurchasableParams) WithBody ¶
func (o *CheckSeasonPurchasableParams) WithBody(body *seasonpassclientmodels.UserPurchasable) *CheckSeasonPurchasableParams
WithBody adds the body to the check season purchasable params
func (*CheckSeasonPurchasableParams) WithContext ¶
func (o *CheckSeasonPurchasableParams) WithContext(ctx context.Context) *CheckSeasonPurchasableParams
WithContext adds the context to the check season purchasable params
func (*CheckSeasonPurchasableParams) WithHTTPClient ¶
func (o *CheckSeasonPurchasableParams) WithHTTPClient(client *http.Client) *CheckSeasonPurchasableParams
WithHTTPClient adds the HTTPClient to the check season purchasable params
func (*CheckSeasonPurchasableParams) WithNamespace ¶
func (o *CheckSeasonPurchasableParams) WithNamespace(namespace string) *CheckSeasonPurchasableParams
WithNamespace adds the namespace to the check season purchasable params
func (*CheckSeasonPurchasableParams) WithTimeout ¶
func (o *CheckSeasonPurchasableParams) WithTimeout(timeout time.Duration) *CheckSeasonPurchasableParams
WithTimeout adds the timeout to the check season purchasable params
func (*CheckSeasonPurchasableParams) WithUserID ¶
func (o *CheckSeasonPurchasableParams) WithUserID(userID string) *CheckSeasonPurchasableParams
WithUserID adds the userID to the check season purchasable params
func (*CheckSeasonPurchasableParams) WriteToRequest ¶
func (o *CheckSeasonPurchasableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckSeasonPurchasableReader ¶
type CheckSeasonPurchasableReader struct {
// contains filtered or unexported fields
}
CheckSeasonPurchasableReader is a Reader for the CheckSeasonPurchasable structure.
func (*CheckSeasonPurchasableReader) ReadResponse ¶
func (o *CheckSeasonPurchasableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for season API
func (*Client) BulkGetUserSeasonProgression
deprecated
added in
v0.30.0
func (a *Client) BulkGetUserSeasonProgression(params *BulkGetUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetUserSeasonProgressionOK, *BulkGetUserSeasonProgressionBadRequest, *BulkGetUserSeasonProgressionNotFound, error)
Deprecated: Use BulkGetUserSeasonProgressionShort instead.
BulkGetUserSeasonProgression bulks get user current season progression This API is used to bulk get user current season progression, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS, action=2 (READ)</li><li><i>Returns</i>: user season progression</li></ul>
func (*Client) BulkGetUserSeasonProgressionShort ¶ added in v0.30.0
func (a *Client) BulkGetUserSeasonProgressionShort(params *BulkGetUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetUserSeasonProgressionOK, error)
BulkGetUserSeasonProgressionShort bulks get user current season progression
This API is used to bulk get user current season progression, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS, action=2 (READ)</li><li><i>Returns</i>: user season progression</li></ul>
func (*Client) CheckSeasonPurchasable
deprecated
func (a *Client) CheckSeasonPurchasable(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, *CheckSeasonPurchasableBadRequest, *CheckSeasonPurchasableNotFound, *CheckSeasonPurchasableConflict, error)
Deprecated: Use CheckSeasonPurchasableShort instead.
CheckSeasonPurchasable checks pass or tier purchasable This API is used to check pass or tier purchasable, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li></ul>
func (*Client) CheckSeasonPurchasableShort ¶
func (a *Client) CheckSeasonPurchasableShort(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, error)
CheckSeasonPurchasableShort checks pass or tier purchasable
This API is used to check pass or tier purchasable, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li></ul>
func (*Client) CloneSeason
deprecated
func (a *Client) CloneSeason(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, *CloneSeasonBadRequest, *CloneSeasonNotFound, *CloneSeasonUnprocessableEntity, error)
Deprecated: Use CloneSeasonShort instead.
CloneSeason clones a season This API is used to clone a season.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=1 (CREATE)</li><li><i>Returns</i>: cloned season info</li></ul>
func (*Client) CloneSeasonShort ¶
func (a *Client) CloneSeasonShort(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, error)
CloneSeasonShort clones a season
This API is used to clone a season.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=1 (CREATE)</li><li><i>Returns</i>: cloned season info</li></ul>
func (*Client) CreateSeason
deprecated
func (a *Client) CreateSeason(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, *CreateSeasonBadRequest, *CreateSeasonNotFound, *CreateSeasonUnprocessableEntity, error)
Deprecated: Use CreateSeasonShort instead.
CreateSeason creates a season This API is used to create a season, season only allowed in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=1 (CREATE)</li><li><i>Returns</i>: created season</li></ul>
func (*Client) CreateSeasonShort ¶
func (a *Client) CreateSeasonShort(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, error)
CreateSeasonShort creates a season
This API is used to create a season, season only allowed in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=1 (CREATE)</li><li><i>Returns</i>: created season</li></ul>
func (*Client) DeleteSeason
deprecated
func (a *Client) DeleteSeason(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, *DeleteSeasonBadRequest, *DeleteSeasonNotFound, *DeleteSeasonConflict, error)
Deprecated: Use DeleteSeasonShort instead.
DeleteSeason deletes a season This API is used to delete a season permanently, only draft season can be deleted. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=8 (DELETE)</li></ul>
func (*Client) DeleteSeasonShort ¶
func (a *Client) DeleteSeasonShort(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, error)
DeleteSeasonShort deletes a season
This API is used to delete a season permanently, only draft season can be deleted. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=8 (DELETE)</li></ul>
func (*Client) ExistsAnyPassByPassCodes
deprecated
func (a *Client) ExistsAnyPassByPassCodes(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, *ExistsAnyPassByPassCodesBadRequest, error)
Deprecated: Use ExistsAnyPassByPassCodesShort instead.
ExistsAnyPassByPassCodes gets ownership for any pass codes [SERVICE COMMUNICATION ONLY]This API is used to get ownership for any pass codes, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: ownership</li></ul>
func (*Client) ExistsAnyPassByPassCodesShort ¶
func (a *Client) ExistsAnyPassByPassCodesShort(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, error)
ExistsAnyPassByPassCodesShort gets ownership for any pass codes
[SERVICE COMMUNICATION ONLY]This API is used to get ownership for any pass codes, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: ownership</li></ul>
func (*Client) GetCurrentSeason
deprecated
func (a *Client) GetCurrentSeason(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, *GetCurrentSeasonBadRequest, *GetCurrentSeasonNotFound, error)
Deprecated: Use GetCurrentSeasonShort instead.
GetCurrentSeason gets current published season summary [SERVICE COMMUNICATION ONLY]This API is used to get current published season summary which includes previous published season summary if exists, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Returns</i>: season summary data</li></ul>
func (*Client) GetCurrentSeasonShort ¶
func (a *Client) GetCurrentSeasonShort(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, error)
GetCurrentSeasonShort gets current published season summary
[SERVICE COMMUNICATION ONLY]This API is used to get current published season summary which includes previous published season summary if exists, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Returns</i>: season summary data</li></ul>
func (*Client) GetCurrentUserSeasonProgression
deprecated
func (a *Client) GetCurrentUserSeasonProgression(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, *GetCurrentUserSeasonProgressionBadRequest, *GetCurrentUserSeasonProgressionNotFound, error)
Deprecated: Use GetCurrentUserSeasonProgressionShort instead.
GetCurrentUserSeasonProgression gets current user season progression This API is used to get current user season progression, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season progression</li></ul>
func (*Client) GetCurrentUserSeasonProgressionShort ¶
func (a *Client) GetCurrentUserSeasonProgressionShort(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, error)
GetCurrentUserSeasonProgressionShort gets current user season progression
This API is used to get current user season progression, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season progression</li></ul>
func (*Client) GetFullSeason
deprecated
added in
v0.26.0
func (a *Client) GetFullSeason(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, *GetFullSeasonBadRequest, *GetFullSeasonNotFound, error)
Deprecated: Use GetFullSeasonShort instead.
GetFullSeason gets a season full content This API is used to get a season full content, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: season data</li></ul>
func (*Client) GetFullSeasonShort ¶ added in v0.26.0
func (a *Client) GetFullSeasonShort(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, error)
GetFullSeasonShort gets a season full content
This API is used to get a season full content, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: season data</li></ul>
func (*Client) GetSeason
deprecated
func (a *Client) GetSeason(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, *GetSeasonBadRequest, *GetSeasonNotFound, error)
Deprecated: Use GetSeasonShort instead.
GetSeason gets a season This API is used to get a season, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: season data</li></ul>
func (*Client) GetSeasonShort ¶
func (a *Client) GetSeasonShort(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, error)
GetSeasonShort gets a season
This API is used to get a season, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: season data</li></ul>
func (*Client) GetUserParticipatedSeasons
deprecated
func (a *Client) GetUserParticipatedSeasons(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, *GetUserParticipatedSeasonsBadRequest, error)
Deprecated: Use GetUserParticipatedSeasonsShort instead.
GetUserParticipatedSeasons gets user participated season data This API is used to get user participated season data, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user participated season data</li></ul>
func (*Client) GetUserParticipatedSeasonsShort ¶
func (a *Client) GetUserParticipatedSeasonsShort(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, error)
GetUserParticipatedSeasonsShort gets user participated season data
This API is used to get user participated season data, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user participated season data</li></ul>
func (*Client) GetUserSeason
deprecated
func (a *Client) GetUserSeason(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, *GetUserSeasonBadRequest, *GetUserSeasonNotFound, error)
Deprecated: Use GetUserSeasonShort instead.
GetUserSeason gets user season data This API is used to get user season data, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season data</li></ul>
func (*Client) GetUserSeasonShort ¶
func (a *Client) GetUserSeasonShort(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, error)
GetUserSeasonShort gets user season data
This API is used to get user season data, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season data</li></ul>
func (*Client) PublicGetCurrentSeason
deprecated
func (a *Client) PublicGetCurrentSeason(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, *PublicGetCurrentSeasonBadRequest, *PublicGetCurrentSeasonNotFound, error)
Deprecated: Use PublicGetCurrentSeasonShort instead.
PublicGetCurrentSeason gets current published season This API is used to get current published season, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Returns</i>: localized season data</li></ul>
func (*Client) PublicGetCurrentSeasonShort ¶
func (a *Client) PublicGetCurrentSeasonShort(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, error)
PublicGetCurrentSeasonShort gets current published season
This API is used to get current published season, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Returns</i>: localized season data</li></ul>
func (*Client) PublicGetCurrentUserSeason
deprecated
func (a *Client) PublicGetCurrentUserSeason(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, *PublicGetCurrentUserSeasonBadRequest, *PublicGetCurrentUserSeasonNotFound, error)
Deprecated: Use PublicGetCurrentUserSeasonShort instead.
PublicGetCurrentUserSeason gets current user season data This API is used to get current user season data, it will auto enroll if there's no user season but active published season exist, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season data</li></ul>
func (*Client) PublicGetCurrentUserSeasonShort ¶
func (a *Client) PublicGetCurrentUserSeasonShort(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, error)
PublicGetCurrentUserSeasonShort gets current user season data
This API is used to get current user season data, it will auto enroll if there's no user season but active published season exist, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season data</li></ul>
func (*Client) PublicGetUserSeason
deprecated
func (a *Client) PublicGetUserSeason(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, *PublicGetUserSeasonBadRequest, *PublicGetUserSeasonNotFound, error)
Deprecated: Use PublicGetUserSeasonShort instead.
PublicGetUserSeason gets user season data This API is used to get user season data, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season data</li></ul>
func (*Client) PublicGetUserSeasonShort ¶
func (a *Client) PublicGetUserSeasonShort(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, error)
PublicGetUserSeasonShort gets user season data
This API is used to get user season data, season only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: user season data</li></ul>
func (*Client) PublishSeason
deprecated
func (a *Client) PublishSeason(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, *PublishSeasonBadRequest, *PublishSeasonNotFound, *PublishSeasonConflict, error)
Deprecated: Use PublishSeasonShort instead.
PublishSeason publishes a season This API is used to publish a draft season, only one published season allowed at same time in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: published season</li></ul>
func (*Client) PublishSeasonShort ¶
func (a *Client) PublishSeasonShort(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, error)
PublishSeasonShort publishes a season
This API is used to publish a draft season, only one published season allowed at same time in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: published season</li></ul>
func (*Client) QuerySeasons
deprecated
func (a *Client) QuerySeasons(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, *QuerySeasonsBadRequest, error)
Deprecated: Use QuerySeasonsShort instead.
QuerySeasons queries seasons This API is used to query seasons, seasons only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: the list of season basic info</li></ul>
func (*Client) QuerySeasonsShort ¶
func (a *Client) QuerySeasonsShort(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, error)
QuerySeasonsShort queries seasons
This API is used to query seasons, seasons only located in non-publisher namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: the list of season basic info</li></ul>
func (*Client) QueryUserExpGrantHistory
deprecated
added in
v0.21.0
func (a *Client) QueryUserExpGrantHistory(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, *QueryUserExpGrantHistoryBadRequest, error)
Deprecated: Use QueryUserExpGrantHistoryShort instead.
QueryUserExpGrantHistory queries user season exp acquisition history This API is used to get user exp acquisition history, season only located in non-publisher namespace.<p>Other detail info: <ul><li>default will query from current active season</li><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: paginated grant history</li></ul>
func (*Client) QueryUserExpGrantHistoryShort ¶ added in v0.21.0
func (a *Client) QueryUserExpGrantHistoryShort(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, error)
QueryUserExpGrantHistoryShort queries user season exp acquisition history
This API is used to get user exp acquisition history, season only located in non-publisher namespace.<p>Other detail info: <ul><li>default will query from current active season</li><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: paginated grant history</li></ul>
func (*Client) QueryUserExpGrantHistoryTag
deprecated
added in
v0.21.0
func (a *Client) QueryUserExpGrantHistoryTag(params *QueryUserExpGrantHistoryTagParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryTagOK, *QueryUserExpGrantHistoryTagBadRequest, error)
Deprecated: Use QueryUserExpGrantHistoryTagShort instead.
QueryUserExpGrantHistoryTag queries user season exp acquisition history s reason tag list This API is used to get user exp acquisition history's tag list.<p>Other detail info: <ul><li>default will query from current active season</li><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: exp grant history tags list</li></ul>
func (*Client) QueryUserExpGrantHistoryTagShort ¶ added in v0.21.0
func (a *Client) QueryUserExpGrantHistoryTagShort(params *QueryUserExpGrantHistoryTagParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryTagOK, error)
QueryUserExpGrantHistoryTagShort queries user season exp acquisition history s reason tag list
This API is used to get user exp acquisition history's tag list.<p>Other detail info: <ul><li>default will query from current active season</li><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=2 (READ)</li><li><i>Returns</i>: exp grant history tags list</li></ul>
func (*Client) ResetUserSeason
deprecated
func (a *Client) ResetUserSeason(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, *ResetUserSeasonBadRequest, error)
Deprecated: Use ResetUserSeasonShort instead.
ResetUserSeason resets user data in current season <b>[TEST FACILITY ONLY] Forbidden in live environment. </b>This API is used to reset user data in current season, it will not revoke the rewarded entitlements.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=8 (DELETE)</li></ul>
func (*Client) ResetUserSeasonShort ¶
func (a *Client) ResetUserSeasonShort(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, error)
ResetUserSeasonShort resets user data in current season
<b>[TEST FACILITY ONLY] Forbidden in live environment. </b>This API is used to reset user data in current season, it will not revoke the rewarded entitlements.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS", action=8 (DELETE)</li></ul>
func (*Client) RetireSeason
deprecated
func (a *Client) RetireSeason(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, *RetireSeasonBadRequest, *RetireSeasonNotFound, *RetireSeasonConflict, error)
Deprecated: Use RetireSeasonShort instead.
RetireSeason retires a season This API is used to retire a published season, if the season has not ended it will report error except with force.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: season info</li></ul>
func (*Client) RetireSeasonShort ¶
func (a *Client) RetireSeasonShort(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, error)
RetireSeasonShort retires a season
This API is used to retire a published season, if the season has not ended it will report error except with force.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: season info</li></ul>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnpublishSeason
deprecated
func (a *Client) UnpublishSeason(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, *UnpublishSeasonBadRequest, *UnpublishSeasonNotFound, *UnpublishSeasonConflict, error)
Deprecated: Use UnpublishSeasonShort instead.
UnpublishSeason unpublishes a season This API is used to unpublish a published season, if the season already started it will report error except with force.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: season info</li></ul>
func (*Client) UnpublishSeasonShort ¶
func (a *Client) UnpublishSeasonShort(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, error)
UnpublishSeasonShort unpublishes a season
This API is used to unpublish a published season, if the season already started it will report error except with force.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: season info</li></ul>
func (*Client) UpdateSeason
deprecated
func (a *Client) UpdateSeason(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, *UpdateSeasonBadRequest, *UpdateSeasonNotFound, *UpdateSeasonConflict, *UpdateSeasonUnprocessableEntity, error)
Deprecated: Use UpdateSeasonShort instead.
UpdateSeason updates a season This API is used to update a season. Only draft season can be updated.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: updated season</li></ul>
func (*Client) UpdateSeasonShort ¶
func (a *Client) UpdateSeasonShort(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, error)
UpdateSeasonShort updates a season
This API is used to update a season. Only draft season can be updated.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SEASONPASS", action=4 (UPDATE)</li><li><i>Returns</i>: updated season</li></ul>
type ClientService ¶
type ClientService interface { BulkGetUserSeasonProgression(params *BulkGetUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetUserSeasonProgressionOK, *BulkGetUserSeasonProgressionBadRequest, *BulkGetUserSeasonProgressionNotFound, error) BulkGetUserSeasonProgressionShort(params *BulkGetUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetUserSeasonProgressionOK, error) CheckSeasonPurchasable(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, *CheckSeasonPurchasableBadRequest, *CheckSeasonPurchasableNotFound, *CheckSeasonPurchasableConflict, error) CheckSeasonPurchasableShort(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, error) CloneSeason(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, *CloneSeasonBadRequest, *CloneSeasonNotFound, *CloneSeasonUnprocessableEntity, error) CloneSeasonShort(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, error) CreateSeason(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, *CreateSeasonBadRequest, *CreateSeasonNotFound, *CreateSeasonUnprocessableEntity, error) CreateSeasonShort(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, error) DeleteSeason(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, *DeleteSeasonBadRequest, *DeleteSeasonNotFound, *DeleteSeasonConflict, error) DeleteSeasonShort(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, error) ExistsAnyPassByPassCodes(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, *ExistsAnyPassByPassCodesBadRequest, error) ExistsAnyPassByPassCodesShort(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, error) GetCurrentSeason(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, *GetCurrentSeasonBadRequest, *GetCurrentSeasonNotFound, error) GetCurrentSeasonShort(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, error) GetCurrentUserSeasonProgression(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, *GetCurrentUserSeasonProgressionBadRequest, *GetCurrentUserSeasonProgressionNotFound, error) GetCurrentUserSeasonProgressionShort(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, error) GetFullSeason(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, *GetFullSeasonBadRequest, *GetFullSeasonNotFound, error) GetFullSeasonShort(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, error) GetSeason(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, *GetSeasonBadRequest, *GetSeasonNotFound, error) GetSeasonShort(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, error) GetUserParticipatedSeasons(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, *GetUserParticipatedSeasonsBadRequest, error) GetUserParticipatedSeasonsShort(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, error) GetUserSeason(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, *GetUserSeasonBadRequest, *GetUserSeasonNotFound, error) GetUserSeasonShort(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, error) PublicGetCurrentSeason(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, *PublicGetCurrentSeasonBadRequest, *PublicGetCurrentSeasonNotFound, error) PublicGetCurrentSeasonShort(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, error) PublicGetCurrentUserSeason(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, *PublicGetCurrentUserSeasonBadRequest, *PublicGetCurrentUserSeasonNotFound, error) PublicGetCurrentUserSeasonShort(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, error) PublicGetUserSeason(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, *PublicGetUserSeasonBadRequest, *PublicGetUserSeasonNotFound, error) PublicGetUserSeasonShort(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, error) PublishSeason(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, *PublishSeasonBadRequest, *PublishSeasonNotFound, *PublishSeasonConflict, error) PublishSeasonShort(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, error) QuerySeasons(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, *QuerySeasonsBadRequest, error) QuerySeasonsShort(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, error) QueryUserExpGrantHistory(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, *QueryUserExpGrantHistoryBadRequest, error) QueryUserExpGrantHistoryShort(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, error) QueryUserExpGrantHistoryTag(params *QueryUserExpGrantHistoryTagParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryTagOK, *QueryUserExpGrantHistoryTagBadRequest, error) QueryUserExpGrantHistoryTagShort(params *QueryUserExpGrantHistoryTagParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryTagOK, error) ResetUserSeason(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, *ResetUserSeasonBadRequest, error) ResetUserSeasonShort(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, error) RetireSeason(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, *RetireSeasonBadRequest, *RetireSeasonNotFound, *RetireSeasonConflict, error) RetireSeasonShort(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, error) UnpublishSeason(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, *UnpublishSeasonBadRequest, *UnpublishSeasonNotFound, *UnpublishSeasonConflict, error) UnpublishSeasonShort(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, error) UpdateSeason(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, *UpdateSeasonBadRequest, *UpdateSeasonNotFound, *UpdateSeasonConflict, *UpdateSeasonUnprocessableEntity, error) UpdateSeasonShort(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, 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 season API client.
type CloneSeasonBadRequest ¶
type CloneSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
CloneSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr><tr><td>49122</td><td>Invalid time range</td></tr></table>
func NewCloneSeasonBadRequest ¶
func NewCloneSeasonBadRequest() *CloneSeasonBadRequest
NewCloneSeasonBadRequest creates a CloneSeasonBadRequest with default headers values
func (*CloneSeasonBadRequest) Error ¶
func (o *CloneSeasonBadRequest) Error() string
func (*CloneSeasonBadRequest) GetPayload ¶
func (o *CloneSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*CloneSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CloneSeasonBadRequest) ToJSONString() string
type CloneSeasonNotFound ¶
type CloneSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
CloneSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewCloneSeasonNotFound ¶
func NewCloneSeasonNotFound() *CloneSeasonNotFound
NewCloneSeasonNotFound creates a CloneSeasonNotFound with default headers values
func (*CloneSeasonNotFound) Error ¶
func (o *CloneSeasonNotFound) Error() string
func (*CloneSeasonNotFound) GetPayload ¶
func (o *CloneSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*CloneSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *CloneSeasonNotFound) ToJSONString() string
type CloneSeasonOK ¶
type CloneSeasonOK struct {
Payload *seasonpassclientmodels.SeasonInfo
}
CloneSeasonOK handles this case with default header values.
successful operation
func NewCloneSeasonOK ¶
func NewCloneSeasonOK() *CloneSeasonOK
NewCloneSeasonOK creates a CloneSeasonOK with default headers values
func (*CloneSeasonOK) Error ¶
func (o *CloneSeasonOK) Error() string
func (*CloneSeasonOK) GetPayload ¶
func (o *CloneSeasonOK) GetPayload() *seasonpassclientmodels.SeasonInfo
func (*CloneSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *CloneSeasonOK) ToJSONString() string
type CloneSeasonParams ¶
type CloneSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *seasonpassclientmodels.SeasonCloneRequest /*Namespace*/ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneSeasonParams contains all the parameters to send to the API endpoint for the clone season operation typically these are written to a http.Request
func NewCloneSeasonParams ¶
func NewCloneSeasonParams() *CloneSeasonParams
NewCloneSeasonParams creates a new CloneSeasonParams object with the default values initialized.
func NewCloneSeasonParamsWithContext ¶
func NewCloneSeasonParamsWithContext(ctx context.Context) *CloneSeasonParams
NewCloneSeasonParamsWithContext creates a new CloneSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewCloneSeasonParamsWithHTTPClient ¶
func NewCloneSeasonParamsWithHTTPClient(client *http.Client) *CloneSeasonParams
NewCloneSeasonParamsWithHTTPClient creates a new CloneSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCloneSeasonParamsWithTimeout ¶
func NewCloneSeasonParamsWithTimeout(timeout time.Duration) *CloneSeasonParams
NewCloneSeasonParamsWithTimeout creates a new CloneSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*CloneSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CloneSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the clone season params
func (*CloneSeasonParams) SetBody ¶
func (o *CloneSeasonParams) SetBody(body *seasonpassclientmodels.SeasonCloneRequest)
SetBody adds the body to the clone season params
func (*CloneSeasonParams) SetContext ¶
func (o *CloneSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the clone season params
func (*CloneSeasonParams) SetHTTPClient ¶
func (o *CloneSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone season params
func (*CloneSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CloneSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the clone season params
func (*CloneSeasonParams) SetNamespace ¶
func (o *CloneSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the clone season params
func (*CloneSeasonParams) SetSeasonID ¶
func (o *CloneSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the clone season params
func (*CloneSeasonParams) SetTimeout ¶
func (o *CloneSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone season params
func (*CloneSeasonParams) WithBody ¶
func (o *CloneSeasonParams) WithBody(body *seasonpassclientmodels.SeasonCloneRequest) *CloneSeasonParams
WithBody adds the body to the clone season params
func (*CloneSeasonParams) WithContext ¶
func (o *CloneSeasonParams) WithContext(ctx context.Context) *CloneSeasonParams
WithContext adds the context to the clone season params
func (*CloneSeasonParams) WithHTTPClient ¶
func (o *CloneSeasonParams) WithHTTPClient(client *http.Client) *CloneSeasonParams
WithHTTPClient adds the HTTPClient to the clone season params
func (*CloneSeasonParams) WithNamespace ¶
func (o *CloneSeasonParams) WithNamespace(namespace string) *CloneSeasonParams
WithNamespace adds the namespace to the clone season params
func (*CloneSeasonParams) WithSeasonID ¶
func (o *CloneSeasonParams) WithSeasonID(seasonID string) *CloneSeasonParams
WithSeasonID adds the seasonID to the clone season params
func (*CloneSeasonParams) WithTimeout ¶
func (o *CloneSeasonParams) WithTimeout(timeout time.Duration) *CloneSeasonParams
WithTimeout adds the timeout to the clone season params
func (*CloneSeasonParams) WriteToRequest ¶
func (o *CloneSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneSeasonReader ¶
type CloneSeasonReader struct {
// contains filtered or unexported fields
}
CloneSeasonReader is a Reader for the CloneSeason structure.
func (*CloneSeasonReader) ReadResponse ¶
func (o *CloneSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CloneSeasonUnprocessableEntity ¶
type CloneSeasonUnprocessableEntity struct {
Payload *seasonpassclientmodels.ValidationErrorEntity
}
CloneSeasonUnprocessableEntity 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 NewCloneSeasonUnprocessableEntity ¶
func NewCloneSeasonUnprocessableEntity() *CloneSeasonUnprocessableEntity
NewCloneSeasonUnprocessableEntity creates a CloneSeasonUnprocessableEntity with default headers values
func (*CloneSeasonUnprocessableEntity) Error ¶
func (o *CloneSeasonUnprocessableEntity) Error() string
func (*CloneSeasonUnprocessableEntity) GetPayload ¶
func (o *CloneSeasonUnprocessableEntity) GetPayload() *seasonpassclientmodels.ValidationErrorEntity
func (*CloneSeasonUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *CloneSeasonUnprocessableEntity) ToJSONString() string
type CreateSeasonBadRequest ¶
type CreateSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
CreateSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr><tr><td>49121</td><td>Default language [{language}] required in localizations</td></tr><tr><td>49122</td><td>Invalid time range</td></tr></table>
func NewCreateSeasonBadRequest ¶
func NewCreateSeasonBadRequest() *CreateSeasonBadRequest
NewCreateSeasonBadRequest creates a CreateSeasonBadRequest with default headers values
func (*CreateSeasonBadRequest) Error ¶
func (o *CreateSeasonBadRequest) Error() string
func (*CreateSeasonBadRequest) GetPayload ¶
func (o *CreateSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*CreateSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CreateSeasonBadRequest) ToJSONString() string
type CreateSeasonCreated ¶
type CreateSeasonCreated struct {
Payload *seasonpassclientmodels.SeasonInfo
}
CreateSeasonCreated handles this case with default header values.
successful operation
func NewCreateSeasonCreated ¶
func NewCreateSeasonCreated() *CreateSeasonCreated
NewCreateSeasonCreated creates a CreateSeasonCreated with default headers values
func (*CreateSeasonCreated) Error ¶
func (o *CreateSeasonCreated) Error() string
func (*CreateSeasonCreated) GetPayload ¶
func (o *CreateSeasonCreated) GetPayload() *seasonpassclientmodels.SeasonInfo
func (*CreateSeasonCreated) ToJSONString ¶ added in v0.25.0
func (o *CreateSeasonCreated) ToJSONString() string
type CreateSeasonNotFound ¶
type CreateSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
CreateSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>49141</td><td>Tier item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>
func NewCreateSeasonNotFound ¶
func NewCreateSeasonNotFound() *CreateSeasonNotFound
NewCreateSeasonNotFound creates a CreateSeasonNotFound with default headers values
func (*CreateSeasonNotFound) Error ¶
func (o *CreateSeasonNotFound) Error() string
func (*CreateSeasonNotFound) GetPayload ¶
func (o *CreateSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*CreateSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *CreateSeasonNotFound) ToJSONString() string
type CreateSeasonParams ¶
type CreateSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *seasonpassclientmodels.SeasonCreate /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSeasonParams contains all the parameters to send to the API endpoint for the create season operation typically these are written to a http.Request
func NewCreateSeasonParams ¶
func NewCreateSeasonParams() *CreateSeasonParams
NewCreateSeasonParams creates a new CreateSeasonParams object with the default values initialized.
func NewCreateSeasonParamsWithContext ¶
func NewCreateSeasonParamsWithContext(ctx context.Context) *CreateSeasonParams
NewCreateSeasonParamsWithContext creates a new CreateSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSeasonParamsWithHTTPClient ¶
func NewCreateSeasonParamsWithHTTPClient(client *http.Client) *CreateSeasonParams
NewCreateSeasonParamsWithHTTPClient creates a new CreateSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSeasonParamsWithTimeout ¶
func NewCreateSeasonParamsWithTimeout(timeout time.Duration) *CreateSeasonParams
NewCreateSeasonParamsWithTimeout creates a new CreateSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create season params
func (*CreateSeasonParams) SetBody ¶
func (o *CreateSeasonParams) SetBody(body *seasonpassclientmodels.SeasonCreate)
SetBody adds the body to the create season params
func (*CreateSeasonParams) SetContext ¶
func (o *CreateSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the create season params
func (*CreateSeasonParams) SetHTTPClient ¶
func (o *CreateSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create season params
func (*CreateSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create season params
func (*CreateSeasonParams) SetNamespace ¶
func (o *CreateSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create season params
func (*CreateSeasonParams) SetTimeout ¶
func (o *CreateSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create season params
func (*CreateSeasonParams) WithBody ¶
func (o *CreateSeasonParams) WithBody(body *seasonpassclientmodels.SeasonCreate) *CreateSeasonParams
WithBody adds the body to the create season params
func (*CreateSeasonParams) WithContext ¶
func (o *CreateSeasonParams) WithContext(ctx context.Context) *CreateSeasonParams
WithContext adds the context to the create season params
func (*CreateSeasonParams) WithHTTPClient ¶
func (o *CreateSeasonParams) WithHTTPClient(client *http.Client) *CreateSeasonParams
WithHTTPClient adds the HTTPClient to the create season params
func (*CreateSeasonParams) WithNamespace ¶
func (o *CreateSeasonParams) WithNamespace(namespace string) *CreateSeasonParams
WithNamespace adds the namespace to the create season params
func (*CreateSeasonParams) WithTimeout ¶
func (o *CreateSeasonParams) WithTimeout(timeout time.Duration) *CreateSeasonParams
WithTimeout adds the timeout to the create season params
func (*CreateSeasonParams) WriteToRequest ¶
func (o *CreateSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSeasonReader ¶
type CreateSeasonReader struct {
// contains filtered or unexported fields
}
CreateSeasonReader is a Reader for the CreateSeason structure.
func (*CreateSeasonReader) ReadResponse ¶
func (o *CreateSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSeasonUnprocessableEntity ¶
type CreateSeasonUnprocessableEntity struct {
Payload *seasonpassclientmodels.ValidationErrorEntity
}
CreateSeasonUnprocessableEntity 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 NewCreateSeasonUnprocessableEntity ¶
func NewCreateSeasonUnprocessableEntity() *CreateSeasonUnprocessableEntity
NewCreateSeasonUnprocessableEntity creates a CreateSeasonUnprocessableEntity with default headers values
func (*CreateSeasonUnprocessableEntity) Error ¶
func (o *CreateSeasonUnprocessableEntity) Error() string
func (*CreateSeasonUnprocessableEntity) GetPayload ¶
func (o *CreateSeasonUnprocessableEntity) GetPayload() *seasonpassclientmodels.ValidationErrorEntity
func (*CreateSeasonUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *CreateSeasonUnprocessableEntity) ToJSONString() string
type DeleteSeasonBadRequest ¶
type DeleteSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
DeleteSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewDeleteSeasonBadRequest ¶
func NewDeleteSeasonBadRequest() *DeleteSeasonBadRequest
NewDeleteSeasonBadRequest creates a DeleteSeasonBadRequest with default headers values
func (*DeleteSeasonBadRequest) Error ¶
func (o *DeleteSeasonBadRequest) Error() string
func (*DeleteSeasonBadRequest) GetPayload ¶
func (o *DeleteSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*DeleteSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *DeleteSeasonBadRequest) ToJSONString() string
type DeleteSeasonConflict ¶
type DeleteSeasonConflict struct {
Payload *seasonpassclientmodels.ErrorEntity
}
DeleteSeasonConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr></table>
func NewDeleteSeasonConflict ¶
func NewDeleteSeasonConflict() *DeleteSeasonConflict
NewDeleteSeasonConflict creates a DeleteSeasonConflict with default headers values
func (*DeleteSeasonConflict) Error ¶
func (o *DeleteSeasonConflict) Error() string
func (*DeleteSeasonConflict) GetPayload ¶
func (o *DeleteSeasonConflict) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*DeleteSeasonConflict) ToJSONString ¶ added in v0.25.0
func (o *DeleteSeasonConflict) ToJSONString() string
type DeleteSeasonNoContent ¶
type DeleteSeasonNoContent struct { }
DeleteSeasonNoContent handles this case with default header values.
Delete season successfully
func NewDeleteSeasonNoContent ¶
func NewDeleteSeasonNoContent() *DeleteSeasonNoContent
NewDeleteSeasonNoContent creates a DeleteSeasonNoContent with default headers values
func (*DeleteSeasonNoContent) Error ¶
func (o *DeleteSeasonNoContent) Error() string
type DeleteSeasonNotFound ¶
type DeleteSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
DeleteSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewDeleteSeasonNotFound ¶
func NewDeleteSeasonNotFound() *DeleteSeasonNotFound
NewDeleteSeasonNotFound creates a DeleteSeasonNotFound with default headers values
func (*DeleteSeasonNotFound) Error ¶
func (o *DeleteSeasonNotFound) Error() string
func (*DeleteSeasonNotFound) GetPayload ¶
func (o *DeleteSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*DeleteSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *DeleteSeasonNotFound) ToJSONString() string
type DeleteSeasonParams ¶
type DeleteSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSeasonParams contains all the parameters to send to the API endpoint for the delete season operation typically these are written to a http.Request
func NewDeleteSeasonParams ¶
func NewDeleteSeasonParams() *DeleteSeasonParams
NewDeleteSeasonParams creates a new DeleteSeasonParams object with the default values initialized.
func NewDeleteSeasonParamsWithContext ¶
func NewDeleteSeasonParamsWithContext(ctx context.Context) *DeleteSeasonParams
NewDeleteSeasonParamsWithContext creates a new DeleteSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSeasonParamsWithHTTPClient ¶
func NewDeleteSeasonParamsWithHTTPClient(client *http.Client) *DeleteSeasonParams
NewDeleteSeasonParamsWithHTTPClient creates a new DeleteSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSeasonParamsWithTimeout ¶
func NewDeleteSeasonParamsWithTimeout(timeout time.Duration) *DeleteSeasonParams
NewDeleteSeasonParamsWithTimeout creates a new DeleteSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete season params
func (*DeleteSeasonParams) SetContext ¶
func (o *DeleteSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the delete season params
func (*DeleteSeasonParams) SetHTTPClient ¶
func (o *DeleteSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete season params
func (*DeleteSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete season params
func (*DeleteSeasonParams) SetNamespace ¶
func (o *DeleteSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete season params
func (*DeleteSeasonParams) SetSeasonID ¶
func (o *DeleteSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the delete season params
func (*DeleteSeasonParams) SetTimeout ¶
func (o *DeleteSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete season params
func (*DeleteSeasonParams) WithContext ¶
func (o *DeleteSeasonParams) WithContext(ctx context.Context) *DeleteSeasonParams
WithContext adds the context to the delete season params
func (*DeleteSeasonParams) WithHTTPClient ¶
func (o *DeleteSeasonParams) WithHTTPClient(client *http.Client) *DeleteSeasonParams
WithHTTPClient adds the HTTPClient to the delete season params
func (*DeleteSeasonParams) WithNamespace ¶
func (o *DeleteSeasonParams) WithNamespace(namespace string) *DeleteSeasonParams
WithNamespace adds the namespace to the delete season params
func (*DeleteSeasonParams) WithSeasonID ¶
func (o *DeleteSeasonParams) WithSeasonID(seasonID string) *DeleteSeasonParams
WithSeasonID adds the seasonID to the delete season params
func (*DeleteSeasonParams) WithTimeout ¶
func (o *DeleteSeasonParams) WithTimeout(timeout time.Duration) *DeleteSeasonParams
WithTimeout adds the timeout to the delete season params
func (*DeleteSeasonParams) WriteToRequest ¶
func (o *DeleteSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSeasonReader ¶
type DeleteSeasonReader struct {
// contains filtered or unexported fields
}
DeleteSeasonReader is a Reader for the DeleteSeason structure.
func (*DeleteSeasonReader) ReadResponse ¶
func (o *DeleteSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExistsAnyPassByPassCodesBadRequest ¶
type ExistsAnyPassByPassCodesBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
ExistsAnyPassByPassCodesBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewExistsAnyPassByPassCodesBadRequest ¶
func NewExistsAnyPassByPassCodesBadRequest() *ExistsAnyPassByPassCodesBadRequest
NewExistsAnyPassByPassCodesBadRequest creates a ExistsAnyPassByPassCodesBadRequest with default headers values
func (*ExistsAnyPassByPassCodesBadRequest) Error ¶
func (o *ExistsAnyPassByPassCodesBadRequest) Error() string
func (*ExistsAnyPassByPassCodesBadRequest) GetPayload ¶
func (o *ExistsAnyPassByPassCodesBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*ExistsAnyPassByPassCodesBadRequest) ToJSONString ¶ added in v0.25.0
func (o *ExistsAnyPassByPassCodesBadRequest) ToJSONString() string
type ExistsAnyPassByPassCodesOK ¶
type ExistsAnyPassByPassCodesOK struct {
Payload *seasonpassclientmodels.Ownership
}
ExistsAnyPassByPassCodesOK handles this case with default header values.
successful operation
func NewExistsAnyPassByPassCodesOK ¶
func NewExistsAnyPassByPassCodesOK() *ExistsAnyPassByPassCodesOK
NewExistsAnyPassByPassCodesOK creates a ExistsAnyPassByPassCodesOK with default headers values
func (*ExistsAnyPassByPassCodesOK) Error ¶
func (o *ExistsAnyPassByPassCodesOK) Error() string
func (*ExistsAnyPassByPassCodesOK) GetPayload ¶
func (o *ExistsAnyPassByPassCodesOK) GetPayload() *seasonpassclientmodels.Ownership
func (*ExistsAnyPassByPassCodesOK) ToJSONString ¶ added in v0.25.0
func (o *ExistsAnyPassByPassCodesOK) ToJSONString() string
type ExistsAnyPassByPassCodesParams ¶
type ExistsAnyPassByPassCodesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*PassCodes*/ PassCodes []string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExistsAnyPassByPassCodesParams contains all the parameters to send to the API endpoint for the exists any pass by pass codes operation typically these are written to a http.Request
func NewExistsAnyPassByPassCodesParams ¶
func NewExistsAnyPassByPassCodesParams() *ExistsAnyPassByPassCodesParams
NewExistsAnyPassByPassCodesParams creates a new ExistsAnyPassByPassCodesParams object with the default values initialized.
func NewExistsAnyPassByPassCodesParamsWithContext ¶
func NewExistsAnyPassByPassCodesParamsWithContext(ctx context.Context) *ExistsAnyPassByPassCodesParams
NewExistsAnyPassByPassCodesParamsWithContext creates a new ExistsAnyPassByPassCodesParams object with the default values initialized, and the ability to set a context for a request
func NewExistsAnyPassByPassCodesParamsWithHTTPClient ¶
func NewExistsAnyPassByPassCodesParamsWithHTTPClient(client *http.Client) *ExistsAnyPassByPassCodesParams
NewExistsAnyPassByPassCodesParamsWithHTTPClient creates a new ExistsAnyPassByPassCodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExistsAnyPassByPassCodesParamsWithTimeout ¶
func NewExistsAnyPassByPassCodesParamsWithTimeout(timeout time.Duration) *ExistsAnyPassByPassCodesParams
NewExistsAnyPassByPassCodesParamsWithTimeout creates a new ExistsAnyPassByPassCodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExistsAnyPassByPassCodesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ExistsAnyPassByPassCodesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) SetContext ¶
func (o *ExistsAnyPassByPassCodesParams) SetContext(ctx context.Context)
SetContext adds the context to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) SetHTTPClient ¶
func (o *ExistsAnyPassByPassCodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ExistsAnyPassByPassCodesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) SetNamespace ¶
func (o *ExistsAnyPassByPassCodesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) SetPassCodes ¶
func (o *ExistsAnyPassByPassCodesParams) SetPassCodes(passCodes []string)
SetPassCodes adds the passCodes to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) SetTimeout ¶
func (o *ExistsAnyPassByPassCodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) SetUserID ¶
func (o *ExistsAnyPassByPassCodesParams) SetUserID(userID string)
SetUserID adds the userId to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) WithContext ¶
func (o *ExistsAnyPassByPassCodesParams) WithContext(ctx context.Context) *ExistsAnyPassByPassCodesParams
WithContext adds the context to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) WithHTTPClient ¶
func (o *ExistsAnyPassByPassCodesParams) WithHTTPClient(client *http.Client) *ExistsAnyPassByPassCodesParams
WithHTTPClient adds the HTTPClient to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) WithNamespace ¶
func (o *ExistsAnyPassByPassCodesParams) WithNamespace(namespace string) *ExistsAnyPassByPassCodesParams
WithNamespace adds the namespace to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) WithPassCodes ¶
func (o *ExistsAnyPassByPassCodesParams) WithPassCodes(passCodes []string) *ExistsAnyPassByPassCodesParams
WithPassCodes adds the passCodes to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) WithTimeout ¶
func (o *ExistsAnyPassByPassCodesParams) WithTimeout(timeout time.Duration) *ExistsAnyPassByPassCodesParams
WithTimeout adds the timeout to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) WithUserID ¶
func (o *ExistsAnyPassByPassCodesParams) WithUserID(userID string) *ExistsAnyPassByPassCodesParams
WithUserID adds the userID to the exists any pass by pass codes params
func (*ExistsAnyPassByPassCodesParams) WriteToRequest ¶
func (o *ExistsAnyPassByPassCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExistsAnyPassByPassCodesReader ¶
type ExistsAnyPassByPassCodesReader struct {
// contains filtered or unexported fields
}
ExistsAnyPassByPassCodesReader is a Reader for the ExistsAnyPassByPassCodes structure.
func (*ExistsAnyPassByPassCodesReader) ReadResponse ¶
func (o *ExistsAnyPassByPassCodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentSeasonBadRequest ¶
type GetCurrentSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetCurrentSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewGetCurrentSeasonBadRequest ¶
func NewGetCurrentSeasonBadRequest() *GetCurrentSeasonBadRequest
NewGetCurrentSeasonBadRequest creates a GetCurrentSeasonBadRequest with default headers values
func (*GetCurrentSeasonBadRequest) Error ¶
func (o *GetCurrentSeasonBadRequest) Error() string
func (*GetCurrentSeasonBadRequest) GetPayload ¶
func (o *GetCurrentSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetCurrentSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetCurrentSeasonBadRequest) ToJSONString() string
type GetCurrentSeasonNotFound ¶
type GetCurrentSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetCurrentSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>
func NewGetCurrentSeasonNotFound ¶
func NewGetCurrentSeasonNotFound() *GetCurrentSeasonNotFound
NewGetCurrentSeasonNotFound creates a GetCurrentSeasonNotFound with default headers values
func (*GetCurrentSeasonNotFound) Error ¶
func (o *GetCurrentSeasonNotFound) Error() string
func (*GetCurrentSeasonNotFound) GetPayload ¶
func (o *GetCurrentSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetCurrentSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetCurrentSeasonNotFound) ToJSONString() string
type GetCurrentSeasonOK ¶
type GetCurrentSeasonOK struct {
Payload *seasonpassclientmodels.SeasonSummary
}
GetCurrentSeasonOK handles this case with default header values.
successful operation
func NewGetCurrentSeasonOK ¶
func NewGetCurrentSeasonOK() *GetCurrentSeasonOK
NewGetCurrentSeasonOK creates a GetCurrentSeasonOK with default headers values
func (*GetCurrentSeasonOK) Error ¶
func (o *GetCurrentSeasonOK) Error() string
func (*GetCurrentSeasonOK) GetPayload ¶
func (o *GetCurrentSeasonOK) GetPayload() *seasonpassclientmodels.SeasonSummary
func (*GetCurrentSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *GetCurrentSeasonOK) ToJSONString() string
type GetCurrentSeasonParams ¶
type GetCurrentSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCurrentSeasonParams contains all the parameters to send to the API endpoint for the get current season operation typically these are written to a http.Request
func NewGetCurrentSeasonParams ¶
func NewGetCurrentSeasonParams() *GetCurrentSeasonParams
NewGetCurrentSeasonParams creates a new GetCurrentSeasonParams object with the default values initialized.
func NewGetCurrentSeasonParamsWithContext ¶
func NewGetCurrentSeasonParamsWithContext(ctx context.Context) *GetCurrentSeasonParams
NewGetCurrentSeasonParamsWithContext creates a new GetCurrentSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewGetCurrentSeasonParamsWithHTTPClient ¶
func NewGetCurrentSeasonParamsWithHTTPClient(client *http.Client) *GetCurrentSeasonParams
NewGetCurrentSeasonParamsWithHTTPClient creates a new GetCurrentSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCurrentSeasonParamsWithTimeout ¶
func NewGetCurrentSeasonParamsWithTimeout(timeout time.Duration) *GetCurrentSeasonParams
NewGetCurrentSeasonParamsWithTimeout creates a new GetCurrentSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCurrentSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetCurrentSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get current season params
func (*GetCurrentSeasonParams) SetContext ¶
func (o *GetCurrentSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the get current season params
func (*GetCurrentSeasonParams) SetHTTPClient ¶
func (o *GetCurrentSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current season params
func (*GetCurrentSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetCurrentSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get current season params
func (*GetCurrentSeasonParams) SetNamespace ¶
func (o *GetCurrentSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get current season params
func (*GetCurrentSeasonParams) SetTimeout ¶
func (o *GetCurrentSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current season params
func (*GetCurrentSeasonParams) WithContext ¶
func (o *GetCurrentSeasonParams) WithContext(ctx context.Context) *GetCurrentSeasonParams
WithContext adds the context to the get current season params
func (*GetCurrentSeasonParams) WithHTTPClient ¶
func (o *GetCurrentSeasonParams) WithHTTPClient(client *http.Client) *GetCurrentSeasonParams
WithHTTPClient adds the HTTPClient to the get current season params
func (*GetCurrentSeasonParams) WithNamespace ¶
func (o *GetCurrentSeasonParams) WithNamespace(namespace string) *GetCurrentSeasonParams
WithNamespace adds the namespace to the get current season params
func (*GetCurrentSeasonParams) WithTimeout ¶
func (o *GetCurrentSeasonParams) WithTimeout(timeout time.Duration) *GetCurrentSeasonParams
WithTimeout adds the timeout to the get current season params
func (*GetCurrentSeasonParams) WriteToRequest ¶
func (o *GetCurrentSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentSeasonReader ¶
type GetCurrentSeasonReader struct {
// contains filtered or unexported fields
}
GetCurrentSeasonReader is a Reader for the GetCurrentSeason structure.
func (*GetCurrentSeasonReader) ReadResponse ¶
func (o *GetCurrentSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentUserSeasonProgressionBadRequest ¶
type GetCurrentUserSeasonProgressionBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetCurrentUserSeasonProgressionBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewGetCurrentUserSeasonProgressionBadRequest ¶
func NewGetCurrentUserSeasonProgressionBadRequest() *GetCurrentUserSeasonProgressionBadRequest
NewGetCurrentUserSeasonProgressionBadRequest creates a GetCurrentUserSeasonProgressionBadRequest with default headers values
func (*GetCurrentUserSeasonProgressionBadRequest) Error ¶
func (o *GetCurrentUserSeasonProgressionBadRequest) Error() string
func (*GetCurrentUserSeasonProgressionBadRequest) GetPayload ¶
func (o *GetCurrentUserSeasonProgressionBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetCurrentUserSeasonProgressionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetCurrentUserSeasonProgressionBadRequest) ToJSONString() string
type GetCurrentUserSeasonProgressionNotFound ¶
type GetCurrentUserSeasonProgressionNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetCurrentUserSeasonProgressionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr><tr><td>49148</td><td>User season does not exist</td></tr></table>
func NewGetCurrentUserSeasonProgressionNotFound ¶
func NewGetCurrentUserSeasonProgressionNotFound() *GetCurrentUserSeasonProgressionNotFound
NewGetCurrentUserSeasonProgressionNotFound creates a GetCurrentUserSeasonProgressionNotFound with default headers values
func (*GetCurrentUserSeasonProgressionNotFound) Error ¶
func (o *GetCurrentUserSeasonProgressionNotFound) Error() string
func (*GetCurrentUserSeasonProgressionNotFound) GetPayload ¶
func (o *GetCurrentUserSeasonProgressionNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetCurrentUserSeasonProgressionNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetCurrentUserSeasonProgressionNotFound) ToJSONString() string
type GetCurrentUserSeasonProgressionOK ¶
type GetCurrentUserSeasonProgressionOK struct {
Payload *seasonpassclientmodels.UserSeasonSummary
}
GetCurrentUserSeasonProgressionOK handles this case with default header values.
successful operation
func NewGetCurrentUserSeasonProgressionOK ¶
func NewGetCurrentUserSeasonProgressionOK() *GetCurrentUserSeasonProgressionOK
NewGetCurrentUserSeasonProgressionOK creates a GetCurrentUserSeasonProgressionOK with default headers values
func (*GetCurrentUserSeasonProgressionOK) Error ¶
func (o *GetCurrentUserSeasonProgressionOK) Error() string
func (*GetCurrentUserSeasonProgressionOK) GetPayload ¶
func (o *GetCurrentUserSeasonProgressionOK) GetPayload() *seasonpassclientmodels.UserSeasonSummary
func (*GetCurrentUserSeasonProgressionOK) ToJSONString ¶ added in v0.25.0
func (o *GetCurrentUserSeasonProgressionOK) ToJSONString() string
type GetCurrentUserSeasonProgressionParams ¶
type GetCurrentUserSeasonProgressionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCurrentUserSeasonProgressionParams contains all the parameters to send to the API endpoint for the get current user season progression operation typically these are written to a http.Request
func NewGetCurrentUserSeasonProgressionParams ¶
func NewGetCurrentUserSeasonProgressionParams() *GetCurrentUserSeasonProgressionParams
NewGetCurrentUserSeasonProgressionParams creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized.
func NewGetCurrentUserSeasonProgressionParamsWithContext ¶
func NewGetCurrentUserSeasonProgressionParamsWithContext(ctx context.Context) *GetCurrentUserSeasonProgressionParams
NewGetCurrentUserSeasonProgressionParamsWithContext creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized, and the ability to set a context for a request
func NewGetCurrentUserSeasonProgressionParamsWithHTTPClient ¶
func NewGetCurrentUserSeasonProgressionParamsWithHTTPClient(client *http.Client) *GetCurrentUserSeasonProgressionParams
NewGetCurrentUserSeasonProgressionParamsWithHTTPClient creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCurrentUserSeasonProgressionParamsWithTimeout ¶
func NewGetCurrentUserSeasonProgressionParamsWithTimeout(timeout time.Duration) *GetCurrentUserSeasonProgressionParams
NewGetCurrentUserSeasonProgressionParamsWithTimeout creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCurrentUserSeasonProgressionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetCurrentUserSeasonProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) SetContext ¶
func (o *GetCurrentUserSeasonProgressionParams) SetContext(ctx context.Context)
SetContext adds the context to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) SetHTTPClient ¶
func (o *GetCurrentUserSeasonProgressionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetCurrentUserSeasonProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) SetNamespace ¶
func (o *GetCurrentUserSeasonProgressionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) SetTimeout ¶
func (o *GetCurrentUserSeasonProgressionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) SetUserID ¶
func (o *GetCurrentUserSeasonProgressionParams) SetUserID(userID string)
SetUserID adds the userId to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) WithContext ¶
func (o *GetCurrentUserSeasonProgressionParams) WithContext(ctx context.Context) *GetCurrentUserSeasonProgressionParams
WithContext adds the context to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) WithHTTPClient ¶
func (o *GetCurrentUserSeasonProgressionParams) WithHTTPClient(client *http.Client) *GetCurrentUserSeasonProgressionParams
WithHTTPClient adds the HTTPClient to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) WithNamespace ¶
func (o *GetCurrentUserSeasonProgressionParams) WithNamespace(namespace string) *GetCurrentUserSeasonProgressionParams
WithNamespace adds the namespace to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) WithTimeout ¶
func (o *GetCurrentUserSeasonProgressionParams) WithTimeout(timeout time.Duration) *GetCurrentUserSeasonProgressionParams
WithTimeout adds the timeout to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) WithUserID ¶
func (o *GetCurrentUserSeasonProgressionParams) WithUserID(userID string) *GetCurrentUserSeasonProgressionParams
WithUserID adds the userID to the get current user season progression params
func (*GetCurrentUserSeasonProgressionParams) WriteToRequest ¶
func (o *GetCurrentUserSeasonProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentUserSeasonProgressionReader ¶
type GetCurrentUserSeasonProgressionReader struct {
// contains filtered or unexported fields
}
GetCurrentUserSeasonProgressionReader is a Reader for the GetCurrentUserSeasonProgression structure.
func (*GetCurrentUserSeasonProgressionReader) ReadResponse ¶
func (o *GetCurrentUserSeasonProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFullSeasonBadRequest ¶ added in v0.26.0
type GetFullSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetFullSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewGetFullSeasonBadRequest ¶ added in v0.26.0
func NewGetFullSeasonBadRequest() *GetFullSeasonBadRequest
NewGetFullSeasonBadRequest creates a GetFullSeasonBadRequest with default headers values
func (*GetFullSeasonBadRequest) Error ¶ added in v0.26.0
func (o *GetFullSeasonBadRequest) Error() string
func (*GetFullSeasonBadRequest) GetPayload ¶ added in v0.26.0
func (o *GetFullSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetFullSeasonBadRequest) ToJSONString ¶ added in v0.26.0
func (o *GetFullSeasonBadRequest) ToJSONString() string
type GetFullSeasonNotFound ¶ added in v0.26.0
type GetFullSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetFullSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetFullSeasonNotFound ¶ added in v0.26.0
func NewGetFullSeasonNotFound() *GetFullSeasonNotFound
NewGetFullSeasonNotFound creates a GetFullSeasonNotFound with default headers values
func (*GetFullSeasonNotFound) Error ¶ added in v0.26.0
func (o *GetFullSeasonNotFound) Error() string
func (*GetFullSeasonNotFound) GetPayload ¶ added in v0.26.0
func (o *GetFullSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetFullSeasonNotFound) ToJSONString ¶ added in v0.26.0
func (o *GetFullSeasonNotFound) ToJSONString() string
type GetFullSeasonOK ¶ added in v0.26.0
type GetFullSeasonOK struct {
Payload *seasonpassclientmodels.FullSeasonInfo
}
GetFullSeasonOK handles this case with default header values.
successful operation
func NewGetFullSeasonOK ¶ added in v0.26.0
func NewGetFullSeasonOK() *GetFullSeasonOK
NewGetFullSeasonOK creates a GetFullSeasonOK with default headers values
func (*GetFullSeasonOK) Error ¶ added in v0.26.0
func (o *GetFullSeasonOK) Error() string
func (*GetFullSeasonOK) GetPayload ¶ added in v0.26.0
func (o *GetFullSeasonOK) GetPayload() *seasonpassclientmodels.FullSeasonInfo
func (*GetFullSeasonOK) ToJSONString ¶ added in v0.26.0
func (o *GetFullSeasonOK) ToJSONString() string
type GetFullSeasonParams ¶ added in v0.26.0
type GetFullSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFullSeasonParams contains all the parameters to send to the API endpoint for the get full season operation typically these are written to a http.Request
func NewGetFullSeasonParams ¶ added in v0.26.0
func NewGetFullSeasonParams() *GetFullSeasonParams
NewGetFullSeasonParams creates a new GetFullSeasonParams object with the default values initialized.
func NewGetFullSeasonParamsWithContext ¶ added in v0.26.0
func NewGetFullSeasonParamsWithContext(ctx context.Context) *GetFullSeasonParams
NewGetFullSeasonParamsWithContext creates a new GetFullSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewGetFullSeasonParamsWithHTTPClient ¶ added in v0.26.0
func NewGetFullSeasonParamsWithHTTPClient(client *http.Client) *GetFullSeasonParams
NewGetFullSeasonParamsWithHTTPClient creates a new GetFullSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFullSeasonParamsWithTimeout ¶ added in v0.26.0
func NewGetFullSeasonParamsWithTimeout(timeout time.Duration) *GetFullSeasonParams
NewGetFullSeasonParamsWithTimeout creates a new GetFullSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFullSeasonParams) SetAuthInfoWriter ¶ added in v0.26.0
func (o *GetFullSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get full season params
func (*GetFullSeasonParams) SetContext ¶ added in v0.26.0
func (o *GetFullSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the get full season params
func (*GetFullSeasonParams) SetHTTPClient ¶ added in v0.26.0
func (o *GetFullSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get full season params
func (*GetFullSeasonParams) SetHTTPClientTransport ¶ added in v0.26.0
func (o *GetFullSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get full season params
func (*GetFullSeasonParams) SetNamespace ¶ added in v0.26.0
func (o *GetFullSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get full season params
func (*GetFullSeasonParams) SetSeasonID ¶ added in v0.26.0
func (o *GetFullSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the get full season params
func (*GetFullSeasonParams) SetTimeout ¶ added in v0.26.0
func (o *GetFullSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get full season params
func (*GetFullSeasonParams) WithContext ¶ added in v0.26.0
func (o *GetFullSeasonParams) WithContext(ctx context.Context) *GetFullSeasonParams
WithContext adds the context to the get full season params
func (*GetFullSeasonParams) WithHTTPClient ¶ added in v0.26.0
func (o *GetFullSeasonParams) WithHTTPClient(client *http.Client) *GetFullSeasonParams
WithHTTPClient adds the HTTPClient to the get full season params
func (*GetFullSeasonParams) WithNamespace ¶ added in v0.26.0
func (o *GetFullSeasonParams) WithNamespace(namespace string) *GetFullSeasonParams
WithNamespace adds the namespace to the get full season params
func (*GetFullSeasonParams) WithSeasonID ¶ added in v0.26.0
func (o *GetFullSeasonParams) WithSeasonID(seasonID string) *GetFullSeasonParams
WithSeasonID adds the seasonID to the get full season params
func (*GetFullSeasonParams) WithTimeout ¶ added in v0.26.0
func (o *GetFullSeasonParams) WithTimeout(timeout time.Duration) *GetFullSeasonParams
WithTimeout adds the timeout to the get full season params
func (*GetFullSeasonParams) WriteToRequest ¶ added in v0.26.0
func (o *GetFullSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFullSeasonReader ¶ added in v0.26.0
type GetFullSeasonReader struct {
// contains filtered or unexported fields
}
GetFullSeasonReader is a Reader for the GetFullSeason structure.
func (*GetFullSeasonReader) ReadResponse ¶ added in v0.26.0
func (o *GetFullSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSeasonBadRequest ¶
type GetSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewGetSeasonBadRequest ¶
func NewGetSeasonBadRequest() *GetSeasonBadRequest
NewGetSeasonBadRequest creates a GetSeasonBadRequest with default headers values
func (*GetSeasonBadRequest) Error ¶
func (o *GetSeasonBadRequest) Error() string
func (*GetSeasonBadRequest) GetPayload ¶
func (o *GetSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetSeasonBadRequest) ToJSONString() string
type GetSeasonNotFound ¶
type GetSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetSeasonNotFound ¶
func NewGetSeasonNotFound() *GetSeasonNotFound
NewGetSeasonNotFound creates a GetSeasonNotFound with default headers values
func (*GetSeasonNotFound) Error ¶
func (o *GetSeasonNotFound) Error() string
func (*GetSeasonNotFound) GetPayload ¶
func (o *GetSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetSeasonNotFound) ToJSONString() string
type GetSeasonOK ¶
type GetSeasonOK struct {
Payload *seasonpassclientmodels.SeasonInfo
}
GetSeasonOK handles this case with default header values.
successful operation
func NewGetSeasonOK ¶
func NewGetSeasonOK() *GetSeasonOK
NewGetSeasonOK creates a GetSeasonOK with default headers values
func (*GetSeasonOK) Error ¶
func (o *GetSeasonOK) Error() string
func (*GetSeasonOK) GetPayload ¶
func (o *GetSeasonOK) GetPayload() *seasonpassclientmodels.SeasonInfo
func (*GetSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *GetSeasonOK) ToJSONString() string
type GetSeasonParams ¶
type GetSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSeasonParams contains all the parameters to send to the API endpoint for the get season operation typically these are written to a http.Request
func NewGetSeasonParams ¶
func NewGetSeasonParams() *GetSeasonParams
NewGetSeasonParams creates a new GetSeasonParams object with the default values initialized.
func NewGetSeasonParamsWithContext ¶
func NewGetSeasonParamsWithContext(ctx context.Context) *GetSeasonParams
NewGetSeasonParamsWithContext creates a new GetSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewGetSeasonParamsWithHTTPClient ¶
func NewGetSeasonParamsWithHTTPClient(client *http.Client) *GetSeasonParams
NewGetSeasonParamsWithHTTPClient creates a new GetSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSeasonParamsWithTimeout ¶
func NewGetSeasonParamsWithTimeout(timeout time.Duration) *GetSeasonParams
NewGetSeasonParamsWithTimeout creates a new GetSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get season params
func (*GetSeasonParams) SetContext ¶
func (o *GetSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the get season params
func (*GetSeasonParams) SetHTTPClient ¶
func (o *GetSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get season params
func (*GetSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get season params
func (*GetSeasonParams) SetNamespace ¶
func (o *GetSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get season params
func (*GetSeasonParams) SetSeasonID ¶
func (o *GetSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the get season params
func (*GetSeasonParams) SetTimeout ¶
func (o *GetSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get season params
func (*GetSeasonParams) WithContext ¶
func (o *GetSeasonParams) WithContext(ctx context.Context) *GetSeasonParams
WithContext adds the context to the get season params
func (*GetSeasonParams) WithHTTPClient ¶
func (o *GetSeasonParams) WithHTTPClient(client *http.Client) *GetSeasonParams
WithHTTPClient adds the HTTPClient to the get season params
func (*GetSeasonParams) WithNamespace ¶
func (o *GetSeasonParams) WithNamespace(namespace string) *GetSeasonParams
WithNamespace adds the namespace to the get season params
func (*GetSeasonParams) WithSeasonID ¶
func (o *GetSeasonParams) WithSeasonID(seasonID string) *GetSeasonParams
WithSeasonID adds the seasonID to the get season params
func (*GetSeasonParams) WithTimeout ¶
func (o *GetSeasonParams) WithTimeout(timeout time.Duration) *GetSeasonParams
WithTimeout adds the timeout to the get season params
func (*GetSeasonParams) WriteToRequest ¶
func (o *GetSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSeasonReader ¶
type GetSeasonReader struct {
// contains filtered or unexported fields
}
GetSeasonReader is a Reader for the GetSeason structure.
func (*GetSeasonReader) ReadResponse ¶
func (o *GetSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserParticipatedSeasonsBadRequest ¶
type GetUserParticipatedSeasonsBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetUserParticipatedSeasonsBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewGetUserParticipatedSeasonsBadRequest ¶
func NewGetUserParticipatedSeasonsBadRequest() *GetUserParticipatedSeasonsBadRequest
NewGetUserParticipatedSeasonsBadRequest creates a GetUserParticipatedSeasonsBadRequest with default headers values
func (*GetUserParticipatedSeasonsBadRequest) Error ¶
func (o *GetUserParticipatedSeasonsBadRequest) Error() string
func (*GetUserParticipatedSeasonsBadRequest) GetPayload ¶
func (o *GetUserParticipatedSeasonsBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetUserParticipatedSeasonsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetUserParticipatedSeasonsBadRequest) ToJSONString() string
type GetUserParticipatedSeasonsOK ¶
type GetUserParticipatedSeasonsOK struct {
Payload *seasonpassclientmodels.ListUserSeasonInfoPagingSlicedResult
}
GetUserParticipatedSeasonsOK handles this case with default header values.
successful operation
func NewGetUserParticipatedSeasonsOK ¶
func NewGetUserParticipatedSeasonsOK() *GetUserParticipatedSeasonsOK
NewGetUserParticipatedSeasonsOK creates a GetUserParticipatedSeasonsOK with default headers values
func (*GetUserParticipatedSeasonsOK) Error ¶
func (o *GetUserParticipatedSeasonsOK) Error() string
func (*GetUserParticipatedSeasonsOK) GetPayload ¶
func (o *GetUserParticipatedSeasonsOK) GetPayload() *seasonpassclientmodels.ListUserSeasonInfoPagingSlicedResult
func (*GetUserParticipatedSeasonsOK) ToJSONString ¶ added in v0.25.0
func (o *GetUserParticipatedSeasonsOK) ToJSONString() string
type GetUserParticipatedSeasonsParams ¶
type GetUserParticipatedSeasonsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit limit */ Limit *int32 /*Namespace Namespace */ Namespace string /*Offset offset */ Offset *int32 /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserParticipatedSeasonsParams contains all the parameters to send to the API endpoint for the get user participated seasons operation typically these are written to a http.Request
func NewGetUserParticipatedSeasonsParams ¶
func NewGetUserParticipatedSeasonsParams() *GetUserParticipatedSeasonsParams
NewGetUserParticipatedSeasonsParams creates a new GetUserParticipatedSeasonsParams object with the default values initialized.
func NewGetUserParticipatedSeasonsParamsWithContext ¶
func NewGetUserParticipatedSeasonsParamsWithContext(ctx context.Context) *GetUserParticipatedSeasonsParams
NewGetUserParticipatedSeasonsParamsWithContext creates a new GetUserParticipatedSeasonsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserParticipatedSeasonsParamsWithHTTPClient ¶
func NewGetUserParticipatedSeasonsParamsWithHTTPClient(client *http.Client) *GetUserParticipatedSeasonsParams
NewGetUserParticipatedSeasonsParamsWithHTTPClient creates a new GetUserParticipatedSeasonsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserParticipatedSeasonsParamsWithTimeout ¶
func NewGetUserParticipatedSeasonsParamsWithTimeout(timeout time.Duration) *GetUserParticipatedSeasonsParams
NewGetUserParticipatedSeasonsParamsWithTimeout creates a new GetUserParticipatedSeasonsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserParticipatedSeasonsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserParticipatedSeasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetContext ¶
func (o *GetUserParticipatedSeasonsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetHTTPClient ¶
func (o *GetUserParticipatedSeasonsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserParticipatedSeasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetLimit ¶
func (o *GetUserParticipatedSeasonsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetNamespace ¶
func (o *GetUserParticipatedSeasonsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetOffset ¶
func (o *GetUserParticipatedSeasonsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetTimeout ¶
func (o *GetUserParticipatedSeasonsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) SetUserID ¶
func (o *GetUserParticipatedSeasonsParams) SetUserID(userID string)
SetUserID adds the userId to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WithContext ¶
func (o *GetUserParticipatedSeasonsParams) WithContext(ctx context.Context) *GetUserParticipatedSeasonsParams
WithContext adds the context to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WithHTTPClient ¶
func (o *GetUserParticipatedSeasonsParams) WithHTTPClient(client *http.Client) *GetUserParticipatedSeasonsParams
WithHTTPClient adds the HTTPClient to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WithLimit ¶
func (o *GetUserParticipatedSeasonsParams) WithLimit(limit *int32) *GetUserParticipatedSeasonsParams
WithLimit adds the limit to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WithNamespace ¶
func (o *GetUserParticipatedSeasonsParams) WithNamespace(namespace string) *GetUserParticipatedSeasonsParams
WithNamespace adds the namespace to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WithOffset ¶
func (o *GetUserParticipatedSeasonsParams) WithOffset(offset *int32) *GetUserParticipatedSeasonsParams
WithOffset adds the offset to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WithTimeout ¶
func (o *GetUserParticipatedSeasonsParams) WithTimeout(timeout time.Duration) *GetUserParticipatedSeasonsParams
WithTimeout adds the timeout to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WithUserID ¶
func (o *GetUserParticipatedSeasonsParams) WithUserID(userID string) *GetUserParticipatedSeasonsParams
WithUserID adds the userID to the get user participated seasons params
func (*GetUserParticipatedSeasonsParams) WriteToRequest ¶
func (o *GetUserParticipatedSeasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserParticipatedSeasonsReader ¶
type GetUserParticipatedSeasonsReader struct {
// contains filtered or unexported fields
}
GetUserParticipatedSeasonsReader is a Reader for the GetUserParticipatedSeasons structure.
func (*GetUserParticipatedSeasonsReader) ReadResponse ¶
func (o *GetUserParticipatedSeasonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserSeasonBadRequest ¶
type GetUserSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetUserSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewGetUserSeasonBadRequest ¶
func NewGetUserSeasonBadRequest() *GetUserSeasonBadRequest
NewGetUserSeasonBadRequest creates a GetUserSeasonBadRequest with default headers values
func (*GetUserSeasonBadRequest) Error ¶
func (o *GetUserSeasonBadRequest) Error() string
func (*GetUserSeasonBadRequest) GetPayload ¶
func (o *GetUserSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetUserSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetUserSeasonBadRequest) ToJSONString() string
type GetUserSeasonNotFound ¶
type GetUserSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
GetUserSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49148</td><td>User season does not exist</td></tr></table>
func NewGetUserSeasonNotFound ¶
func NewGetUserSeasonNotFound() *GetUserSeasonNotFound
NewGetUserSeasonNotFound creates a GetUserSeasonNotFound with default headers values
func (*GetUserSeasonNotFound) Error ¶
func (o *GetUserSeasonNotFound) Error() string
func (*GetUserSeasonNotFound) GetPayload ¶
func (o *GetUserSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*GetUserSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetUserSeasonNotFound) ToJSONString() string
type GetUserSeasonOK ¶
type GetUserSeasonOK struct {
Payload *seasonpassclientmodels.ClaimableUserSeasonInfo
}
GetUserSeasonOK handles this case with default header values.
successful operation
func NewGetUserSeasonOK ¶
func NewGetUserSeasonOK() *GetUserSeasonOK
NewGetUserSeasonOK creates a GetUserSeasonOK with default headers values
func (*GetUserSeasonOK) Error ¶
func (o *GetUserSeasonOK) Error() string
func (*GetUserSeasonOK) GetPayload ¶
func (o *GetUserSeasonOK) GetPayload() *seasonpassclientmodels.ClaimableUserSeasonInfo
func (*GetUserSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *GetUserSeasonOK) ToJSONString() string
type GetUserSeasonParams ¶
type GetUserSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SeasonID*/ SeasonID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserSeasonParams contains all the parameters to send to the API endpoint for the get user season operation typically these are written to a http.Request
func NewGetUserSeasonParams ¶
func NewGetUserSeasonParams() *GetUserSeasonParams
NewGetUserSeasonParams creates a new GetUserSeasonParams object with the default values initialized.
func NewGetUserSeasonParamsWithContext ¶
func NewGetUserSeasonParamsWithContext(ctx context.Context) *GetUserSeasonParams
NewGetUserSeasonParamsWithContext creates a new GetUserSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserSeasonParamsWithHTTPClient ¶
func NewGetUserSeasonParamsWithHTTPClient(client *http.Client) *GetUserSeasonParams
NewGetUserSeasonParamsWithHTTPClient creates a new GetUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserSeasonParamsWithTimeout ¶
func NewGetUserSeasonParamsWithTimeout(timeout time.Duration) *GetUserSeasonParams
NewGetUserSeasonParamsWithTimeout creates a new GetUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user season params
func (*GetUserSeasonParams) SetContext ¶
func (o *GetUserSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the get user season params
func (*GetUserSeasonParams) SetHTTPClient ¶
func (o *GetUserSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user season params
func (*GetUserSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user season params
func (*GetUserSeasonParams) SetNamespace ¶
func (o *GetUserSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user season params
func (*GetUserSeasonParams) SetSeasonID ¶
func (o *GetUserSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the get user season params
func (*GetUserSeasonParams) SetTimeout ¶
func (o *GetUserSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user season params
func (*GetUserSeasonParams) SetUserID ¶
func (o *GetUserSeasonParams) SetUserID(userID string)
SetUserID adds the userId to the get user season params
func (*GetUserSeasonParams) WithContext ¶
func (o *GetUserSeasonParams) WithContext(ctx context.Context) *GetUserSeasonParams
WithContext adds the context to the get user season params
func (*GetUserSeasonParams) WithHTTPClient ¶
func (o *GetUserSeasonParams) WithHTTPClient(client *http.Client) *GetUserSeasonParams
WithHTTPClient adds the HTTPClient to the get user season params
func (*GetUserSeasonParams) WithNamespace ¶
func (o *GetUserSeasonParams) WithNamespace(namespace string) *GetUserSeasonParams
WithNamespace adds the namespace to the get user season params
func (*GetUserSeasonParams) WithSeasonID ¶
func (o *GetUserSeasonParams) WithSeasonID(seasonID string) *GetUserSeasonParams
WithSeasonID adds the seasonID to the get user season params
func (*GetUserSeasonParams) WithTimeout ¶
func (o *GetUserSeasonParams) WithTimeout(timeout time.Duration) *GetUserSeasonParams
WithTimeout adds the timeout to the get user season params
func (*GetUserSeasonParams) WithUserID ¶
func (o *GetUserSeasonParams) WithUserID(userID string) *GetUserSeasonParams
WithUserID adds the userID to the get user season params
func (*GetUserSeasonParams) WriteToRequest ¶
func (o *GetUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserSeasonReader ¶
type GetUserSeasonReader struct {
// contains filtered or unexported fields
}
GetUserSeasonReader is a Reader for the GetUserSeason structure.
func (*GetUserSeasonReader) ReadResponse ¶
func (o *GetUserSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetCurrentSeasonBadRequest ¶
type PublicGetCurrentSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublicGetCurrentSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewPublicGetCurrentSeasonBadRequest ¶
func NewPublicGetCurrentSeasonBadRequest() *PublicGetCurrentSeasonBadRequest
NewPublicGetCurrentSeasonBadRequest creates a PublicGetCurrentSeasonBadRequest with default headers values
func (*PublicGetCurrentSeasonBadRequest) Error ¶
func (o *PublicGetCurrentSeasonBadRequest) Error() string
func (*PublicGetCurrentSeasonBadRequest) GetPayload ¶
func (o *PublicGetCurrentSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublicGetCurrentSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicGetCurrentSeasonBadRequest) ToJSONString() string
type PublicGetCurrentSeasonNotFound ¶
type PublicGetCurrentSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublicGetCurrentSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>
func NewPublicGetCurrentSeasonNotFound ¶
func NewPublicGetCurrentSeasonNotFound() *PublicGetCurrentSeasonNotFound
NewPublicGetCurrentSeasonNotFound creates a PublicGetCurrentSeasonNotFound with default headers values
func (*PublicGetCurrentSeasonNotFound) Error ¶
func (o *PublicGetCurrentSeasonNotFound) Error() string
func (*PublicGetCurrentSeasonNotFound) GetPayload ¶
func (o *PublicGetCurrentSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublicGetCurrentSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicGetCurrentSeasonNotFound) ToJSONString() string
type PublicGetCurrentSeasonOK ¶
type PublicGetCurrentSeasonOK struct {
Payload *seasonpassclientmodels.LocalizedSeasonInfo
}
PublicGetCurrentSeasonOK handles this case with default header values.
successful operation
func NewPublicGetCurrentSeasonOK ¶
func NewPublicGetCurrentSeasonOK() *PublicGetCurrentSeasonOK
NewPublicGetCurrentSeasonOK creates a PublicGetCurrentSeasonOK with default headers values
func (*PublicGetCurrentSeasonOK) Error ¶
func (o *PublicGetCurrentSeasonOK) Error() string
func (*PublicGetCurrentSeasonOK) GetPayload ¶
func (o *PublicGetCurrentSeasonOK) GetPayload() *seasonpassclientmodels.LocalizedSeasonInfo
func (*PublicGetCurrentSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetCurrentSeasonOK) ToJSONString() string
type PublicGetCurrentSeasonParams ¶
type PublicGetCurrentSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Language*/ Language *string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetCurrentSeasonParams contains all the parameters to send to the API endpoint for the public get current season operation typically these are written to a http.Request
func NewPublicGetCurrentSeasonParams ¶
func NewPublicGetCurrentSeasonParams() *PublicGetCurrentSeasonParams
NewPublicGetCurrentSeasonParams creates a new PublicGetCurrentSeasonParams object with the default values initialized.
func NewPublicGetCurrentSeasonParamsWithContext ¶
func NewPublicGetCurrentSeasonParamsWithContext(ctx context.Context) *PublicGetCurrentSeasonParams
NewPublicGetCurrentSeasonParamsWithContext creates a new PublicGetCurrentSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetCurrentSeasonParamsWithHTTPClient ¶
func NewPublicGetCurrentSeasonParamsWithHTTPClient(client *http.Client) *PublicGetCurrentSeasonParams
NewPublicGetCurrentSeasonParamsWithHTTPClient creates a new PublicGetCurrentSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetCurrentSeasonParamsWithTimeout ¶
func NewPublicGetCurrentSeasonParamsWithTimeout(timeout time.Duration) *PublicGetCurrentSeasonParams
NewPublicGetCurrentSeasonParamsWithTimeout creates a new PublicGetCurrentSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetCurrentSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetCurrentSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get current season params
func (*PublicGetCurrentSeasonParams) SetContext ¶
func (o *PublicGetCurrentSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the public get current season params
func (*PublicGetCurrentSeasonParams) SetHTTPClient ¶
func (o *PublicGetCurrentSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get current season params
func (*PublicGetCurrentSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetCurrentSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get current season params
func (*PublicGetCurrentSeasonParams) SetLanguage ¶
func (o *PublicGetCurrentSeasonParams) SetLanguage(language *string)
SetLanguage adds the language to the public get current season params
func (*PublicGetCurrentSeasonParams) SetNamespace ¶
func (o *PublicGetCurrentSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get current season params
func (*PublicGetCurrentSeasonParams) SetTimeout ¶
func (o *PublicGetCurrentSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get current season params
func (*PublicGetCurrentSeasonParams) WithContext ¶
func (o *PublicGetCurrentSeasonParams) WithContext(ctx context.Context) *PublicGetCurrentSeasonParams
WithContext adds the context to the public get current season params
func (*PublicGetCurrentSeasonParams) WithHTTPClient ¶
func (o *PublicGetCurrentSeasonParams) WithHTTPClient(client *http.Client) *PublicGetCurrentSeasonParams
WithHTTPClient adds the HTTPClient to the public get current season params
func (*PublicGetCurrentSeasonParams) WithLanguage ¶
func (o *PublicGetCurrentSeasonParams) WithLanguage(language *string) *PublicGetCurrentSeasonParams
WithLanguage adds the language to the public get current season params
func (*PublicGetCurrentSeasonParams) WithNamespace ¶
func (o *PublicGetCurrentSeasonParams) WithNamespace(namespace string) *PublicGetCurrentSeasonParams
WithNamespace adds the namespace to the public get current season params
func (*PublicGetCurrentSeasonParams) WithTimeout ¶
func (o *PublicGetCurrentSeasonParams) WithTimeout(timeout time.Duration) *PublicGetCurrentSeasonParams
WithTimeout adds the timeout to the public get current season params
func (*PublicGetCurrentSeasonParams) WriteToRequest ¶
func (o *PublicGetCurrentSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetCurrentSeasonReader ¶
type PublicGetCurrentSeasonReader struct {
// contains filtered or unexported fields
}
PublicGetCurrentSeasonReader is a Reader for the PublicGetCurrentSeason structure.
func (*PublicGetCurrentSeasonReader) ReadResponse ¶
func (o *PublicGetCurrentSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetCurrentUserSeasonBadRequest ¶
type PublicGetCurrentUserSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublicGetCurrentUserSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewPublicGetCurrentUserSeasonBadRequest ¶
func NewPublicGetCurrentUserSeasonBadRequest() *PublicGetCurrentUserSeasonBadRequest
NewPublicGetCurrentUserSeasonBadRequest creates a PublicGetCurrentUserSeasonBadRequest with default headers values
func (*PublicGetCurrentUserSeasonBadRequest) Error ¶
func (o *PublicGetCurrentUserSeasonBadRequest) Error() string
func (*PublicGetCurrentUserSeasonBadRequest) GetPayload ¶
func (o *PublicGetCurrentUserSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublicGetCurrentUserSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicGetCurrentUserSeasonBadRequest) ToJSONString() string
type PublicGetCurrentUserSeasonNotFound ¶
type PublicGetCurrentUserSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublicGetCurrentUserSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49148</td><td>User season does not exist</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>
func NewPublicGetCurrentUserSeasonNotFound ¶
func NewPublicGetCurrentUserSeasonNotFound() *PublicGetCurrentUserSeasonNotFound
NewPublicGetCurrentUserSeasonNotFound creates a PublicGetCurrentUserSeasonNotFound with default headers values
func (*PublicGetCurrentUserSeasonNotFound) Error ¶
func (o *PublicGetCurrentUserSeasonNotFound) Error() string
func (*PublicGetCurrentUserSeasonNotFound) GetPayload ¶
func (o *PublicGetCurrentUserSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublicGetCurrentUserSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicGetCurrentUserSeasonNotFound) ToJSONString() string
type PublicGetCurrentUserSeasonOK ¶
type PublicGetCurrentUserSeasonOK struct {
Payload *seasonpassclientmodels.ClaimableUserSeasonInfo
}
PublicGetCurrentUserSeasonOK handles this case with default header values.
successful operation
func NewPublicGetCurrentUserSeasonOK ¶
func NewPublicGetCurrentUserSeasonOK() *PublicGetCurrentUserSeasonOK
NewPublicGetCurrentUserSeasonOK creates a PublicGetCurrentUserSeasonOK with default headers values
func (*PublicGetCurrentUserSeasonOK) Error ¶
func (o *PublicGetCurrentUserSeasonOK) Error() string
func (*PublicGetCurrentUserSeasonOK) GetPayload ¶
func (o *PublicGetCurrentUserSeasonOK) GetPayload() *seasonpassclientmodels.ClaimableUserSeasonInfo
func (*PublicGetCurrentUserSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetCurrentUserSeasonOK) ToJSONString() string
type PublicGetCurrentUserSeasonParams ¶
type PublicGetCurrentUserSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetCurrentUserSeasonParams contains all the parameters to send to the API endpoint for the public get current user season operation typically these are written to a http.Request
func NewPublicGetCurrentUserSeasonParams ¶
func NewPublicGetCurrentUserSeasonParams() *PublicGetCurrentUserSeasonParams
NewPublicGetCurrentUserSeasonParams creates a new PublicGetCurrentUserSeasonParams object with the default values initialized.
func NewPublicGetCurrentUserSeasonParamsWithContext ¶
func NewPublicGetCurrentUserSeasonParamsWithContext(ctx context.Context) *PublicGetCurrentUserSeasonParams
NewPublicGetCurrentUserSeasonParamsWithContext creates a new PublicGetCurrentUserSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetCurrentUserSeasonParamsWithHTTPClient ¶
func NewPublicGetCurrentUserSeasonParamsWithHTTPClient(client *http.Client) *PublicGetCurrentUserSeasonParams
NewPublicGetCurrentUserSeasonParamsWithHTTPClient creates a new PublicGetCurrentUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetCurrentUserSeasonParamsWithTimeout ¶
func NewPublicGetCurrentUserSeasonParamsWithTimeout(timeout time.Duration) *PublicGetCurrentUserSeasonParams
NewPublicGetCurrentUserSeasonParamsWithTimeout creates a new PublicGetCurrentUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetCurrentUserSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetCurrentUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) SetContext ¶
func (o *PublicGetCurrentUserSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) SetHTTPClient ¶
func (o *PublicGetCurrentUserSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetCurrentUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) SetNamespace ¶
func (o *PublicGetCurrentUserSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) SetTimeout ¶
func (o *PublicGetCurrentUserSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) SetUserID ¶
func (o *PublicGetCurrentUserSeasonParams) SetUserID(userID string)
SetUserID adds the userId to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) WithContext ¶
func (o *PublicGetCurrentUserSeasonParams) WithContext(ctx context.Context) *PublicGetCurrentUserSeasonParams
WithContext adds the context to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) WithHTTPClient ¶
func (o *PublicGetCurrentUserSeasonParams) WithHTTPClient(client *http.Client) *PublicGetCurrentUserSeasonParams
WithHTTPClient adds the HTTPClient to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) WithNamespace ¶
func (o *PublicGetCurrentUserSeasonParams) WithNamespace(namespace string) *PublicGetCurrentUserSeasonParams
WithNamespace adds the namespace to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) WithTimeout ¶
func (o *PublicGetCurrentUserSeasonParams) WithTimeout(timeout time.Duration) *PublicGetCurrentUserSeasonParams
WithTimeout adds the timeout to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) WithUserID ¶
func (o *PublicGetCurrentUserSeasonParams) WithUserID(userID string) *PublicGetCurrentUserSeasonParams
WithUserID adds the userID to the public get current user season params
func (*PublicGetCurrentUserSeasonParams) WriteToRequest ¶
func (o *PublicGetCurrentUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetCurrentUserSeasonReader ¶
type PublicGetCurrentUserSeasonReader struct {
// contains filtered or unexported fields
}
PublicGetCurrentUserSeasonReader is a Reader for the PublicGetCurrentUserSeason structure.
func (*PublicGetCurrentUserSeasonReader) ReadResponse ¶
func (o *PublicGetCurrentUserSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserSeasonBadRequest ¶
type PublicGetUserSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublicGetUserSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewPublicGetUserSeasonBadRequest ¶
func NewPublicGetUserSeasonBadRequest() *PublicGetUserSeasonBadRequest
NewPublicGetUserSeasonBadRequest creates a PublicGetUserSeasonBadRequest with default headers values
func (*PublicGetUserSeasonBadRequest) Error ¶
func (o *PublicGetUserSeasonBadRequest) Error() string
func (*PublicGetUserSeasonBadRequest) GetPayload ¶
func (o *PublicGetUserSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublicGetUserSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicGetUserSeasonBadRequest) ToJSONString() string
type PublicGetUserSeasonNotFound ¶
type PublicGetUserSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublicGetUserSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49148</td><td>User season does not exist</td></tr></table>
func NewPublicGetUserSeasonNotFound ¶
func NewPublicGetUserSeasonNotFound() *PublicGetUserSeasonNotFound
NewPublicGetUserSeasonNotFound creates a PublicGetUserSeasonNotFound with default headers values
func (*PublicGetUserSeasonNotFound) Error ¶
func (o *PublicGetUserSeasonNotFound) Error() string
func (*PublicGetUserSeasonNotFound) GetPayload ¶
func (o *PublicGetUserSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublicGetUserSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicGetUserSeasonNotFound) ToJSONString() string
type PublicGetUserSeasonOK ¶
type PublicGetUserSeasonOK struct {
Payload *seasonpassclientmodels.ClaimableUserSeasonInfo
}
PublicGetUserSeasonOK handles this case with default header values.
successful operation
func NewPublicGetUserSeasonOK ¶
func NewPublicGetUserSeasonOK() *PublicGetUserSeasonOK
NewPublicGetUserSeasonOK creates a PublicGetUserSeasonOK with default headers values
func (*PublicGetUserSeasonOK) Error ¶
func (o *PublicGetUserSeasonOK) Error() string
func (*PublicGetUserSeasonOK) GetPayload ¶
func (o *PublicGetUserSeasonOK) GetPayload() *seasonpassclientmodels.ClaimableUserSeasonInfo
func (*PublicGetUserSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetUserSeasonOK) ToJSONString() string
type PublicGetUserSeasonParams ¶
type PublicGetUserSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SeasonID*/ SeasonID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetUserSeasonParams contains all the parameters to send to the API endpoint for the public get user season operation typically these are written to a http.Request
func NewPublicGetUserSeasonParams ¶
func NewPublicGetUserSeasonParams() *PublicGetUserSeasonParams
NewPublicGetUserSeasonParams creates a new PublicGetUserSeasonParams object with the default values initialized.
func NewPublicGetUserSeasonParamsWithContext ¶
func NewPublicGetUserSeasonParamsWithContext(ctx context.Context) *PublicGetUserSeasonParams
NewPublicGetUserSeasonParamsWithContext creates a new PublicGetUserSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserSeasonParamsWithHTTPClient ¶
func NewPublicGetUserSeasonParamsWithHTTPClient(client *http.Client) *PublicGetUserSeasonParams
NewPublicGetUserSeasonParamsWithHTTPClient creates a new PublicGetUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserSeasonParamsWithTimeout ¶
func NewPublicGetUserSeasonParamsWithTimeout(timeout time.Duration) *PublicGetUserSeasonParams
NewPublicGetUserSeasonParamsWithTimeout creates a new PublicGetUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user season params
func (*PublicGetUserSeasonParams) SetContext ¶
func (o *PublicGetUserSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user season params
func (*PublicGetUserSeasonParams) SetHTTPClient ¶
func (o *PublicGetUserSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user season params
func (*PublicGetUserSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user season params
func (*PublicGetUserSeasonParams) SetNamespace ¶
func (o *PublicGetUserSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user season params
func (*PublicGetUserSeasonParams) SetSeasonID ¶
func (o *PublicGetUserSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the public get user season params
func (*PublicGetUserSeasonParams) SetTimeout ¶
func (o *PublicGetUserSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user season params
func (*PublicGetUserSeasonParams) SetUserID ¶
func (o *PublicGetUserSeasonParams) SetUserID(userID string)
SetUserID adds the userId to the public get user season params
func (*PublicGetUserSeasonParams) WithContext ¶
func (o *PublicGetUserSeasonParams) WithContext(ctx context.Context) *PublicGetUserSeasonParams
WithContext adds the context to the public get user season params
func (*PublicGetUserSeasonParams) WithHTTPClient ¶
func (o *PublicGetUserSeasonParams) WithHTTPClient(client *http.Client) *PublicGetUserSeasonParams
WithHTTPClient adds the HTTPClient to the public get user season params
func (*PublicGetUserSeasonParams) WithNamespace ¶
func (o *PublicGetUserSeasonParams) WithNamespace(namespace string) *PublicGetUserSeasonParams
WithNamespace adds the namespace to the public get user season params
func (*PublicGetUserSeasonParams) WithSeasonID ¶
func (o *PublicGetUserSeasonParams) WithSeasonID(seasonID string) *PublicGetUserSeasonParams
WithSeasonID adds the seasonID to the public get user season params
func (*PublicGetUserSeasonParams) WithTimeout ¶
func (o *PublicGetUserSeasonParams) WithTimeout(timeout time.Duration) *PublicGetUserSeasonParams
WithTimeout adds the timeout to the public get user season params
func (*PublicGetUserSeasonParams) WithUserID ¶
func (o *PublicGetUserSeasonParams) WithUserID(userID string) *PublicGetUserSeasonParams
WithUserID adds the userID to the public get user season params
func (*PublicGetUserSeasonParams) WriteToRequest ¶
func (o *PublicGetUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserSeasonReader ¶
type PublicGetUserSeasonReader struct {
// contains filtered or unexported fields
}
PublicGetUserSeasonReader is a Reader for the PublicGetUserSeason structure.
func (*PublicGetUserSeasonReader) ReadResponse ¶
func (o *PublicGetUserSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublishSeasonBadRequest ¶
type PublishSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublishSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr><tr><td>49121</td><td>Default language [{language}] required in localizations</td></tr></table>
func NewPublishSeasonBadRequest ¶
func NewPublishSeasonBadRequest() *PublishSeasonBadRequest
NewPublishSeasonBadRequest creates a PublishSeasonBadRequest with default headers values
func (*PublishSeasonBadRequest) Error ¶
func (o *PublishSeasonBadRequest) Error() string
func (*PublishSeasonBadRequest) GetPayload ¶
func (o *PublishSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublishSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublishSeasonBadRequest) ToJSONString() string
type PublishSeasonConflict ¶
type PublishSeasonConflict struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublishSeasonConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr><tr><td>49172</td><td>Season is already ended</td></tr><tr><td>49175</td><td>Published season already exists in namespace [{namespace}]</td></tr><tr><td>49176</td><td>Rewards are not provided</td></tr><tr><td>49177</td><td>Passes are not provided</td></tr><tr><td>49178</td><td>Tiers are not provided</td></tr><tr><td>49189</td><td>Duplicate season name [{name}] for publishing in namespace [{namespace}]</td></tr></table>
func NewPublishSeasonConflict ¶
func NewPublishSeasonConflict() *PublishSeasonConflict
NewPublishSeasonConflict creates a PublishSeasonConflict with default headers values
func (*PublishSeasonConflict) Error ¶
func (o *PublishSeasonConflict) Error() string
func (*PublishSeasonConflict) GetPayload ¶
func (o *PublishSeasonConflict) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublishSeasonConflict) ToJSONString ¶ added in v0.25.0
func (o *PublishSeasonConflict) ToJSONString() string
type PublishSeasonNotFound ¶
type PublishSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
PublishSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>49141</td><td>Tier item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>49142</td><td>Pass item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>49144</td><td>Reward [{code}] does not exist</td></tr></table>
func NewPublishSeasonNotFound ¶
func NewPublishSeasonNotFound() *PublishSeasonNotFound
NewPublishSeasonNotFound creates a PublishSeasonNotFound with default headers values
func (*PublishSeasonNotFound) Error ¶
func (o *PublishSeasonNotFound) Error() string
func (*PublishSeasonNotFound) GetPayload ¶
func (o *PublishSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*PublishSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublishSeasonNotFound) ToJSONString() string
type PublishSeasonOK ¶
type PublishSeasonOK struct {
Payload *seasonpassclientmodels.SeasonInfo
}
PublishSeasonOK handles this case with default header values.
successful operation
func NewPublishSeasonOK ¶
func NewPublishSeasonOK() *PublishSeasonOK
NewPublishSeasonOK creates a PublishSeasonOK with default headers values
func (*PublishSeasonOK) Error ¶
func (o *PublishSeasonOK) Error() string
func (*PublishSeasonOK) GetPayload ¶
func (o *PublishSeasonOK) GetPayload() *seasonpassclientmodels.SeasonInfo
func (*PublishSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *PublishSeasonOK) ToJSONString() string
type PublishSeasonParams ¶
type PublishSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublishSeasonParams contains all the parameters to send to the API endpoint for the publish season operation typically these are written to a http.Request
func NewPublishSeasonParams ¶
func NewPublishSeasonParams() *PublishSeasonParams
NewPublishSeasonParams creates a new PublishSeasonParams object with the default values initialized.
func NewPublishSeasonParamsWithContext ¶
func NewPublishSeasonParamsWithContext(ctx context.Context) *PublishSeasonParams
NewPublishSeasonParamsWithContext creates a new PublishSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewPublishSeasonParamsWithHTTPClient ¶
func NewPublishSeasonParamsWithHTTPClient(client *http.Client) *PublishSeasonParams
NewPublishSeasonParamsWithHTTPClient creates a new PublishSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublishSeasonParamsWithTimeout ¶
func NewPublishSeasonParamsWithTimeout(timeout time.Duration) *PublishSeasonParams
NewPublishSeasonParamsWithTimeout creates a new PublishSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublishSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublishSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the publish season params
func (*PublishSeasonParams) SetContext ¶
func (o *PublishSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the publish season params
func (*PublishSeasonParams) SetHTTPClient ¶
func (o *PublishSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the publish season params
func (*PublishSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublishSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the publish season params
func (*PublishSeasonParams) SetNamespace ¶
func (o *PublishSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the publish season params
func (*PublishSeasonParams) SetSeasonID ¶
func (o *PublishSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the publish season params
func (*PublishSeasonParams) SetTimeout ¶
func (o *PublishSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the publish season params
func (*PublishSeasonParams) WithContext ¶
func (o *PublishSeasonParams) WithContext(ctx context.Context) *PublishSeasonParams
WithContext adds the context to the publish season params
func (*PublishSeasonParams) WithHTTPClient ¶
func (o *PublishSeasonParams) WithHTTPClient(client *http.Client) *PublishSeasonParams
WithHTTPClient adds the HTTPClient to the publish season params
func (*PublishSeasonParams) WithNamespace ¶
func (o *PublishSeasonParams) WithNamespace(namespace string) *PublishSeasonParams
WithNamespace adds the namespace to the publish season params
func (*PublishSeasonParams) WithSeasonID ¶
func (o *PublishSeasonParams) WithSeasonID(seasonID string) *PublishSeasonParams
WithSeasonID adds the seasonID to the publish season params
func (*PublishSeasonParams) WithTimeout ¶
func (o *PublishSeasonParams) WithTimeout(timeout time.Duration) *PublishSeasonParams
WithTimeout adds the timeout to the publish season params
func (*PublishSeasonParams) WriteToRequest ¶
func (o *PublishSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublishSeasonReader ¶
type PublishSeasonReader struct {
// contains filtered or unexported fields
}
PublishSeasonReader is a Reader for the PublishSeason structure.
func (*PublishSeasonReader) ReadResponse ¶
func (o *PublishSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySeasonsBadRequest ¶
type QuerySeasonsBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
QuerySeasonsBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewQuerySeasonsBadRequest ¶
func NewQuerySeasonsBadRequest() *QuerySeasonsBadRequest
NewQuerySeasonsBadRequest creates a QuerySeasonsBadRequest with default headers values
func (*QuerySeasonsBadRequest) Error ¶
func (o *QuerySeasonsBadRequest) Error() string
func (*QuerySeasonsBadRequest) GetPayload ¶
func (o *QuerySeasonsBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*QuerySeasonsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *QuerySeasonsBadRequest) ToJSONString() string
type QuerySeasonsOK ¶
type QuerySeasonsOK struct {
Payload *seasonpassclientmodels.ListSeasonInfoPagingSlicedResult
}
QuerySeasonsOK handles this case with default header values.
successful operation
func NewQuerySeasonsOK ¶
func NewQuerySeasonsOK() *QuerySeasonsOK
NewQuerySeasonsOK creates a QuerySeasonsOK with default headers values
func (*QuerySeasonsOK) Error ¶
func (o *QuerySeasonsOK) Error() string
func (*QuerySeasonsOK) GetPayload ¶
func (o *QuerySeasonsOK) GetPayload() *seasonpassclientmodels.ListSeasonInfoPagingSlicedResult
func (*QuerySeasonsOK) ToJSONString ¶ added in v0.25.0
func (o *QuerySeasonsOK) ToJSONString() string
type QuerySeasonsParams ¶
type QuerySeasonsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit limit */ Limit *int32 /*Namespace*/ Namespace string /*Offset offset */ Offset *int32 /*Status*/ Status []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySeasonsParams contains all the parameters to send to the API endpoint for the query seasons operation typically these are written to a http.Request
func NewQuerySeasonsParams ¶
func NewQuerySeasonsParams() *QuerySeasonsParams
NewQuerySeasonsParams creates a new QuerySeasonsParams object with the default values initialized.
func NewQuerySeasonsParamsWithContext ¶
func NewQuerySeasonsParamsWithContext(ctx context.Context) *QuerySeasonsParams
NewQuerySeasonsParamsWithContext creates a new QuerySeasonsParams object with the default values initialized, and the ability to set a context for a request
func NewQuerySeasonsParamsWithHTTPClient ¶
func NewQuerySeasonsParamsWithHTTPClient(client *http.Client) *QuerySeasonsParams
NewQuerySeasonsParamsWithHTTPClient creates a new QuerySeasonsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuerySeasonsParamsWithTimeout ¶
func NewQuerySeasonsParamsWithTimeout(timeout time.Duration) *QuerySeasonsParams
NewQuerySeasonsParamsWithTimeout creates a new QuerySeasonsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuerySeasonsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QuerySeasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query seasons params
func (*QuerySeasonsParams) SetContext ¶
func (o *QuerySeasonsParams) SetContext(ctx context.Context)
SetContext adds the context to the query seasons params
func (*QuerySeasonsParams) SetHTTPClient ¶
func (o *QuerySeasonsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query seasons params
func (*QuerySeasonsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QuerySeasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query seasons params
func (*QuerySeasonsParams) SetLimit ¶
func (o *QuerySeasonsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query seasons params
func (*QuerySeasonsParams) SetNamespace ¶
func (o *QuerySeasonsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query seasons params
func (*QuerySeasonsParams) SetOffset ¶
func (o *QuerySeasonsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query seasons params
func (*QuerySeasonsParams) SetStatus ¶
func (o *QuerySeasonsParams) SetStatus(status []string)
SetStatus adds the status to the query seasons params
func (*QuerySeasonsParams) SetTimeout ¶
func (o *QuerySeasonsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query seasons params
func (*QuerySeasonsParams) WithContext ¶
func (o *QuerySeasonsParams) WithContext(ctx context.Context) *QuerySeasonsParams
WithContext adds the context to the query seasons params
func (*QuerySeasonsParams) WithHTTPClient ¶
func (o *QuerySeasonsParams) WithHTTPClient(client *http.Client) *QuerySeasonsParams
WithHTTPClient adds the HTTPClient to the query seasons params
func (*QuerySeasonsParams) WithLimit ¶
func (o *QuerySeasonsParams) WithLimit(limit *int32) *QuerySeasonsParams
WithLimit adds the limit to the query seasons params
func (*QuerySeasonsParams) WithNamespace ¶
func (o *QuerySeasonsParams) WithNamespace(namespace string) *QuerySeasonsParams
WithNamespace adds the namespace to the query seasons params
func (*QuerySeasonsParams) WithOffset ¶
func (o *QuerySeasonsParams) WithOffset(offset *int32) *QuerySeasonsParams
WithOffset adds the offset to the query seasons params
func (*QuerySeasonsParams) WithStatus ¶
func (o *QuerySeasonsParams) WithStatus(status []string) *QuerySeasonsParams
WithStatus adds the status to the query seasons params
func (*QuerySeasonsParams) WithTimeout ¶
func (o *QuerySeasonsParams) WithTimeout(timeout time.Duration) *QuerySeasonsParams
WithTimeout adds the timeout to the query seasons params
func (*QuerySeasonsParams) WriteToRequest ¶
func (o *QuerySeasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySeasonsReader ¶
type QuerySeasonsReader struct {
// contains filtered or unexported fields
}
QuerySeasonsReader is a Reader for the QuerySeasons structure.
func (*QuerySeasonsReader) ReadResponse ¶
func (o *QuerySeasonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryUserExpGrantHistoryBadRequest ¶ added in v0.21.0
type QueryUserExpGrantHistoryBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
QueryUserExpGrantHistoryBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewQueryUserExpGrantHistoryBadRequest ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryBadRequest() *QueryUserExpGrantHistoryBadRequest
NewQueryUserExpGrantHistoryBadRequest creates a QueryUserExpGrantHistoryBadRequest with default headers values
func (*QueryUserExpGrantHistoryBadRequest) Error ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryBadRequest) Error() string
func (*QueryUserExpGrantHistoryBadRequest) GetPayload ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*QueryUserExpGrantHistoryBadRequest) ToJSONString ¶ added in v0.25.0
func (o *QueryUserExpGrantHistoryBadRequest) ToJSONString() string
type QueryUserExpGrantHistoryOK ¶ added in v0.21.0
type QueryUserExpGrantHistoryOK struct {
Payload *seasonpassclientmodels.ExpGrantHistoryPagingSlicedResult
}
QueryUserExpGrantHistoryOK handles this case with default header values.
successful operation
func NewQueryUserExpGrantHistoryOK ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryOK() *QueryUserExpGrantHistoryOK
NewQueryUserExpGrantHistoryOK creates a QueryUserExpGrantHistoryOK with default headers values
func (*QueryUserExpGrantHistoryOK) Error ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryOK) Error() string
func (*QueryUserExpGrantHistoryOK) GetPayload ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryOK) GetPayload() *seasonpassclientmodels.ExpGrantHistoryPagingSlicedResult
func (*QueryUserExpGrantHistoryOK) ToJSONString ¶ added in v0.25.0
func (o *QueryUserExpGrantHistoryOK) ToJSONString() string
type QueryUserExpGrantHistoryParams ¶ added in v0.21.0
type QueryUserExpGrantHistoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*From section active range time start , using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ From *string /*Limit limit */ Limit *int32 /*Namespace Namespace */ Namespace string /*Offset offset */ Offset *int32 /*SeasonID if not provide, will query current season */ SeasonID *string /*Source exp grant source */ Source *string /*Tags exp grant tags */ Tags []string /*To section active range time end, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ To *string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryUserExpGrantHistoryParams contains all the parameters to send to the API endpoint for the query user exp grant history operation typically these are written to a http.Request
func NewQueryUserExpGrantHistoryParams ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryParams() *QueryUserExpGrantHistoryParams
NewQueryUserExpGrantHistoryParams creates a new QueryUserExpGrantHistoryParams object with the default values initialized.
func NewQueryUserExpGrantHistoryParamsWithContext ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryParamsWithContext(ctx context.Context) *QueryUserExpGrantHistoryParams
NewQueryUserExpGrantHistoryParamsWithContext creates a new QueryUserExpGrantHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewQueryUserExpGrantHistoryParamsWithHTTPClient ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryParamsWithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryParams
NewQueryUserExpGrantHistoryParamsWithHTTPClient creates a new QueryUserExpGrantHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryUserExpGrantHistoryParamsWithTimeout ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryParamsWithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryParams
NewQueryUserExpGrantHistoryParamsWithTimeout creates a new QueryUserExpGrantHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryUserExpGrantHistoryParams) SetAuthInfoWriter ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetContext ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetFrom ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetFrom(from *string)
SetFrom adds the from to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetHTTPClient ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetHTTPClientTransport ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetLimit ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetLimit(limit *int32)
SetLimit adds the limit to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetNamespace ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetOffset ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetOffset(offset *int32)
SetOffset adds the offset to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetSeasonID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetSeasonID(seasonID *string)
SetSeasonID adds the seasonId to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetSource ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetSource(source *string)
SetSource adds the source to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetTags ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetTags(tags []string)
SetTags adds the tags to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetTimeout ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetTo ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetTo(to *string)
SetTo adds the to to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) SetUserID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) SetUserID(userID string)
SetUserID adds the userId to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithContext ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithContext(ctx context.Context) *QueryUserExpGrantHistoryParams
WithContext adds the context to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithFrom ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithFrom(from *string) *QueryUserExpGrantHistoryParams
WithFrom adds the from to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithHTTPClient ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryParams
WithHTTPClient adds the HTTPClient to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithLimit ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithLimit(limit *int32) *QueryUserExpGrantHistoryParams
WithLimit adds the limit to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithNamespace ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithNamespace(namespace string) *QueryUserExpGrantHistoryParams
WithNamespace adds the namespace to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithOffset ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithOffset(offset *int32) *QueryUserExpGrantHistoryParams
WithOffset adds the offset to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithSeasonID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithSeasonID(seasonID *string) *QueryUserExpGrantHistoryParams
WithSeasonID adds the seasonID to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithSource ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithSource(source *string) *QueryUserExpGrantHistoryParams
WithSource adds the source to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithTags ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithTags(tags []string) *QueryUserExpGrantHistoryParams
WithTags adds the tags to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithTimeout ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryParams
WithTimeout adds the timeout to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithTo ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithTo(to *string) *QueryUserExpGrantHistoryParams
WithTo adds the to to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WithUserID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WithUserID(userID string) *QueryUserExpGrantHistoryParams
WithUserID adds the userID to the query user exp grant history params
func (*QueryUserExpGrantHistoryParams) WriteToRequest ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryUserExpGrantHistoryReader ¶ added in v0.21.0
type QueryUserExpGrantHistoryReader struct {
// contains filtered or unexported fields
}
QueryUserExpGrantHistoryReader is a Reader for the QueryUserExpGrantHistory structure.
func (*QueryUserExpGrantHistoryReader) ReadResponse ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryUserExpGrantHistoryTagBadRequest ¶ added in v0.21.0
type QueryUserExpGrantHistoryTagBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
QueryUserExpGrantHistoryTagBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewQueryUserExpGrantHistoryTagBadRequest ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryTagBadRequest() *QueryUserExpGrantHistoryTagBadRequest
NewQueryUserExpGrantHistoryTagBadRequest creates a QueryUserExpGrantHistoryTagBadRequest with default headers values
func (*QueryUserExpGrantHistoryTagBadRequest) Error ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagBadRequest) Error() string
func (*QueryUserExpGrantHistoryTagBadRequest) GetPayload ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*QueryUserExpGrantHistoryTagBadRequest) ToJSONString ¶ added in v0.25.0
func (o *QueryUserExpGrantHistoryTagBadRequest) ToJSONString() string
type QueryUserExpGrantHistoryTagOK ¶ added in v0.21.0
type QueryUserExpGrantHistoryTagOK struct {
Payload *seasonpassclientmodels.ReasonTagsResult
}
QueryUserExpGrantHistoryTagOK handles this case with default header values.
successful operation
func NewQueryUserExpGrantHistoryTagOK ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryTagOK() *QueryUserExpGrantHistoryTagOK
NewQueryUserExpGrantHistoryTagOK creates a QueryUserExpGrantHistoryTagOK with default headers values
func (*QueryUserExpGrantHistoryTagOK) Error ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagOK) Error() string
func (*QueryUserExpGrantHistoryTagOK) GetPayload ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagOK) GetPayload() *seasonpassclientmodels.ReasonTagsResult
func (*QueryUserExpGrantHistoryTagOK) ToJSONString ¶ added in v0.25.0
func (o *QueryUserExpGrantHistoryTagOK) ToJSONString() string
type QueryUserExpGrantHistoryTagParams ¶ added in v0.21.0
type QueryUserExpGrantHistoryTagParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SeasonID if not provide, will query current season */ SeasonID *string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryUserExpGrantHistoryTagParams contains all the parameters to send to the API endpoint for the query user exp grant history tag operation typically these are written to a http.Request
func NewQueryUserExpGrantHistoryTagParams ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryTagParams() *QueryUserExpGrantHistoryTagParams
NewQueryUserExpGrantHistoryTagParams creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized.
func NewQueryUserExpGrantHistoryTagParamsWithContext ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryTagParamsWithContext(ctx context.Context) *QueryUserExpGrantHistoryTagParams
NewQueryUserExpGrantHistoryTagParamsWithContext creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized, and the ability to set a context for a request
func NewQueryUserExpGrantHistoryTagParamsWithHTTPClient ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryTagParamsWithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryTagParams
NewQueryUserExpGrantHistoryTagParamsWithHTTPClient creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryUserExpGrantHistoryTagParamsWithTimeout ¶ added in v0.21.0
func NewQueryUserExpGrantHistoryTagParamsWithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryTagParams
NewQueryUserExpGrantHistoryTagParamsWithTimeout creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryUserExpGrantHistoryTagParams) SetAuthInfoWriter ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) SetContext ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetContext(ctx context.Context)
SetContext adds the context to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) SetHTTPClient ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) SetHTTPClientTransport ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) SetNamespace ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) SetSeasonID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetSeasonID(seasonID *string)
SetSeasonID adds the seasonId to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) SetTimeout ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) SetUserID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) SetUserID(userID string)
SetUserID adds the userId to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) WithContext ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) WithContext(ctx context.Context) *QueryUserExpGrantHistoryTagParams
WithContext adds the context to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) WithHTTPClient ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) WithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryTagParams
WithHTTPClient adds the HTTPClient to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) WithNamespace ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) WithNamespace(namespace string) *QueryUserExpGrantHistoryTagParams
WithNamespace adds the namespace to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) WithSeasonID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) WithSeasonID(seasonID *string) *QueryUserExpGrantHistoryTagParams
WithSeasonID adds the seasonID to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) WithTimeout ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) WithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryTagParams
WithTimeout adds the timeout to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) WithUserID ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) WithUserID(userID string) *QueryUserExpGrantHistoryTagParams
WithUserID adds the userID to the query user exp grant history tag params
func (*QueryUserExpGrantHistoryTagParams) WriteToRequest ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryUserExpGrantHistoryTagReader ¶ added in v0.21.0
type QueryUserExpGrantHistoryTagReader struct {
// contains filtered or unexported fields
}
QueryUserExpGrantHistoryTagReader is a Reader for the QueryUserExpGrantHistoryTag structure.
func (*QueryUserExpGrantHistoryTagReader) ReadResponse ¶ added in v0.21.0
func (o *QueryUserExpGrantHistoryTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetUserSeasonBadRequest ¶
type ResetUserSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
ResetUserSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewResetUserSeasonBadRequest ¶
func NewResetUserSeasonBadRequest() *ResetUserSeasonBadRequest
NewResetUserSeasonBadRequest creates a ResetUserSeasonBadRequest with default headers values
func (*ResetUserSeasonBadRequest) Error ¶
func (o *ResetUserSeasonBadRequest) Error() string
func (*ResetUserSeasonBadRequest) GetPayload ¶
func (o *ResetUserSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*ResetUserSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *ResetUserSeasonBadRequest) ToJSONString() string
type ResetUserSeasonNoContent ¶
type ResetUserSeasonNoContent struct { }
ResetUserSeasonNoContent handles this case with default header values.
OK
func NewResetUserSeasonNoContent ¶
func NewResetUserSeasonNoContent() *ResetUserSeasonNoContent
NewResetUserSeasonNoContent creates a ResetUserSeasonNoContent with default headers values
func (*ResetUserSeasonNoContent) Error ¶
func (o *ResetUserSeasonNoContent) Error() string
type ResetUserSeasonParams ¶
type ResetUserSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetUserSeasonParams contains all the parameters to send to the API endpoint for the reset user season operation typically these are written to a http.Request
func NewResetUserSeasonParams ¶
func NewResetUserSeasonParams() *ResetUserSeasonParams
NewResetUserSeasonParams creates a new ResetUserSeasonParams object with the default values initialized.
func NewResetUserSeasonParamsWithContext ¶
func NewResetUserSeasonParamsWithContext(ctx context.Context) *ResetUserSeasonParams
NewResetUserSeasonParamsWithContext creates a new ResetUserSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewResetUserSeasonParamsWithHTTPClient ¶
func NewResetUserSeasonParamsWithHTTPClient(client *http.Client) *ResetUserSeasonParams
NewResetUserSeasonParamsWithHTTPClient creates a new ResetUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResetUserSeasonParamsWithTimeout ¶
func NewResetUserSeasonParamsWithTimeout(timeout time.Duration) *ResetUserSeasonParams
NewResetUserSeasonParamsWithTimeout creates a new ResetUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResetUserSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ResetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the reset user season params
func (*ResetUserSeasonParams) SetContext ¶
func (o *ResetUserSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the reset user season params
func (*ResetUserSeasonParams) SetHTTPClient ¶
func (o *ResetUserSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset user season params
func (*ResetUserSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ResetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the reset user season params
func (*ResetUserSeasonParams) SetNamespace ¶
func (o *ResetUserSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the reset user season params
func (*ResetUserSeasonParams) SetTimeout ¶
func (o *ResetUserSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset user season params
func (*ResetUserSeasonParams) SetUserID ¶
func (o *ResetUserSeasonParams) SetUserID(userID string)
SetUserID adds the userId to the reset user season params
func (*ResetUserSeasonParams) WithContext ¶
func (o *ResetUserSeasonParams) WithContext(ctx context.Context) *ResetUserSeasonParams
WithContext adds the context to the reset user season params
func (*ResetUserSeasonParams) WithHTTPClient ¶
func (o *ResetUserSeasonParams) WithHTTPClient(client *http.Client) *ResetUserSeasonParams
WithHTTPClient adds the HTTPClient to the reset user season params
func (*ResetUserSeasonParams) WithNamespace ¶
func (o *ResetUserSeasonParams) WithNamespace(namespace string) *ResetUserSeasonParams
WithNamespace adds the namespace to the reset user season params
func (*ResetUserSeasonParams) WithTimeout ¶
func (o *ResetUserSeasonParams) WithTimeout(timeout time.Duration) *ResetUserSeasonParams
WithTimeout adds the timeout to the reset user season params
func (*ResetUserSeasonParams) WithUserID ¶
func (o *ResetUserSeasonParams) WithUserID(userID string) *ResetUserSeasonParams
WithUserID adds the userID to the reset user season params
func (*ResetUserSeasonParams) WriteToRequest ¶
func (o *ResetUserSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetUserSeasonReader ¶
type ResetUserSeasonReader struct {
// contains filtered or unexported fields
}
ResetUserSeasonReader is a Reader for the ResetUserSeason structure.
func (*ResetUserSeasonReader) ReadResponse ¶
func (o *ResetUserSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetireSeasonBadRequest ¶
type RetireSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
RetireSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewRetireSeasonBadRequest ¶
func NewRetireSeasonBadRequest() *RetireSeasonBadRequest
NewRetireSeasonBadRequest creates a RetireSeasonBadRequest with default headers values
func (*RetireSeasonBadRequest) Error ¶
func (o *RetireSeasonBadRequest) Error() string
func (*RetireSeasonBadRequest) GetPayload ¶
func (o *RetireSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*RetireSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *RetireSeasonBadRequest) ToJSONString() string
type RetireSeasonConflict ¶
type RetireSeasonConflict struct {
Payload *seasonpassclientmodels.ErrorEntity
}
RetireSeasonConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr><tr><td>49181</td><td>Season has not ended</td></tr></table>
func NewRetireSeasonConflict ¶
func NewRetireSeasonConflict() *RetireSeasonConflict
NewRetireSeasonConflict creates a RetireSeasonConflict with default headers values
func (*RetireSeasonConflict) Error ¶
func (o *RetireSeasonConflict) Error() string
func (*RetireSeasonConflict) GetPayload ¶
func (o *RetireSeasonConflict) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*RetireSeasonConflict) ToJSONString ¶ added in v0.25.0
func (o *RetireSeasonConflict) ToJSONString() string
type RetireSeasonNotFound ¶
type RetireSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
RetireSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewRetireSeasonNotFound ¶
func NewRetireSeasonNotFound() *RetireSeasonNotFound
NewRetireSeasonNotFound creates a RetireSeasonNotFound with default headers values
func (*RetireSeasonNotFound) Error ¶
func (o *RetireSeasonNotFound) Error() string
func (*RetireSeasonNotFound) GetPayload ¶
func (o *RetireSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*RetireSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *RetireSeasonNotFound) ToJSONString() string
type RetireSeasonOK ¶
type RetireSeasonOK struct {
Payload *seasonpassclientmodels.SeasonInfo
}
RetireSeasonOK handles this case with default header values.
successful operation
func NewRetireSeasonOK ¶
func NewRetireSeasonOK() *RetireSeasonOK
NewRetireSeasonOK creates a RetireSeasonOK with default headers values
func (*RetireSeasonOK) Error ¶
func (o *RetireSeasonOK) Error() string
func (*RetireSeasonOK) GetPayload ¶
func (o *RetireSeasonOK) GetPayload() *seasonpassclientmodels.SeasonInfo
func (*RetireSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *RetireSeasonOK) ToJSONString() string
type RetireSeasonParams ¶
type RetireSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Force*/ Force *bool /*Namespace*/ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetireSeasonParams contains all the parameters to send to the API endpoint for the retire season operation typically these are written to a http.Request
func NewRetireSeasonParams ¶
func NewRetireSeasonParams() *RetireSeasonParams
NewRetireSeasonParams creates a new RetireSeasonParams object with the default values initialized.
func NewRetireSeasonParamsWithContext ¶
func NewRetireSeasonParamsWithContext(ctx context.Context) *RetireSeasonParams
NewRetireSeasonParamsWithContext creates a new RetireSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewRetireSeasonParamsWithHTTPClient ¶
func NewRetireSeasonParamsWithHTTPClient(client *http.Client) *RetireSeasonParams
NewRetireSeasonParamsWithHTTPClient creates a new RetireSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetireSeasonParamsWithTimeout ¶
func NewRetireSeasonParamsWithTimeout(timeout time.Duration) *RetireSeasonParams
NewRetireSeasonParamsWithTimeout creates a new RetireSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetireSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetireSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retire season params
func (*RetireSeasonParams) SetContext ¶
func (o *RetireSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the retire season params
func (*RetireSeasonParams) SetForce ¶
func (o *RetireSeasonParams) SetForce(force *bool)
SetForce adds the force to the retire season params
func (*RetireSeasonParams) SetHTTPClient ¶
func (o *RetireSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retire season params
func (*RetireSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetireSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retire season params
func (*RetireSeasonParams) SetNamespace ¶
func (o *RetireSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retire season params
func (*RetireSeasonParams) SetSeasonID ¶
func (o *RetireSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the retire season params
func (*RetireSeasonParams) SetTimeout ¶
func (o *RetireSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retire season params
func (*RetireSeasonParams) WithContext ¶
func (o *RetireSeasonParams) WithContext(ctx context.Context) *RetireSeasonParams
WithContext adds the context to the retire season params
func (*RetireSeasonParams) WithForce ¶
func (o *RetireSeasonParams) WithForce(force *bool) *RetireSeasonParams
WithForce adds the force to the retire season params
func (*RetireSeasonParams) WithHTTPClient ¶
func (o *RetireSeasonParams) WithHTTPClient(client *http.Client) *RetireSeasonParams
WithHTTPClient adds the HTTPClient to the retire season params
func (*RetireSeasonParams) WithNamespace ¶
func (o *RetireSeasonParams) WithNamespace(namespace string) *RetireSeasonParams
WithNamespace adds the namespace to the retire season params
func (*RetireSeasonParams) WithSeasonID ¶
func (o *RetireSeasonParams) WithSeasonID(seasonID string) *RetireSeasonParams
WithSeasonID adds the seasonID to the retire season params
func (*RetireSeasonParams) WithTimeout ¶
func (o *RetireSeasonParams) WithTimeout(timeout time.Duration) *RetireSeasonParams
WithTimeout adds the timeout to the retire season params
func (*RetireSeasonParams) WriteToRequest ¶
func (o *RetireSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetireSeasonReader ¶
type RetireSeasonReader struct {
// contains filtered or unexported fields
}
RetireSeasonReader is a Reader for the RetireSeason structure.
func (*RetireSeasonReader) ReadResponse ¶
func (o *RetireSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnpublishSeasonBadRequest ¶
type UnpublishSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
UnpublishSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>
func NewUnpublishSeasonBadRequest ¶
func NewUnpublishSeasonBadRequest() *UnpublishSeasonBadRequest
NewUnpublishSeasonBadRequest creates a UnpublishSeasonBadRequest with default headers values
func (*UnpublishSeasonBadRequest) Error ¶
func (o *UnpublishSeasonBadRequest) Error() string
func (*UnpublishSeasonBadRequest) GetPayload ¶
func (o *UnpublishSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*UnpublishSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UnpublishSeasonBadRequest) ToJSONString() string
type UnpublishSeasonConflict ¶
type UnpublishSeasonConflict struct {
Payload *seasonpassclientmodels.ErrorEntity
}
UnpublishSeasonConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr><tr><td>49180</td><td>Season is already started</td></tr></table>
func NewUnpublishSeasonConflict ¶
func NewUnpublishSeasonConflict() *UnpublishSeasonConflict
NewUnpublishSeasonConflict creates a UnpublishSeasonConflict with default headers values
func (*UnpublishSeasonConflict) Error ¶
func (o *UnpublishSeasonConflict) Error() string
func (*UnpublishSeasonConflict) GetPayload ¶
func (o *UnpublishSeasonConflict) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*UnpublishSeasonConflict) ToJSONString ¶ added in v0.25.0
func (o *UnpublishSeasonConflict) ToJSONString() string
type UnpublishSeasonNotFound ¶
type UnpublishSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
UnpublishSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewUnpublishSeasonNotFound ¶
func NewUnpublishSeasonNotFound() *UnpublishSeasonNotFound
NewUnpublishSeasonNotFound creates a UnpublishSeasonNotFound with default headers values
func (*UnpublishSeasonNotFound) Error ¶
func (o *UnpublishSeasonNotFound) Error() string
func (*UnpublishSeasonNotFound) GetPayload ¶
func (o *UnpublishSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*UnpublishSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *UnpublishSeasonNotFound) ToJSONString() string
type UnpublishSeasonOK ¶
type UnpublishSeasonOK struct {
Payload *seasonpassclientmodels.SeasonInfo
}
UnpublishSeasonOK handles this case with default header values.
successful operation
func NewUnpublishSeasonOK ¶
func NewUnpublishSeasonOK() *UnpublishSeasonOK
NewUnpublishSeasonOK creates a UnpublishSeasonOK with default headers values
func (*UnpublishSeasonOK) Error ¶
func (o *UnpublishSeasonOK) Error() string
func (*UnpublishSeasonOK) GetPayload ¶
func (o *UnpublishSeasonOK) GetPayload() *seasonpassclientmodels.SeasonInfo
func (*UnpublishSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *UnpublishSeasonOK) ToJSONString() string
type UnpublishSeasonParams ¶
type UnpublishSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Force*/ Force *bool /*Namespace*/ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnpublishSeasonParams contains all the parameters to send to the API endpoint for the unpublish season operation typically these are written to a http.Request
func NewUnpublishSeasonParams ¶
func NewUnpublishSeasonParams() *UnpublishSeasonParams
NewUnpublishSeasonParams creates a new UnpublishSeasonParams object with the default values initialized.
func NewUnpublishSeasonParamsWithContext ¶
func NewUnpublishSeasonParamsWithContext(ctx context.Context) *UnpublishSeasonParams
NewUnpublishSeasonParamsWithContext creates a new UnpublishSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewUnpublishSeasonParamsWithHTTPClient ¶
func NewUnpublishSeasonParamsWithHTTPClient(client *http.Client) *UnpublishSeasonParams
NewUnpublishSeasonParamsWithHTTPClient creates a new UnpublishSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnpublishSeasonParamsWithTimeout ¶
func NewUnpublishSeasonParamsWithTimeout(timeout time.Duration) *UnpublishSeasonParams
NewUnpublishSeasonParamsWithTimeout creates a new UnpublishSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnpublishSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UnpublishSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the unpublish season params
func (*UnpublishSeasonParams) SetContext ¶
func (o *UnpublishSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the unpublish season params
func (*UnpublishSeasonParams) SetForce ¶
func (o *UnpublishSeasonParams) SetForce(force *bool)
SetForce adds the force to the unpublish season params
func (*UnpublishSeasonParams) SetHTTPClient ¶
func (o *UnpublishSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unpublish season params
func (*UnpublishSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UnpublishSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the unpublish season params
func (*UnpublishSeasonParams) SetNamespace ¶
func (o *UnpublishSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the unpublish season params
func (*UnpublishSeasonParams) SetSeasonID ¶
func (o *UnpublishSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the unpublish season params
func (*UnpublishSeasonParams) SetTimeout ¶
func (o *UnpublishSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unpublish season params
func (*UnpublishSeasonParams) WithContext ¶
func (o *UnpublishSeasonParams) WithContext(ctx context.Context) *UnpublishSeasonParams
WithContext adds the context to the unpublish season params
func (*UnpublishSeasonParams) WithForce ¶
func (o *UnpublishSeasonParams) WithForce(force *bool) *UnpublishSeasonParams
WithForce adds the force to the unpublish season params
func (*UnpublishSeasonParams) WithHTTPClient ¶
func (o *UnpublishSeasonParams) WithHTTPClient(client *http.Client) *UnpublishSeasonParams
WithHTTPClient adds the HTTPClient to the unpublish season params
func (*UnpublishSeasonParams) WithNamespace ¶
func (o *UnpublishSeasonParams) WithNamespace(namespace string) *UnpublishSeasonParams
WithNamespace adds the namespace to the unpublish season params
func (*UnpublishSeasonParams) WithSeasonID ¶
func (o *UnpublishSeasonParams) WithSeasonID(seasonID string) *UnpublishSeasonParams
WithSeasonID adds the seasonID to the unpublish season params
func (*UnpublishSeasonParams) WithTimeout ¶
func (o *UnpublishSeasonParams) WithTimeout(timeout time.Duration) *UnpublishSeasonParams
WithTimeout adds the timeout to the unpublish season params
func (*UnpublishSeasonParams) WriteToRequest ¶
func (o *UnpublishSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnpublishSeasonReader ¶
type UnpublishSeasonReader struct {
// contains filtered or unexported fields
}
UnpublishSeasonReader is a Reader for the UnpublishSeason structure.
func (*UnpublishSeasonReader) ReadResponse ¶
func (o *UnpublishSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSeasonBadRequest ¶
type UpdateSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
UpdateSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr><tr><td>49121</td><td>Default language [{language}] required in localizations</td></tr><tr><td>49122</td><td>Invalid time range</td></tr></table>
func NewUpdateSeasonBadRequest ¶
func NewUpdateSeasonBadRequest() *UpdateSeasonBadRequest
NewUpdateSeasonBadRequest creates a UpdateSeasonBadRequest with default headers values
func (*UpdateSeasonBadRequest) Error ¶
func (o *UpdateSeasonBadRequest) Error() string
func (*UpdateSeasonBadRequest) GetPayload ¶
func (o *UpdateSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*UpdateSeasonBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateSeasonBadRequest) ToJSONString() string
type UpdateSeasonConflict ¶
type UpdateSeasonConflict struct {
Payload *seasonpassclientmodels.ErrorEntity
}
UpdateSeasonConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr></table>
func NewUpdateSeasonConflict ¶
func NewUpdateSeasonConflict() *UpdateSeasonConflict
NewUpdateSeasonConflict creates a UpdateSeasonConflict with default headers values
func (*UpdateSeasonConflict) Error ¶
func (o *UpdateSeasonConflict) Error() string
func (*UpdateSeasonConflict) GetPayload ¶
func (o *UpdateSeasonConflict) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*UpdateSeasonConflict) ToJSONString ¶ added in v0.25.0
func (o *UpdateSeasonConflict) ToJSONString() string
type UpdateSeasonNotFound ¶
type UpdateSeasonNotFound struct {
Payload *seasonpassclientmodels.ErrorEntity
}
UpdateSeasonNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>49141</td><td>Tier item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>
func NewUpdateSeasonNotFound ¶
func NewUpdateSeasonNotFound() *UpdateSeasonNotFound
NewUpdateSeasonNotFound creates a UpdateSeasonNotFound with default headers values
func (*UpdateSeasonNotFound) Error ¶
func (o *UpdateSeasonNotFound) Error() string
func (*UpdateSeasonNotFound) GetPayload ¶
func (o *UpdateSeasonNotFound) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*UpdateSeasonNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateSeasonNotFound) ToJSONString() string
type UpdateSeasonOK ¶
type UpdateSeasonOK struct {
Payload *seasonpassclientmodels.SeasonInfo
}
UpdateSeasonOK handles this case with default header values.
successful operation
func NewUpdateSeasonOK ¶
func NewUpdateSeasonOK() *UpdateSeasonOK
NewUpdateSeasonOK creates a UpdateSeasonOK with default headers values
func (*UpdateSeasonOK) Error ¶
func (o *UpdateSeasonOK) Error() string
func (*UpdateSeasonOK) GetPayload ¶
func (o *UpdateSeasonOK) GetPayload() *seasonpassclientmodels.SeasonInfo
func (*UpdateSeasonOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateSeasonOK) ToJSONString() string
type UpdateSeasonParams ¶
type UpdateSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *seasonpassclientmodels.SeasonUpdate /*Namespace*/ Namespace string /*SeasonID*/ SeasonID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSeasonParams contains all the parameters to send to the API endpoint for the update season operation typically these are written to a http.Request
func NewUpdateSeasonParams ¶
func NewUpdateSeasonParams() *UpdateSeasonParams
NewUpdateSeasonParams creates a new UpdateSeasonParams object with the default values initialized.
func NewUpdateSeasonParamsWithContext ¶
func NewUpdateSeasonParamsWithContext(ctx context.Context) *UpdateSeasonParams
NewUpdateSeasonParamsWithContext creates a new UpdateSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSeasonParamsWithHTTPClient ¶
func NewUpdateSeasonParamsWithHTTPClient(client *http.Client) *UpdateSeasonParams
NewUpdateSeasonParamsWithHTTPClient creates a new UpdateSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSeasonParamsWithTimeout ¶
func NewUpdateSeasonParamsWithTimeout(timeout time.Duration) *UpdateSeasonParams
NewUpdateSeasonParamsWithTimeout creates a new UpdateSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSeasonParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update season params
func (*UpdateSeasonParams) SetBody ¶
func (o *UpdateSeasonParams) SetBody(body *seasonpassclientmodels.SeasonUpdate)
SetBody adds the body to the update season params
func (*UpdateSeasonParams) SetContext ¶
func (o *UpdateSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the update season params
func (*UpdateSeasonParams) SetHTTPClient ¶
func (o *UpdateSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update season params
func (*UpdateSeasonParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update season params
func (*UpdateSeasonParams) SetNamespace ¶
func (o *UpdateSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update season params
func (*UpdateSeasonParams) SetSeasonID ¶
func (o *UpdateSeasonParams) SetSeasonID(seasonID string)
SetSeasonID adds the seasonId to the update season params
func (*UpdateSeasonParams) SetTimeout ¶
func (o *UpdateSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update season params
func (*UpdateSeasonParams) WithBody ¶
func (o *UpdateSeasonParams) WithBody(body *seasonpassclientmodels.SeasonUpdate) *UpdateSeasonParams
WithBody adds the body to the update season params
func (*UpdateSeasonParams) WithContext ¶
func (o *UpdateSeasonParams) WithContext(ctx context.Context) *UpdateSeasonParams
WithContext adds the context to the update season params
func (*UpdateSeasonParams) WithHTTPClient ¶
func (o *UpdateSeasonParams) WithHTTPClient(client *http.Client) *UpdateSeasonParams
WithHTTPClient adds the HTTPClient to the update season params
func (*UpdateSeasonParams) WithNamespace ¶
func (o *UpdateSeasonParams) WithNamespace(namespace string) *UpdateSeasonParams
WithNamespace adds the namespace to the update season params
func (*UpdateSeasonParams) WithSeasonID ¶
func (o *UpdateSeasonParams) WithSeasonID(seasonID string) *UpdateSeasonParams
WithSeasonID adds the seasonID to the update season params
func (*UpdateSeasonParams) WithTimeout ¶
func (o *UpdateSeasonParams) WithTimeout(timeout time.Duration) *UpdateSeasonParams
WithTimeout adds the timeout to the update season params
func (*UpdateSeasonParams) WriteToRequest ¶
func (o *UpdateSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSeasonReader ¶
type UpdateSeasonReader struct {
// contains filtered or unexported fields
}
UpdateSeasonReader is a Reader for the UpdateSeason structure.
func (*UpdateSeasonReader) ReadResponse ¶
func (o *UpdateSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSeasonUnprocessableEntity ¶
type UpdateSeasonUnprocessableEntity struct {
Payload *seasonpassclientmodels.ValidationErrorEntity
}
UpdateSeasonUnprocessableEntity 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 NewUpdateSeasonUnprocessableEntity ¶
func NewUpdateSeasonUnprocessableEntity() *UpdateSeasonUnprocessableEntity
NewUpdateSeasonUnprocessableEntity creates a UpdateSeasonUnprocessableEntity with default headers values
func (*UpdateSeasonUnprocessableEntity) Error ¶
func (o *UpdateSeasonUnprocessableEntity) Error() string
func (*UpdateSeasonUnprocessableEntity) GetPayload ¶
func (o *UpdateSeasonUnprocessableEntity) GetPayload() *seasonpassclientmodels.ValidationErrorEntity
func (*UpdateSeasonUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *UpdateSeasonUnprocessableEntity) ToJSONString() string
Source Files ¶
- bulk_get_user_season_progression_parameters.go
- bulk_get_user_season_progression_responses.go
- check_season_purchasable_parameters.go
- check_season_purchasable_responses.go
- clone_season_parameters.go
- clone_season_responses.go
- create_season_parameters.go
- create_season_responses.go
- delete_season_parameters.go
- delete_season_responses.go
- exists_any_pass_by_pass_codes_parameters.go
- exists_any_pass_by_pass_codes_responses.go
- get_current_season_parameters.go
- get_current_season_responses.go
- get_current_user_season_progression_parameters.go
- get_current_user_season_progression_responses.go
- get_full_season_parameters.go
- get_full_season_responses.go
- get_season_parameters.go
- get_season_responses.go
- get_user_participated_seasons_parameters.go
- get_user_participated_seasons_responses.go
- get_user_season_parameters.go
- get_user_season_responses.go
- public_get_current_season_parameters.go
- public_get_current_season_responses.go
- public_get_current_user_season_parameters.go
- public_get_current_user_season_responses.go
- public_get_user_season_parameters.go
- public_get_user_season_responses.go
- publish_season_parameters.go
- publish_season_responses.go
- query_seasons_parameters.go
- query_seasons_responses.go
- query_user_exp_grant_history_parameters.go
- query_user_exp_grant_history_responses.go
- query_user_exp_grant_history_tag_parameters.go
- query_user_exp_grant_history_tag_responses.go
- reset_user_season_parameters.go
- reset_user_season_responses.go
- retire_season_parameters.go
- retire_season_responses.go
- season_client.go
- unpublish_season_parameters.go
- unpublish_season_responses.go
- update_season_parameters.go
- update_season_responses.go