Documentation ¶
Index ¶
- 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) CheckSeasonPurchasable(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, *CheckSeasonPurchasableBadRequest, ...)
- func (a *Client) CheckSeasonPurchasableShort(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, error)
- func (a *Client) CloneSeason(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, *CloneSeasonBadRequest, *CloneSeasonNotFound, ...)
- func (a *Client) CloneSeasonShort(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, error)
- func (a *Client) CreateSeason(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, *CreateSeasonBadRequest, *CreateSeasonNotFound, ...)
- func (a *Client) CreateSeasonShort(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, error)
- func (a *Client) DeleteSeason(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, *DeleteSeasonBadRequest, *DeleteSeasonNotFound, ...)
- func (a *Client) DeleteSeasonShort(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, error)
- func (a *Client) ExistsAnyPassByPassCodes(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, *ExistsAnyPassByPassCodesBadRequest, error)
- func (a *Client) ExistsAnyPassByPassCodesShort(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, error)
- func (a *Client) GetCurrentSeason(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, *GetCurrentSeasonBadRequest, *GetCurrentSeasonNotFound, ...)
- func (a *Client) GetCurrentSeasonShort(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, error)
- func (a *Client) GetCurrentUserSeasonProgression(params *GetCurrentUserSeasonProgressionParams, ...) (*GetCurrentUserSeasonProgressionOK, *GetCurrentUserSeasonProgressionBadRequest, ...)
- func (a *Client) GetCurrentUserSeasonProgressionShort(params *GetCurrentUserSeasonProgressionParams, ...) (*GetCurrentUserSeasonProgressionOK, error)
- func (a *Client) GetSeason(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, *GetSeasonBadRequest, *GetSeasonNotFound, error)
- func (a *Client) GetSeasonShort(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, error)
- func (a *Client) GetUserParticipatedSeasons(params *GetUserParticipatedSeasonsParams, ...) (*GetUserParticipatedSeasonsOK, *GetUserParticipatedSeasonsBadRequest, error)
- func (a *Client) GetUserParticipatedSeasonsShort(params *GetUserParticipatedSeasonsParams, ...) (*GetUserParticipatedSeasonsOK, error)
- func (a *Client) GetUserSeason(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, *GetUserSeasonBadRequest, *GetUserSeasonNotFound, error)
- func (a *Client) GetUserSeasonShort(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, error)
- func (a *Client) PublicGetCurrentSeason(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, *PublicGetCurrentSeasonBadRequest, ...)
- func (a *Client) PublicGetCurrentSeasonShort(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, error)
- func (a *Client) PublicGetCurrentUserSeason(params *PublicGetCurrentUserSeasonParams, ...) (*PublicGetCurrentUserSeasonOK, *PublicGetCurrentUserSeasonBadRequest, ...)
- func (a *Client) PublicGetCurrentUserSeasonShort(params *PublicGetCurrentUserSeasonParams, ...) (*PublicGetCurrentUserSeasonOK, error)
- func (a *Client) PublicGetUserSeason(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, *PublicGetUserSeasonBadRequest, ...)
- func (a *Client) PublicGetUserSeasonShort(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, error)
- func (a *Client) PublishSeason(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, *PublishSeasonBadRequest, *PublishSeasonNotFound, ...)
- func (a *Client) PublishSeasonShort(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, error)
- func (a *Client) QuerySeasons(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, *QuerySeasonsBadRequest, error)
- func (a *Client) QuerySeasonsShort(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, error)
- func (a *Client) ResetUserSeason(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, *ResetUserSeasonBadRequest, error)
- func (a *Client) ResetUserSeasonShort(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, error)
- func (a *Client) RetireSeason(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, *RetireSeasonBadRequest, *RetireSeasonNotFound, ...)
- 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, ...)
- func (a *Client) UnpublishSeasonShort(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, error)
- func (a *Client) UpdateSeason(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, *UpdateSeasonBadRequest, *UpdateSeasonNotFound, ...)
- 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 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 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
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
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
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) CheckSeasonPurchasable ¶
func (a *Client) CheckSeasonPurchasable(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, *CheckSeasonPurchasableBadRequest, *CheckSeasonPurchasableNotFound, *CheckSeasonPurchasableConflict, error)
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)
func (*Client) CloneSeason ¶
func (a *Client) CloneSeason(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, *CloneSeasonBadRequest, *CloneSeasonNotFound, *CloneSeasonUnprocessableEntity, error)
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)
func (*Client) CreateSeason ¶
func (a *Client) CreateSeason(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, *CreateSeasonBadRequest, *CreateSeasonNotFound, *CreateSeasonUnprocessableEntity, error)
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)
func (*Client) DeleteSeason ¶
func (a *Client) DeleteSeason(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, *DeleteSeasonBadRequest, *DeleteSeasonNotFound, *DeleteSeasonConflict, error)
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)
func (*Client) ExistsAnyPassByPassCodes ¶
func (a *Client) ExistsAnyPassByPassCodes(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, *ExistsAnyPassByPassCodesBadRequest, error)
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)
func (*Client) GetCurrentSeason ¶
func (a *Client) GetCurrentSeason(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, *GetCurrentSeasonBadRequest, *GetCurrentSeasonNotFound, error)
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)
func (*Client) GetCurrentUserSeasonProgression ¶
func (a *Client) GetCurrentUserSeasonProgression(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, *GetCurrentUserSeasonProgressionBadRequest, *GetCurrentUserSeasonProgressionNotFound, error)
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)
func (*Client) GetSeason ¶
func (a *Client) GetSeason(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, *GetSeasonBadRequest, *GetSeasonNotFound, error)
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)
func (*Client) GetUserParticipatedSeasons ¶
func (a *Client) GetUserParticipatedSeasons(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, *GetUserParticipatedSeasonsBadRequest, error)
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)
func (*Client) GetUserSeason ¶
func (a *Client) GetUserSeason(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, *GetUserSeasonBadRequest, *GetUserSeasonNotFound, error)
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)
func (*Client) PublicGetCurrentSeason ¶
func (a *Client) PublicGetCurrentSeason(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, *PublicGetCurrentSeasonBadRequest, *PublicGetCurrentSeasonNotFound, error)
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)
func (*Client) PublicGetCurrentUserSeason ¶
func (a *Client) PublicGetCurrentUserSeason(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, *PublicGetCurrentUserSeasonBadRequest, *PublicGetCurrentUserSeasonNotFound, error)
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)
func (*Client) PublicGetUserSeason ¶
func (a *Client) PublicGetUserSeason(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, *PublicGetUserSeasonBadRequest, *PublicGetUserSeasonNotFound, error)
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)
func (*Client) PublishSeason ¶
func (a *Client) PublishSeason(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, *PublishSeasonBadRequest, *PublishSeasonNotFound, *PublishSeasonConflict, error)
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)
func (*Client) QuerySeasons ¶
func (a *Client) QuerySeasons(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, *QuerySeasonsBadRequest, error)
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)
func (*Client) ResetUserSeason ¶
func (a *Client) ResetUserSeason(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, *ResetUserSeasonBadRequest, error)
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)
func (*Client) RetireSeason ¶
func (a *Client) RetireSeason(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, *RetireSeasonBadRequest, *RetireSeasonNotFound, *RetireSeasonConflict, error)
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)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnpublishSeason ¶
func (a *Client) UnpublishSeason(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, *UnpublishSeasonBadRequest, *UnpublishSeasonNotFound, *UnpublishSeasonConflict, error)
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)
func (*Client) UpdateSeason ¶
func (a *Client) UpdateSeason(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, *UpdateSeasonBadRequest, *UpdateSeasonNotFound, *UpdateSeasonConflict, *UpdateSeasonUnprocessableEntity, error)
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)
type ClientService ¶
type ClientService interface { 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) 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) 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
Source Files ¶
- 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_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
- 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