season

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryUserExpGrantHistoryPAIDFORConstant = "PAID_FOR"
	QueryUserExpGrantHistorySWEATConstant   = "SWEAT"
)

Get the enum in QueryUserExpGrantHistoryParams

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

func (*CheckSeasonPurchasableBadRequest) ToJSONString added in v0.25.0

func (o *CheckSeasonPurchasableBadRequest) ToJSONString() string

type CheckSeasonPurchasableConflict

type CheckSeasonPurchasableConflict struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

CheckSeasonPurchasableConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49183</td><td>Pass item does not match published season pass</td></tr><tr><td>49184</td><td>Tier item does not match published season tier</td></tr><tr><td>49185</td><td>Season has not started</td></tr><tr><td>49186</td><td>Pass already owned</td></tr><tr><td>49187</td><td>Exceed max tier count</td></tr></table>

func NewCheckSeasonPurchasableConflict

func NewCheckSeasonPurchasableConflict() *CheckSeasonPurchasableConflict

NewCheckSeasonPurchasableConflict creates a CheckSeasonPurchasableConflict with default headers values

func (*CheckSeasonPurchasableConflict) Error

func (*CheckSeasonPurchasableConflict) GetPayload

func (*CheckSeasonPurchasableConflict) ToJSONString added in v0.25.0

func (o *CheckSeasonPurchasableConflict) ToJSONString() string

type CheckSeasonPurchasableNoContent

type CheckSeasonPurchasableNoContent struct {
}

CheckSeasonPurchasableNoContent handles this case with default header values.

OK

func NewCheckSeasonPurchasableNoContent

func NewCheckSeasonPurchasableNoContent() *CheckSeasonPurchasableNoContent

NewCheckSeasonPurchasableNoContent creates a CheckSeasonPurchasableNoContent with default headers values

func (*CheckSeasonPurchasableNoContent) Error

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

func (*CheckSeasonPurchasableNotFound) ToJSONString added in v0.25.0

func (o *CheckSeasonPurchasableNotFound) ToJSONString() string

type CheckSeasonPurchasableParams

type CheckSeasonPurchasableParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *seasonpassclientmodels.UserPurchasable
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

CheckSeasonPurchasableParams contains all the parameters to send to the API endpoint for the check season purchasable operation typically these are written to a http.Request

func NewCheckSeasonPurchasableParams

func NewCheckSeasonPurchasableParams() *CheckSeasonPurchasableParams

NewCheckSeasonPurchasableParams creates a new CheckSeasonPurchasableParams object with the default values initialized.

func NewCheckSeasonPurchasableParamsWithContext

func NewCheckSeasonPurchasableParamsWithContext(ctx context.Context) *CheckSeasonPurchasableParams

NewCheckSeasonPurchasableParamsWithContext creates a new CheckSeasonPurchasableParams object with the default values initialized, and the ability to set a context for a request

func NewCheckSeasonPurchasableParamsWithHTTPClient

func NewCheckSeasonPurchasableParamsWithHTTPClient(client *http.Client) *CheckSeasonPurchasableParams

NewCheckSeasonPurchasableParamsWithHTTPClient creates a new CheckSeasonPurchasableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCheckSeasonPurchasableParamsWithTimeout

func NewCheckSeasonPurchasableParamsWithTimeout(timeout time.Duration) *CheckSeasonPurchasableParams

NewCheckSeasonPurchasableParamsWithTimeout creates a new CheckSeasonPurchasableParams object with the default values initialized, and the ability to set a timeout on a request

func (*CheckSeasonPurchasableParams) SetAuthInfoWriter added in v0.17.0

func (o *CheckSeasonPurchasableParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the check season purchasable params

func (*CheckSeasonPurchasableParams) SetBody

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

WithBody adds the body to the check season purchasable params

func (*CheckSeasonPurchasableParams) WithContext

WithContext adds the context to the check season purchasable params

func (*CheckSeasonPurchasableParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check season purchasable params

func (*CheckSeasonPurchasableParams) WithNamespace

WithNamespace adds the namespace to the check season purchasable params

func (*CheckSeasonPurchasableParams) WithTimeout

WithTimeout adds the timeout to the check season purchasable params

func (*CheckSeasonPurchasableParams) WithUserID

WithUserID adds the userID to the check season purchasable params

func (*CheckSeasonPurchasableParams) WriteToRequest

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 deprecated

Deprecated: Use CheckSeasonPurchasableShort instead.

CheckSeasonPurchasable checks pass or tier purchasable

This API is used to check pass or tier purchasable, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;/ul&gt;

func (*Client) CheckSeasonPurchasableShort

func (a *Client) CheckSeasonPurchasableShort(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, error)

CheckSeasonPurchasableShort checks pass or tier purchasable

This API is used to check pass or tier purchasable, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;/ul&gt;

func (*Client) CloneSeason deprecated

Deprecated: Use CloneSeasonShort instead.

CloneSeason clones a season

This API is used to clone a season.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=1 (CREATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: cloned season info&lt;/li&gt;&lt;/ul&gt;

func (*Client) CloneSeasonShort

func (a *Client) CloneSeasonShort(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, error)

CloneSeasonShort clones a season

This API is used to clone a season.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=1 (CREATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: cloned season info&lt;/li&gt;&lt;/ul&gt;

func (*Client) CreateSeason deprecated

Deprecated: Use CreateSeasonShort instead.

CreateSeason creates a season

This API is used to create a season, season only allowed in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=1 (CREATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: created season&lt;/li&gt;&lt;/ul&gt;

func (*Client) CreateSeasonShort

func (a *Client) CreateSeasonShort(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, error)

CreateSeasonShort creates a season

This API is used to create a season, season only allowed in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=1 (CREATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: created season&lt;/li&gt;&lt;/ul&gt;

func (*Client) DeleteSeason deprecated

Deprecated: Use DeleteSeasonShort instead.

DeleteSeason deletes a season

This API is used to delete a season permanently, only draft season can be deleted. &lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=8 (DELETE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) DeleteSeasonShort

func (a *Client) DeleteSeasonShort(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, error)

DeleteSeasonShort deletes a season

This API is used to delete a season permanently, only draft season can be deleted. &lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=8 (DELETE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) ExistsAnyPassByPassCodes deprecated

Deprecated: Use ExistsAnyPassByPassCodesShort instead.

ExistsAnyPassByPassCodes gets ownership for any pass codes

[SERVICE COMMUNICATION ONLY]This API is used to get ownership for any pass codes, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: ownership&lt;/li&gt;&lt;/ul&gt;

func (*Client) ExistsAnyPassByPassCodesShort

func (a *Client) ExistsAnyPassByPassCodesShort(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, error)

ExistsAnyPassByPassCodesShort gets ownership for any pass codes

[SERVICE COMMUNICATION ONLY]This API is used to get ownership for any pass codes, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: ownership&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetCurrentSeason deprecated

Deprecated: Use GetCurrentSeasonShort instead.

GetCurrentSeason gets current published season summary

[SERVICE COMMUNICATION ONLY]This API is used to get current published season summary which includes previous published season summary if exists, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season summary data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetCurrentSeasonShort

func (a *Client) GetCurrentSeasonShort(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, error)

GetCurrentSeasonShort gets current published season summary

[SERVICE COMMUNICATION ONLY]This API is used to get current published season summary which includes previous published season summary if exists, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season summary data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetCurrentUserSeasonProgression deprecated

Deprecated: Use GetCurrentUserSeasonProgressionShort instead.

GetCurrentUserSeasonProgression gets current user season progression

This API is used to get current user season progression, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season progression&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetCurrentUserSeasonProgressionShort

func (a *Client) GetCurrentUserSeasonProgressionShort(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, error)

GetCurrentUserSeasonProgressionShort gets current user season progression

This API is used to get current user season progression, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season progression&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetFullSeason deprecated added in v0.26.0

Deprecated: Use GetFullSeasonShort instead.

GetFullSeason gets a season full content

This API is used to get a season full content, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetFullSeasonShort added in v0.26.0

func (a *Client) GetFullSeasonShort(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, error)

GetFullSeasonShort gets a season full content

This API is used to get a season full content, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetSeason deprecated

Deprecated: Use GetSeasonShort instead.

GetSeason gets a season

This API is used to get a season, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetSeasonShort

func (a *Client) GetSeasonShort(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, error)

GetSeasonShort gets a season

This API is used to get a season, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetUserParticipatedSeasons deprecated

Deprecated: Use GetUserParticipatedSeasonsShort instead.

GetUserParticipatedSeasons gets user participated season data

This API is used to get user participated season data, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user participated season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetUserParticipatedSeasonsShort

func (a *Client) GetUserParticipatedSeasonsShort(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, error)

GetUserParticipatedSeasonsShort gets user participated season data

This API is used to get user participated season data, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user participated season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetUserSeason deprecated

Deprecated: Use GetUserSeasonShort instead.

GetUserSeason gets user season data

This API is used to get user season data, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetUserSeasonShort

func (a *Client) GetUserSeasonShort(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, error)

GetUserSeasonShort gets user season data

This API is used to get user season data, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetCurrentSeason deprecated

Deprecated: Use PublicGetCurrentSeasonShort instead.

PublicGetCurrentSeason gets current published season

This API is used to get current published season, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: localized season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetCurrentSeasonShort

func (a *Client) PublicGetCurrentSeasonShort(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, error)

PublicGetCurrentSeasonShort gets current published season

This API is used to get current published season, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: localized season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetCurrentUserSeason deprecated

Deprecated: Use PublicGetCurrentUserSeasonShort instead.

PublicGetCurrentUserSeason gets current user season data

This API is used to get current user season data, it will auto enroll if there&#39;s no user season but active published season exist, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetCurrentUserSeasonShort

func (a *Client) PublicGetCurrentUserSeasonShort(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, error)

PublicGetCurrentUserSeasonShort gets current user season data

This API is used to get current user season data, it will auto enroll if there&#39;s no user season but active published season exist, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetUserSeason deprecated

Deprecated: Use PublicGetUserSeasonShort instead.

PublicGetUserSeason gets user season data

This API is used to get user season data, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetUserSeasonShort

func (a *Client) PublicGetUserSeasonShort(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, error)

PublicGetUserSeasonShort gets user season data

This API is used to get user season data, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: user season data&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublishSeason deprecated

Deprecated: Use PublishSeasonShort instead.

PublishSeason publishes a season

This API is used to publish a draft season, only one published season allowed at same time in a namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: published season&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublishSeasonShort

func (a *Client) PublishSeasonShort(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, error)

PublishSeasonShort publishes a season

This API is used to publish a draft season, only one published season allowed at same time in a namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: published season&lt;/li&gt;&lt;/ul&gt;

func (*Client) QuerySeasons deprecated

Deprecated: Use QuerySeasonsShort instead.

QuerySeasons queries seasons

This API is used to query seasons, seasons only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: the list of season basic info&lt;/li&gt;&lt;/ul&gt;

func (*Client) QuerySeasonsShort

func (a *Client) QuerySeasonsShort(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, error)

QuerySeasonsShort queries seasons

This API is used to query seasons, seasons only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: the list of season basic info&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryUserExpGrantHistory deprecated added in v0.21.0

Deprecated: Use QueryUserExpGrantHistoryShort instead.

QueryUserExpGrantHistory queries user season exp acquisition history

This API is used to get user exp acquisition history, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;default will query from current active season&lt;/li&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: paginated grant history&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryUserExpGrantHistoryShort added in v0.21.0

func (a *Client) QueryUserExpGrantHistoryShort(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, error)

QueryUserExpGrantHistoryShort queries user season exp acquisition history

This API is used to get user exp acquisition history, season only located in non-publisher namespace.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;default will query from current active season&lt;/li&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: paginated grant history&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryUserExpGrantHistoryTag deprecated added in v0.21.0

Deprecated: Use QueryUserExpGrantHistoryTagShort instead.

QueryUserExpGrantHistoryTag queries user season exp acquisition history s reason tag list

This API is used to get user exp acquisition history&#39;s tag list.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;default will query from current active season&lt;/li&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: exp grant history tags list&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryUserExpGrantHistoryTagShort added in v0.21.0

func (a *Client) QueryUserExpGrantHistoryTagShort(params *QueryUserExpGrantHistoryTagParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryTagOK, error)

QueryUserExpGrantHistoryTagShort queries user season exp acquisition history s reason tag list

This API is used to get user exp acquisition history&#39;s tag list.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;default will query from current active season&lt;/li&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: exp grant history tags list&lt;/li&gt;&lt;/ul&gt;

func (*Client) ResetUserSeason deprecated

Deprecated: Use ResetUserSeasonShort instead.

ResetUserSeason resets user data in current season

&lt;b&gt;[TEST FACILITY ONLY] Forbidden in live environment. &lt;/b&gt;This API is used to reset user data in current season, it will not revoke the rewarded entitlements.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=8 (DELETE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) ResetUserSeasonShort

func (a *Client) ResetUserSeasonShort(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, error)

ResetUserSeasonShort resets user data in current season

&lt;b&gt;[TEST FACILITY ONLY] Forbidden in live environment. &lt;/b&gt;This API is used to reset user data in current season, it will not revoke the rewarded entitlements.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:SEASONPASS&#34;, action=8 (DELETE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) RetireSeason deprecated

Deprecated: Use RetireSeasonShort instead.

RetireSeason retires a season

This API is used to retire a published season, if the season has not ended it will report error except with force.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season info&lt;/li&gt;&lt;/ul&gt;

func (*Client) RetireSeasonShort

func (a *Client) RetireSeasonShort(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, error)

RetireSeasonShort retires a season

This API is used to retire a published season, if the season has not ended it will report error except with force.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season info&lt;/li&gt;&lt;/ul&gt;

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UnpublishSeason deprecated

Deprecated: Use UnpublishSeasonShort instead.

UnpublishSeason unpublishes a season

This API is used to unpublish a published season, if the season already started it will report error except with force.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season info&lt;/li&gt;&lt;/ul&gt;

func (*Client) UnpublishSeasonShort

func (a *Client) UnpublishSeasonShort(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, error)

UnpublishSeasonShort unpublishes a season

This API is used to unpublish a published season, if the season already started it will report error except with force.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: season info&lt;/li&gt;&lt;/ul&gt;

func (*Client) UpdateSeason deprecated

Deprecated: Use UpdateSeasonShort instead.

UpdateSeason updates a season

This API is used to update a season. Only draft season can be updated.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: updated season&lt;/li&gt;&lt;/ul&gt;

func (*Client) UpdateSeasonShort

func (a *Client) UpdateSeasonShort(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, error)

UpdateSeasonShort updates a season

This API is used to update a season. Only draft season can be updated.&lt;p&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:SEASONPASS&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: updated season&lt;/li&gt;&lt;/ul&gt;

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)
	GetFullSeason(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, *GetFullSeasonBadRequest, *GetFullSeasonNotFound, error)
	GetFullSeasonShort(params *GetFullSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetFullSeasonOK, error)
	GetSeason(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, *GetSeasonBadRequest, *GetSeasonNotFound, error)
	GetSeasonShort(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, error)
	GetUserParticipatedSeasons(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, *GetUserParticipatedSeasonsBadRequest, error)
	GetUserParticipatedSeasonsShort(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, error)
	GetUserSeason(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, *GetUserSeasonBadRequest, *GetUserSeasonNotFound, error)
	GetUserSeasonShort(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, error)
	PublicGetCurrentSeason(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, *PublicGetCurrentSeasonBadRequest, *PublicGetCurrentSeasonNotFound, error)
	PublicGetCurrentSeasonShort(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, error)
	PublicGetCurrentUserSeason(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, *PublicGetCurrentUserSeasonBadRequest, *PublicGetCurrentUserSeasonNotFound, error)
	PublicGetCurrentUserSeasonShort(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, error)
	PublicGetUserSeason(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, *PublicGetUserSeasonBadRequest, *PublicGetUserSeasonNotFound, error)
	PublicGetUserSeasonShort(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, error)
	PublishSeason(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, *PublishSeasonBadRequest, *PublishSeasonNotFound, *PublishSeasonConflict, error)
	PublishSeasonShort(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, error)
	QuerySeasons(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, *QuerySeasonsBadRequest, error)
	QuerySeasonsShort(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, error)
	QueryUserExpGrantHistory(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, *QueryUserExpGrantHistoryBadRequest, error)
	QueryUserExpGrantHistoryShort(params *QueryUserExpGrantHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryOK, error)
	QueryUserExpGrantHistoryTag(params *QueryUserExpGrantHistoryTagParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryTagOK, *QueryUserExpGrantHistoryTagBadRequest, error)
	QueryUserExpGrantHistoryTagShort(params *QueryUserExpGrantHistoryTagParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserExpGrantHistoryTagOK, error)
	ResetUserSeason(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, *ResetUserSeasonBadRequest, error)
	ResetUserSeasonShort(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, error)
	RetireSeason(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, *RetireSeasonBadRequest, *RetireSeasonNotFound, *RetireSeasonConflict, error)
	RetireSeasonShort(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, error)
	UnpublishSeason(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, *UnpublishSeasonBadRequest, *UnpublishSeasonNotFound, *UnpublishSeasonConflict, error)
	UnpublishSeasonShort(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, error)
	UpdateSeason(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, *UpdateSeasonBadRequest, *UpdateSeasonNotFound, *UpdateSeasonConflict, *UpdateSeasonUnprocessableEntity, error)
	UpdateSeasonShort(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new season API client.

type CloneSeasonBadRequest

type CloneSeasonBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

CloneSeasonBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr><tr><td>49122</td><td>Invalid time range</td></tr></table>

func NewCloneSeasonBadRequest

func NewCloneSeasonBadRequest() *CloneSeasonBadRequest

NewCloneSeasonBadRequest creates a CloneSeasonBadRequest with default headers values

func (*CloneSeasonBadRequest) Error

func (o *CloneSeasonBadRequest) Error() string

func (*CloneSeasonBadRequest) GetPayload

func (*CloneSeasonBadRequest) ToJSONString added in v0.25.0

func (o *CloneSeasonBadRequest) ToJSONString() string

type CloneSeasonNotFound

type CloneSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

CloneSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewCloneSeasonNotFound

func NewCloneSeasonNotFound() *CloneSeasonNotFound

NewCloneSeasonNotFound creates a CloneSeasonNotFound with default headers values

func (*CloneSeasonNotFound) Error

func (o *CloneSeasonNotFound) Error() string

func (*CloneSeasonNotFound) GetPayload

func (*CloneSeasonNotFound) ToJSONString added in v0.25.0

func (o *CloneSeasonNotFound) ToJSONString() string

type CloneSeasonOK

type CloneSeasonOK struct {
	Payload *seasonpassclientmodels.SeasonInfo
}

CloneSeasonOK handles this case with default header values.

successful operation

func NewCloneSeasonOK

func NewCloneSeasonOK() *CloneSeasonOK

NewCloneSeasonOK creates a CloneSeasonOK with default headers values

func (*CloneSeasonOK) Error

func (o *CloneSeasonOK) Error() string

func (*CloneSeasonOK) GetPayload

func (*CloneSeasonOK) ToJSONString added in v0.25.0

func (o *CloneSeasonOK) ToJSONString() string

type CloneSeasonParams

type CloneSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *seasonpassclientmodels.SeasonCloneRequest
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

CloneSeasonParams contains all the parameters to send to the API endpoint for the clone season operation typically these are written to a http.Request

func NewCloneSeasonParams

func NewCloneSeasonParams() *CloneSeasonParams

NewCloneSeasonParams creates a new CloneSeasonParams object with the default values initialized.

func NewCloneSeasonParamsWithContext

func NewCloneSeasonParamsWithContext(ctx context.Context) *CloneSeasonParams

NewCloneSeasonParamsWithContext creates a new CloneSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewCloneSeasonParamsWithHTTPClient

func NewCloneSeasonParamsWithHTTPClient(client *http.Client) *CloneSeasonParams

NewCloneSeasonParamsWithHTTPClient creates a new CloneSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCloneSeasonParamsWithTimeout

func NewCloneSeasonParamsWithTimeout(timeout time.Duration) *CloneSeasonParams

NewCloneSeasonParamsWithTimeout creates a new CloneSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*CloneSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *CloneSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the clone season params

func (*CloneSeasonParams) SetBody

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

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

func (*CloneSeasonUnprocessableEntity) ToJSONString added in v0.25.0

func (o *CloneSeasonUnprocessableEntity) ToJSONString() string

type CreateSeasonBadRequest

type CreateSeasonBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

CreateSeasonBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr><tr><td>49121</td><td>Default language [{language}] required in localizations</td></tr><tr><td>49122</td><td>Invalid time range</td></tr></table>

func NewCreateSeasonBadRequest

func NewCreateSeasonBadRequest() *CreateSeasonBadRequest

NewCreateSeasonBadRequest creates a CreateSeasonBadRequest with default headers values

func (*CreateSeasonBadRequest) Error

func (o *CreateSeasonBadRequest) Error() string

func (*CreateSeasonBadRequest) GetPayload

func (*CreateSeasonBadRequest) ToJSONString added in v0.25.0

func (o *CreateSeasonBadRequest) ToJSONString() string

type CreateSeasonCreated

type CreateSeasonCreated struct {
	Payload *seasonpassclientmodels.SeasonInfo
}

CreateSeasonCreated handles this case with default header values.

successful operation

func NewCreateSeasonCreated

func NewCreateSeasonCreated() *CreateSeasonCreated

NewCreateSeasonCreated creates a CreateSeasonCreated with default headers values

func (*CreateSeasonCreated) Error

func (o *CreateSeasonCreated) Error() string

func (*CreateSeasonCreated) GetPayload

func (*CreateSeasonCreated) ToJSONString added in v0.25.0

func (o *CreateSeasonCreated) ToJSONString() string

type CreateSeasonNotFound

type CreateSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

CreateSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>49141</td><td>Tier item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>

func NewCreateSeasonNotFound

func NewCreateSeasonNotFound() *CreateSeasonNotFound

NewCreateSeasonNotFound creates a CreateSeasonNotFound with default headers values

func (*CreateSeasonNotFound) Error

func (o *CreateSeasonNotFound) Error() string

func (*CreateSeasonNotFound) GetPayload

func (*CreateSeasonNotFound) ToJSONString added in v0.25.0

func (o *CreateSeasonNotFound) ToJSONString() string

type CreateSeasonParams

type CreateSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *seasonpassclientmodels.SeasonCreate
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

CreateSeasonParams contains all the parameters to send to the API endpoint for the create season operation typically these are written to a http.Request

func NewCreateSeasonParams

func NewCreateSeasonParams() *CreateSeasonParams

NewCreateSeasonParams creates a new CreateSeasonParams object with the default values initialized.

func NewCreateSeasonParamsWithContext

func NewCreateSeasonParamsWithContext(ctx context.Context) *CreateSeasonParams

NewCreateSeasonParamsWithContext creates a new CreateSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewCreateSeasonParamsWithHTTPClient

func NewCreateSeasonParamsWithHTTPClient(client *http.Client) *CreateSeasonParams

NewCreateSeasonParamsWithHTTPClient creates a new CreateSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateSeasonParamsWithTimeout

func NewCreateSeasonParamsWithTimeout(timeout time.Duration) *CreateSeasonParams

NewCreateSeasonParamsWithTimeout creates a new CreateSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *CreateSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create season params

func (*CreateSeasonParams) SetBody

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

WithBody adds the body to the create season params

func (*CreateSeasonParams) WithContext

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

func (*CreateSeasonUnprocessableEntity) ToJSONString added in v0.25.0

func (o *CreateSeasonUnprocessableEntity) ToJSONString() string

type DeleteSeasonBadRequest

type DeleteSeasonBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

DeleteSeasonBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewDeleteSeasonBadRequest

func NewDeleteSeasonBadRequest() *DeleteSeasonBadRequest

NewDeleteSeasonBadRequest creates a DeleteSeasonBadRequest with default headers values

func (*DeleteSeasonBadRequest) Error

func (o *DeleteSeasonBadRequest) Error() string

func (*DeleteSeasonBadRequest) GetPayload

func (*DeleteSeasonBadRequest) ToJSONString added in v0.25.0

func (o *DeleteSeasonBadRequest) ToJSONString() string

type DeleteSeasonConflict

type DeleteSeasonConflict struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

DeleteSeasonConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr></table>

func NewDeleteSeasonConflict

func NewDeleteSeasonConflict() *DeleteSeasonConflict

NewDeleteSeasonConflict creates a DeleteSeasonConflict with default headers values

func (*DeleteSeasonConflict) Error

func (o *DeleteSeasonConflict) Error() string

func (*DeleteSeasonConflict) GetPayload

func (*DeleteSeasonConflict) ToJSONString added in v0.25.0

func (o *DeleteSeasonConflict) ToJSONString() string

type DeleteSeasonNoContent

type DeleteSeasonNoContent struct {
}

DeleteSeasonNoContent handles this case with default header values.

Delete season successfully

func NewDeleteSeasonNoContent

func NewDeleteSeasonNoContent() *DeleteSeasonNoContent

NewDeleteSeasonNoContent creates a DeleteSeasonNoContent with default headers values

func (*DeleteSeasonNoContent) Error

func (o *DeleteSeasonNoContent) Error() string

type DeleteSeasonNotFound

type DeleteSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

DeleteSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewDeleteSeasonNotFound

func NewDeleteSeasonNotFound() *DeleteSeasonNotFound

NewDeleteSeasonNotFound creates a DeleteSeasonNotFound with default headers values

func (*DeleteSeasonNotFound) Error

func (o *DeleteSeasonNotFound) Error() string

func (*DeleteSeasonNotFound) GetPayload

func (*DeleteSeasonNotFound) ToJSONString added in v0.25.0

func (o *DeleteSeasonNotFound) ToJSONString() string

type DeleteSeasonParams

type DeleteSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

DeleteSeasonParams contains all the parameters to send to the API endpoint for the delete season operation typically these are written to a http.Request

func NewDeleteSeasonParams

func NewDeleteSeasonParams() *DeleteSeasonParams

NewDeleteSeasonParams creates a new DeleteSeasonParams object with the default values initialized.

func NewDeleteSeasonParamsWithContext

func NewDeleteSeasonParamsWithContext(ctx context.Context) *DeleteSeasonParams

NewDeleteSeasonParamsWithContext creates a new DeleteSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteSeasonParamsWithHTTPClient

func NewDeleteSeasonParamsWithHTTPClient(client *http.Client) *DeleteSeasonParams

NewDeleteSeasonParamsWithHTTPClient creates a new DeleteSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteSeasonParamsWithTimeout

func NewDeleteSeasonParamsWithTimeout(timeout time.Duration) *DeleteSeasonParams

NewDeleteSeasonParamsWithTimeout creates a new DeleteSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *DeleteSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete season params

func (*DeleteSeasonParams) SetContext

func (o *DeleteSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the delete season params

func (*DeleteSeasonParams) SetHTTPClient

func (o *DeleteSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete season params

func (*DeleteSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *DeleteSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete season params

func (*DeleteSeasonParams) SetNamespace

func (o *DeleteSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete season params

func (*DeleteSeasonParams) SetSeasonID

func (o *DeleteSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the delete season params

func (*DeleteSeasonParams) SetTimeout

func (o *DeleteSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete season params

func (*DeleteSeasonParams) WithContext

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

func (*ExistsAnyPassByPassCodesBadRequest) ToJSONString added in v0.25.0

func (o *ExistsAnyPassByPassCodesBadRequest) ToJSONString() string

type ExistsAnyPassByPassCodesOK

type ExistsAnyPassByPassCodesOK struct {
	Payload *seasonpassclientmodels.Ownership
}

ExistsAnyPassByPassCodesOK handles this case with default header values.

successful operation

func NewExistsAnyPassByPassCodesOK

func NewExistsAnyPassByPassCodesOK() *ExistsAnyPassByPassCodesOK

NewExistsAnyPassByPassCodesOK creates a ExistsAnyPassByPassCodesOK with default headers values

func (*ExistsAnyPassByPassCodesOK) Error

func (*ExistsAnyPassByPassCodesOK) GetPayload

func (*ExistsAnyPassByPassCodesOK) ToJSONString added in v0.25.0

func (o *ExistsAnyPassByPassCodesOK) ToJSONString() string

type ExistsAnyPassByPassCodesParams

type ExistsAnyPassByPassCodesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*PassCodes*/
	PassCodes []string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

ExistsAnyPassByPassCodesParams contains all the parameters to send to the API endpoint for the exists any pass by pass codes operation typically these are written to a http.Request

func NewExistsAnyPassByPassCodesParams

func NewExistsAnyPassByPassCodesParams() *ExistsAnyPassByPassCodesParams

NewExistsAnyPassByPassCodesParams creates a new ExistsAnyPassByPassCodesParams object with the default values initialized.

func NewExistsAnyPassByPassCodesParamsWithContext

func NewExistsAnyPassByPassCodesParamsWithContext(ctx context.Context) *ExistsAnyPassByPassCodesParams

NewExistsAnyPassByPassCodesParamsWithContext creates a new ExistsAnyPassByPassCodesParams object with the default values initialized, and the ability to set a context for a request

func NewExistsAnyPassByPassCodesParamsWithHTTPClient

func NewExistsAnyPassByPassCodesParamsWithHTTPClient(client *http.Client) *ExistsAnyPassByPassCodesParams

NewExistsAnyPassByPassCodesParamsWithHTTPClient creates a new ExistsAnyPassByPassCodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExistsAnyPassByPassCodesParamsWithTimeout

func NewExistsAnyPassByPassCodesParamsWithTimeout(timeout time.Duration) *ExistsAnyPassByPassCodesParams

NewExistsAnyPassByPassCodesParamsWithTimeout creates a new ExistsAnyPassByPassCodesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExistsAnyPassByPassCodesParams) SetAuthInfoWriter added in v0.17.0

func (o *ExistsAnyPassByPassCodesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) SetContext

func (o *ExistsAnyPassByPassCodesParams) SetContext(ctx context.Context)

SetContext adds the context to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) SetHTTPClient

func (o *ExistsAnyPassByPassCodesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) SetHTTPClientTransport added in v0.19.0

func (o *ExistsAnyPassByPassCodesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) SetNamespace

func (o *ExistsAnyPassByPassCodesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) SetPassCodes

func (o *ExistsAnyPassByPassCodesParams) SetPassCodes(passCodes []string)

SetPassCodes adds the passCodes to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) SetTimeout

func (o *ExistsAnyPassByPassCodesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) SetUserID

func (o *ExistsAnyPassByPassCodesParams) SetUserID(userID string)

SetUserID adds the userId to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) WithContext

WithContext adds the context to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) WithNamespace

WithNamespace adds the namespace to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) WithPassCodes

WithPassCodes adds the passCodes to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) WithTimeout

WithTimeout adds the timeout to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) WithUserID

WithUserID adds the userID to the exists any pass by pass codes params

func (*ExistsAnyPassByPassCodesParams) WriteToRequest

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

func (*GetCurrentSeasonBadRequest) ToJSONString added in v0.25.0

func (o *GetCurrentSeasonBadRequest) ToJSONString() string

type GetCurrentSeasonNotFound

type GetCurrentSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

GetCurrentSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>

func NewGetCurrentSeasonNotFound

func NewGetCurrentSeasonNotFound() *GetCurrentSeasonNotFound

NewGetCurrentSeasonNotFound creates a GetCurrentSeasonNotFound with default headers values

func (*GetCurrentSeasonNotFound) Error

func (o *GetCurrentSeasonNotFound) Error() string

func (*GetCurrentSeasonNotFound) GetPayload

func (*GetCurrentSeasonNotFound) ToJSONString added in v0.25.0

func (o *GetCurrentSeasonNotFound) ToJSONString() string

type GetCurrentSeasonOK

type GetCurrentSeasonOK struct {
	Payload *seasonpassclientmodels.SeasonSummary
}

GetCurrentSeasonOK handles this case with default header values.

successful operation

func NewGetCurrentSeasonOK

func NewGetCurrentSeasonOK() *GetCurrentSeasonOK

NewGetCurrentSeasonOK creates a GetCurrentSeasonOK with default headers values

func (*GetCurrentSeasonOK) Error

func (o *GetCurrentSeasonOK) Error() string

func (*GetCurrentSeasonOK) GetPayload

func (*GetCurrentSeasonOK) ToJSONString added in v0.25.0

func (o *GetCurrentSeasonOK) ToJSONString() string

type GetCurrentSeasonParams

type GetCurrentSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetCurrentSeasonParams contains all the parameters to send to the API endpoint for the get current season operation typically these are written to a http.Request

func NewGetCurrentSeasonParams

func NewGetCurrentSeasonParams() *GetCurrentSeasonParams

NewGetCurrentSeasonParams creates a new GetCurrentSeasonParams object with the default values initialized.

func NewGetCurrentSeasonParamsWithContext

func NewGetCurrentSeasonParamsWithContext(ctx context.Context) *GetCurrentSeasonParams

NewGetCurrentSeasonParamsWithContext creates a new GetCurrentSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentSeasonParamsWithHTTPClient

func NewGetCurrentSeasonParamsWithHTTPClient(client *http.Client) *GetCurrentSeasonParams

NewGetCurrentSeasonParamsWithHTTPClient creates a new GetCurrentSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentSeasonParamsWithTimeout

func NewGetCurrentSeasonParamsWithTimeout(timeout time.Duration) *GetCurrentSeasonParams

NewGetCurrentSeasonParamsWithTimeout creates a new GetCurrentSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *GetCurrentSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get current season params

func (*GetCurrentSeasonParams) SetContext

func (o *GetCurrentSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the get current season params

func (*GetCurrentSeasonParams) SetHTTPClient

func (o *GetCurrentSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current season params

func (*GetCurrentSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *GetCurrentSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get current season params

func (*GetCurrentSeasonParams) SetNamespace

func (o *GetCurrentSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get current season params

func (*GetCurrentSeasonParams) SetTimeout

func (o *GetCurrentSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current season params

func (*GetCurrentSeasonParams) WithContext

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

WithTimeout adds the timeout to the get current season params

func (*GetCurrentSeasonParams) WriteToRequest

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

func (*GetCurrentUserSeasonProgressionBadRequest) ToJSONString added in v0.25.0

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

func (*GetCurrentUserSeasonProgressionNotFound) ToJSONString added in v0.25.0

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

func (*GetCurrentUserSeasonProgressionOK) ToJSONString added in v0.25.0

func (o *GetCurrentUserSeasonProgressionOK) ToJSONString() string

type GetCurrentUserSeasonProgressionParams

type GetCurrentUserSeasonProgressionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetCurrentUserSeasonProgressionParams contains all the parameters to send to the API endpoint for the get current user season progression operation typically these are written to a http.Request

func NewGetCurrentUserSeasonProgressionParams

func NewGetCurrentUserSeasonProgressionParams() *GetCurrentUserSeasonProgressionParams

NewGetCurrentUserSeasonProgressionParams creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized.

func NewGetCurrentUserSeasonProgressionParamsWithContext

func NewGetCurrentUserSeasonProgressionParamsWithContext(ctx context.Context) *GetCurrentUserSeasonProgressionParams

NewGetCurrentUserSeasonProgressionParamsWithContext creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentUserSeasonProgressionParamsWithHTTPClient

func NewGetCurrentUserSeasonProgressionParamsWithHTTPClient(client *http.Client) *GetCurrentUserSeasonProgressionParams

NewGetCurrentUserSeasonProgressionParamsWithHTTPClient creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentUserSeasonProgressionParamsWithTimeout

func NewGetCurrentUserSeasonProgressionParamsWithTimeout(timeout time.Duration) *GetCurrentUserSeasonProgressionParams

NewGetCurrentUserSeasonProgressionParamsWithTimeout creates a new GetCurrentUserSeasonProgressionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentUserSeasonProgressionParams) SetAuthInfoWriter added in v0.17.0

func (o *GetCurrentUserSeasonProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get current user season progression params

func (*GetCurrentUserSeasonProgressionParams) SetContext

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

WithContext adds the context to the get current user season progression params

func (*GetCurrentUserSeasonProgressionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current user season progression params

func (*GetCurrentUserSeasonProgressionParams) WithNamespace

WithNamespace adds the namespace to the get current user season progression params

func (*GetCurrentUserSeasonProgressionParams) WithTimeout

WithTimeout adds the timeout to the get current user season progression params

func (*GetCurrentUserSeasonProgressionParams) WithUserID

WithUserID adds the userID to the get current user season progression params

func (*GetCurrentUserSeasonProgressionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentUserSeasonProgressionReader

type GetCurrentUserSeasonProgressionReader struct {
	// contains filtered or unexported fields
}

GetCurrentUserSeasonProgressionReader is a Reader for the GetCurrentUserSeasonProgression structure.

func (*GetCurrentUserSeasonProgressionReader) ReadResponse

func (o *GetCurrentUserSeasonProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetFullSeasonBadRequest added in v0.26.0

type GetFullSeasonBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

GetFullSeasonBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewGetFullSeasonBadRequest added in v0.26.0

func NewGetFullSeasonBadRequest() *GetFullSeasonBadRequest

NewGetFullSeasonBadRequest creates a GetFullSeasonBadRequest with default headers values

func (*GetFullSeasonBadRequest) Error added in v0.26.0

func (o *GetFullSeasonBadRequest) Error() string

func (*GetFullSeasonBadRequest) GetPayload added in v0.26.0

func (*GetFullSeasonBadRequest) ToJSONString added in v0.26.0

func (o *GetFullSeasonBadRequest) ToJSONString() string

type GetFullSeasonNotFound added in v0.26.0

type GetFullSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

GetFullSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetFullSeasonNotFound added in v0.26.0

func NewGetFullSeasonNotFound() *GetFullSeasonNotFound

NewGetFullSeasonNotFound creates a GetFullSeasonNotFound with default headers values

func (*GetFullSeasonNotFound) Error added in v0.26.0

func (o *GetFullSeasonNotFound) Error() string

func (*GetFullSeasonNotFound) GetPayload added in v0.26.0

func (*GetFullSeasonNotFound) ToJSONString added in v0.26.0

func (o *GetFullSeasonNotFound) ToJSONString() string

type GetFullSeasonOK added in v0.26.0

type GetFullSeasonOK struct {
	Payload *seasonpassclientmodels.FullSeasonInfo
}

GetFullSeasonOK handles this case with default header values.

successful operation

func NewGetFullSeasonOK added in v0.26.0

func NewGetFullSeasonOK() *GetFullSeasonOK

NewGetFullSeasonOK creates a GetFullSeasonOK with default headers values

func (*GetFullSeasonOK) Error added in v0.26.0

func (o *GetFullSeasonOK) Error() string

func (*GetFullSeasonOK) GetPayload added in v0.26.0

func (*GetFullSeasonOK) ToJSONString added in v0.26.0

func (o *GetFullSeasonOK) ToJSONString() string

type GetFullSeasonParams added in v0.26.0

type GetFullSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetFullSeasonParams contains all the parameters to send to the API endpoint for the get full season operation typically these are written to a http.Request

func NewGetFullSeasonParams added in v0.26.0

func NewGetFullSeasonParams() *GetFullSeasonParams

NewGetFullSeasonParams creates a new GetFullSeasonParams object with the default values initialized.

func NewGetFullSeasonParamsWithContext added in v0.26.0

func NewGetFullSeasonParamsWithContext(ctx context.Context) *GetFullSeasonParams

NewGetFullSeasonParamsWithContext creates a new GetFullSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewGetFullSeasonParamsWithHTTPClient added in v0.26.0

func NewGetFullSeasonParamsWithHTTPClient(client *http.Client) *GetFullSeasonParams

NewGetFullSeasonParamsWithHTTPClient creates a new GetFullSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetFullSeasonParamsWithTimeout added in v0.26.0

func NewGetFullSeasonParamsWithTimeout(timeout time.Duration) *GetFullSeasonParams

NewGetFullSeasonParamsWithTimeout creates a new GetFullSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetFullSeasonParams) SetAuthInfoWriter added in v0.26.0

func (o *GetFullSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get full season params

func (*GetFullSeasonParams) SetContext added in v0.26.0

func (o *GetFullSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the get full season params

func (*GetFullSeasonParams) SetHTTPClient added in v0.26.0

func (o *GetFullSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get full season params

func (*GetFullSeasonParams) SetHTTPClientTransport added in v0.26.0

func (o *GetFullSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get full season params

func (*GetFullSeasonParams) SetNamespace added in v0.26.0

func (o *GetFullSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get full season params

func (*GetFullSeasonParams) SetSeasonID added in v0.26.0

func (o *GetFullSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the get full season params

func (*GetFullSeasonParams) SetTimeout added in v0.26.0

func (o *GetFullSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get full season params

func (*GetFullSeasonParams) WithContext added in v0.26.0

WithContext adds the context to the get full season params

func (*GetFullSeasonParams) WithHTTPClient added in v0.26.0

func (o *GetFullSeasonParams) WithHTTPClient(client *http.Client) *GetFullSeasonParams

WithHTTPClient adds the HTTPClient to the get full season params

func (*GetFullSeasonParams) WithNamespace added in v0.26.0

func (o *GetFullSeasonParams) WithNamespace(namespace string) *GetFullSeasonParams

WithNamespace adds the namespace to the get full season params

func (*GetFullSeasonParams) WithSeasonID added in v0.26.0

func (o *GetFullSeasonParams) WithSeasonID(seasonID string) *GetFullSeasonParams

WithSeasonID adds the seasonID to the get full season params

func (*GetFullSeasonParams) WithTimeout added in v0.26.0

func (o *GetFullSeasonParams) WithTimeout(timeout time.Duration) *GetFullSeasonParams

WithTimeout adds the timeout to the get full season params

func (*GetFullSeasonParams) WriteToRequest added in v0.26.0

func (o *GetFullSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFullSeasonReader added in v0.26.0

type GetFullSeasonReader struct {
	// contains filtered or unexported fields
}

GetFullSeasonReader is a Reader for the GetFullSeason structure.

func (*GetFullSeasonReader) ReadResponse added in v0.26.0

func (o *GetFullSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSeasonBadRequest

type GetSeasonBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

GetSeasonBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewGetSeasonBadRequest

func NewGetSeasonBadRequest() *GetSeasonBadRequest

NewGetSeasonBadRequest creates a GetSeasonBadRequest with default headers values

func (*GetSeasonBadRequest) Error

func (o *GetSeasonBadRequest) Error() string

func (*GetSeasonBadRequest) GetPayload

func (*GetSeasonBadRequest) ToJSONString added in v0.25.0

func (o *GetSeasonBadRequest) ToJSONString() string

type GetSeasonNotFound

type GetSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

GetSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetSeasonNotFound

func NewGetSeasonNotFound() *GetSeasonNotFound

NewGetSeasonNotFound creates a GetSeasonNotFound with default headers values

func (*GetSeasonNotFound) Error

func (o *GetSeasonNotFound) Error() string

func (*GetSeasonNotFound) GetPayload

func (*GetSeasonNotFound) ToJSONString added in v0.25.0

func (o *GetSeasonNotFound) ToJSONString() string

type GetSeasonOK

type GetSeasonOK struct {
	Payload *seasonpassclientmodels.SeasonInfo
}

GetSeasonOK handles this case with default header values.

successful operation

func NewGetSeasonOK

func NewGetSeasonOK() *GetSeasonOK

NewGetSeasonOK creates a GetSeasonOK with default headers values

func (*GetSeasonOK) Error

func (o *GetSeasonOK) Error() string

func (*GetSeasonOK) GetPayload

func (*GetSeasonOK) ToJSONString added in v0.25.0

func (o *GetSeasonOK) ToJSONString() string

type GetSeasonParams

type GetSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetSeasonParams contains all the parameters to send to the API endpoint for the get season operation typically these are written to a http.Request

func NewGetSeasonParams

func NewGetSeasonParams() *GetSeasonParams

NewGetSeasonParams creates a new GetSeasonParams object with the default values initialized.

func NewGetSeasonParamsWithContext

func NewGetSeasonParamsWithContext(ctx context.Context) *GetSeasonParams

NewGetSeasonParamsWithContext creates a new GetSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewGetSeasonParamsWithHTTPClient

func NewGetSeasonParamsWithHTTPClient(client *http.Client) *GetSeasonParams

NewGetSeasonParamsWithHTTPClient creates a new GetSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSeasonParamsWithTimeout

func NewGetSeasonParamsWithTimeout(timeout time.Duration) *GetSeasonParams

NewGetSeasonParamsWithTimeout creates a new GetSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *GetSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get season params

func (*GetSeasonParams) SetContext

func (o *GetSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the get season params

func (*GetSeasonParams) SetHTTPClient

func (o *GetSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get season params

func (*GetSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *GetSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get season params

func (*GetSeasonParams) SetNamespace

func (o *GetSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get season params

func (*GetSeasonParams) SetSeasonID

func (o *GetSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the get season params

func (*GetSeasonParams) SetTimeout

func (o *GetSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get season params

func (*GetSeasonParams) WithContext

func (o *GetSeasonParams) WithContext(ctx context.Context) *GetSeasonParams

WithContext adds the context to the get season params

func (*GetSeasonParams) WithHTTPClient

func (o *GetSeasonParams) WithHTTPClient(client *http.Client) *GetSeasonParams

WithHTTPClient adds the HTTPClient to the get season params

func (*GetSeasonParams) WithNamespace

func (o *GetSeasonParams) WithNamespace(namespace string) *GetSeasonParams

WithNamespace adds the namespace to the get season params

func (*GetSeasonParams) WithSeasonID

func (o *GetSeasonParams) WithSeasonID(seasonID string) *GetSeasonParams

WithSeasonID adds the seasonID to the get season params

func (*GetSeasonParams) WithTimeout

func (o *GetSeasonParams) WithTimeout(timeout time.Duration) *GetSeasonParams

WithTimeout adds the timeout to the get season params

func (*GetSeasonParams) WriteToRequest

func (o *GetSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSeasonReader

type GetSeasonReader struct {
	// contains filtered or unexported fields
}

GetSeasonReader is a Reader for the GetSeason structure.

func (*GetSeasonReader) ReadResponse

func (o *GetSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserParticipatedSeasonsBadRequest

type GetUserParticipatedSeasonsBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

GetUserParticipatedSeasonsBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewGetUserParticipatedSeasonsBadRequest

func NewGetUserParticipatedSeasonsBadRequest() *GetUserParticipatedSeasonsBadRequest

NewGetUserParticipatedSeasonsBadRequest creates a GetUserParticipatedSeasonsBadRequest with default headers values

func (*GetUserParticipatedSeasonsBadRequest) Error

func (*GetUserParticipatedSeasonsBadRequest) GetPayload

func (*GetUserParticipatedSeasonsBadRequest) ToJSONString added in v0.25.0

func (o *GetUserParticipatedSeasonsBadRequest) ToJSONString() string

type GetUserParticipatedSeasonsOK

type GetUserParticipatedSeasonsOK struct {
	Payload *seasonpassclientmodels.ListUserSeasonInfoPagingSlicedResult
}

GetUserParticipatedSeasonsOK handles this case with default header values.

successful operation

func NewGetUserParticipatedSeasonsOK

func NewGetUserParticipatedSeasonsOK() *GetUserParticipatedSeasonsOK

NewGetUserParticipatedSeasonsOK creates a GetUserParticipatedSeasonsOK with default headers values

func (*GetUserParticipatedSeasonsOK) Error

func (*GetUserParticipatedSeasonsOK) GetPayload

func (*GetUserParticipatedSeasonsOK) ToJSONString added in v0.25.0

func (o *GetUserParticipatedSeasonsOK) ToJSONString() string

type GetUserParticipatedSeasonsParams

type GetUserParticipatedSeasonsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  limit

	*/
	Limit *int32
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int32
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetUserParticipatedSeasonsParams contains all the parameters to send to the API endpoint for the get user participated seasons operation typically these are written to a http.Request

func NewGetUserParticipatedSeasonsParams

func NewGetUserParticipatedSeasonsParams() *GetUserParticipatedSeasonsParams

NewGetUserParticipatedSeasonsParams creates a new GetUserParticipatedSeasonsParams object with the default values initialized.

func NewGetUserParticipatedSeasonsParamsWithContext

func NewGetUserParticipatedSeasonsParamsWithContext(ctx context.Context) *GetUserParticipatedSeasonsParams

NewGetUserParticipatedSeasonsParamsWithContext creates a new GetUserParticipatedSeasonsParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserParticipatedSeasonsParamsWithHTTPClient

func NewGetUserParticipatedSeasonsParamsWithHTTPClient(client *http.Client) *GetUserParticipatedSeasonsParams

NewGetUserParticipatedSeasonsParamsWithHTTPClient creates a new GetUserParticipatedSeasonsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserParticipatedSeasonsParamsWithTimeout

func NewGetUserParticipatedSeasonsParamsWithTimeout(timeout time.Duration) *GetUserParticipatedSeasonsParams

NewGetUserParticipatedSeasonsParamsWithTimeout creates a new GetUserParticipatedSeasonsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserParticipatedSeasonsParams) SetAuthInfoWriter added in v0.17.0

func (o *GetUserParticipatedSeasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) SetContext

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

WithContext adds the context to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) WithLimit

WithLimit adds the limit to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) WithNamespace

WithNamespace adds the namespace to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) WithOffset

WithOffset adds the offset to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) WithTimeout

WithTimeout adds the timeout to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) WithUserID

WithUserID adds the userID to the get user participated seasons params

func (*GetUserParticipatedSeasonsParams) WriteToRequest

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 (*GetUserSeasonBadRequest) ToJSONString added in v0.25.0

func (o *GetUserSeasonBadRequest) ToJSONString() string

type GetUserSeasonNotFound

type GetUserSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

GetUserSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49148</td><td>User season does not exist</td></tr></table>

func NewGetUserSeasonNotFound

func NewGetUserSeasonNotFound() *GetUserSeasonNotFound

NewGetUserSeasonNotFound creates a GetUserSeasonNotFound with default headers values

func (*GetUserSeasonNotFound) Error

func (o *GetUserSeasonNotFound) Error() string

func (*GetUserSeasonNotFound) GetPayload

func (*GetUserSeasonNotFound) ToJSONString added in v0.25.0

func (o *GetUserSeasonNotFound) ToJSONString() string

type GetUserSeasonOK

type GetUserSeasonOK struct {
	Payload *seasonpassclientmodels.ClaimableUserSeasonInfo
}

GetUserSeasonOK handles this case with default header values.

successful operation

func NewGetUserSeasonOK

func NewGetUserSeasonOK() *GetUserSeasonOK

NewGetUserSeasonOK creates a GetUserSeasonOK with default headers values

func (*GetUserSeasonOK) Error

func (o *GetUserSeasonOK) Error() string

func (*GetUserSeasonOK) GetPayload

func (*GetUserSeasonOK) ToJSONString added in v0.25.0

func (o *GetUserSeasonOK) ToJSONString() string

type GetUserSeasonParams

type GetUserSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID*/
	SeasonID string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetUserSeasonParams contains all the parameters to send to the API endpoint for the get user season operation typically these are written to a http.Request

func NewGetUserSeasonParams

func NewGetUserSeasonParams() *GetUserSeasonParams

NewGetUserSeasonParams creates a new GetUserSeasonParams object with the default values initialized.

func NewGetUserSeasonParamsWithContext

func NewGetUserSeasonParamsWithContext(ctx context.Context) *GetUserSeasonParams

NewGetUserSeasonParamsWithContext creates a new GetUserSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserSeasonParamsWithHTTPClient

func NewGetUserSeasonParamsWithHTTPClient(client *http.Client) *GetUserSeasonParams

NewGetUserSeasonParamsWithHTTPClient creates a new GetUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserSeasonParamsWithTimeout

func NewGetUserSeasonParamsWithTimeout(timeout time.Duration) *GetUserSeasonParams

NewGetUserSeasonParamsWithTimeout creates a new GetUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *GetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user season params

func (*GetUserSeasonParams) SetContext

func (o *GetUserSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the get user season params

func (*GetUserSeasonParams) SetHTTPClient

func (o *GetUserSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user season params

func (*GetUserSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *GetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user season params

func (*GetUserSeasonParams) SetNamespace

func (o *GetUserSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user season params

func (*GetUserSeasonParams) SetSeasonID

func (o *GetUserSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the get user season params

func (*GetUserSeasonParams) SetTimeout

func (o *GetUserSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user season params

func (*GetUserSeasonParams) SetUserID

func (o *GetUserSeasonParams) SetUserID(userID string)

SetUserID adds the userId to the get user season params

func (*GetUserSeasonParams) WithContext

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

func (*PublicGetCurrentSeasonBadRequest) ToJSONString added in v0.25.0

func (o *PublicGetCurrentSeasonBadRequest) ToJSONString() string

type PublicGetCurrentSeasonNotFound

type PublicGetCurrentSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

PublicGetCurrentSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>

func NewPublicGetCurrentSeasonNotFound

func NewPublicGetCurrentSeasonNotFound() *PublicGetCurrentSeasonNotFound

NewPublicGetCurrentSeasonNotFound creates a PublicGetCurrentSeasonNotFound with default headers values

func (*PublicGetCurrentSeasonNotFound) Error

func (*PublicGetCurrentSeasonNotFound) GetPayload

func (*PublicGetCurrentSeasonNotFound) ToJSONString added in v0.25.0

func (o *PublicGetCurrentSeasonNotFound) ToJSONString() string

type PublicGetCurrentSeasonOK

type PublicGetCurrentSeasonOK struct {
	Payload *seasonpassclientmodels.LocalizedSeasonInfo
}

PublicGetCurrentSeasonOK handles this case with default header values.

successful operation

func NewPublicGetCurrentSeasonOK

func NewPublicGetCurrentSeasonOK() *PublicGetCurrentSeasonOK

NewPublicGetCurrentSeasonOK creates a PublicGetCurrentSeasonOK with default headers values

func (*PublicGetCurrentSeasonOK) Error

func (o *PublicGetCurrentSeasonOK) Error() string

func (*PublicGetCurrentSeasonOK) GetPayload

func (*PublicGetCurrentSeasonOK) ToJSONString added in v0.25.0

func (o *PublicGetCurrentSeasonOK) ToJSONString() string

type PublicGetCurrentSeasonParams

type PublicGetCurrentSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Language*/
	Language *string
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicGetCurrentSeasonParams contains all the parameters to send to the API endpoint for the public get current season operation typically these are written to a http.Request

func NewPublicGetCurrentSeasonParams

func NewPublicGetCurrentSeasonParams() *PublicGetCurrentSeasonParams

NewPublicGetCurrentSeasonParams creates a new PublicGetCurrentSeasonParams object with the default values initialized.

func NewPublicGetCurrentSeasonParamsWithContext

func NewPublicGetCurrentSeasonParamsWithContext(ctx context.Context) *PublicGetCurrentSeasonParams

NewPublicGetCurrentSeasonParamsWithContext creates a new PublicGetCurrentSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetCurrentSeasonParamsWithHTTPClient

func NewPublicGetCurrentSeasonParamsWithHTTPClient(client *http.Client) *PublicGetCurrentSeasonParams

NewPublicGetCurrentSeasonParamsWithHTTPClient creates a new PublicGetCurrentSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetCurrentSeasonParamsWithTimeout

func NewPublicGetCurrentSeasonParamsWithTimeout(timeout time.Duration) *PublicGetCurrentSeasonParams

NewPublicGetCurrentSeasonParamsWithTimeout creates a new PublicGetCurrentSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetCurrentSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetCurrentSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get current season params

func (*PublicGetCurrentSeasonParams) SetContext

func (o *PublicGetCurrentSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the public get current season params

func (*PublicGetCurrentSeasonParams) SetHTTPClient

func (o *PublicGetCurrentSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get current season params

func (*PublicGetCurrentSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetCurrentSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get current season params

func (*PublicGetCurrentSeasonParams) SetLanguage

func (o *PublicGetCurrentSeasonParams) SetLanguage(language *string)

SetLanguage adds the language to the public get current season params

func (*PublicGetCurrentSeasonParams) SetNamespace

func (o *PublicGetCurrentSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get current season params

func (*PublicGetCurrentSeasonParams) SetTimeout

func (o *PublicGetCurrentSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get current season params

func (*PublicGetCurrentSeasonParams) WithContext

WithContext adds the context to the public get current season params

func (*PublicGetCurrentSeasonParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get current season params

func (*PublicGetCurrentSeasonParams) WithLanguage

WithLanguage adds the language to the public get current season params

func (*PublicGetCurrentSeasonParams) WithNamespace

WithNamespace adds the namespace to the public get current season params

func (*PublicGetCurrentSeasonParams) WithTimeout

WithTimeout adds the timeout to the public get current season params

func (*PublicGetCurrentSeasonParams) WriteToRequest

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

func (*PublicGetCurrentUserSeasonBadRequest) ToJSONString added in v0.25.0

func (o *PublicGetCurrentUserSeasonBadRequest) ToJSONString() string

type PublicGetCurrentUserSeasonNotFound

type PublicGetCurrentUserSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

PublicGetCurrentUserSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49148</td><td>User season does not exist</td></tr><tr><td>49147</td><td>Published season does not exist</td></tr></table>

func NewPublicGetCurrentUserSeasonNotFound

func NewPublicGetCurrentUserSeasonNotFound() *PublicGetCurrentUserSeasonNotFound

NewPublicGetCurrentUserSeasonNotFound creates a PublicGetCurrentUserSeasonNotFound with default headers values

func (*PublicGetCurrentUserSeasonNotFound) Error

func (*PublicGetCurrentUserSeasonNotFound) GetPayload

func (*PublicGetCurrentUserSeasonNotFound) ToJSONString added in v0.25.0

func (o *PublicGetCurrentUserSeasonNotFound) ToJSONString() string

type PublicGetCurrentUserSeasonOK

type PublicGetCurrentUserSeasonOK struct {
	Payload *seasonpassclientmodels.ClaimableUserSeasonInfo
}

PublicGetCurrentUserSeasonOK handles this case with default header values.

successful operation

func NewPublicGetCurrentUserSeasonOK

func NewPublicGetCurrentUserSeasonOK() *PublicGetCurrentUserSeasonOK

NewPublicGetCurrentUserSeasonOK creates a PublicGetCurrentUserSeasonOK with default headers values

func (*PublicGetCurrentUserSeasonOK) Error

func (*PublicGetCurrentUserSeasonOK) GetPayload

func (*PublicGetCurrentUserSeasonOK) ToJSONString added in v0.25.0

func (o *PublicGetCurrentUserSeasonOK) ToJSONString() string

type PublicGetCurrentUserSeasonParams

type PublicGetCurrentUserSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicGetCurrentUserSeasonParams contains all the parameters to send to the API endpoint for the public get current user season operation typically these are written to a http.Request

func NewPublicGetCurrentUserSeasonParams

func NewPublicGetCurrentUserSeasonParams() *PublicGetCurrentUserSeasonParams

NewPublicGetCurrentUserSeasonParams creates a new PublicGetCurrentUserSeasonParams object with the default values initialized.

func NewPublicGetCurrentUserSeasonParamsWithContext

func NewPublicGetCurrentUserSeasonParamsWithContext(ctx context.Context) *PublicGetCurrentUserSeasonParams

NewPublicGetCurrentUserSeasonParamsWithContext creates a new PublicGetCurrentUserSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetCurrentUserSeasonParamsWithHTTPClient

func NewPublicGetCurrentUserSeasonParamsWithHTTPClient(client *http.Client) *PublicGetCurrentUserSeasonParams

NewPublicGetCurrentUserSeasonParamsWithHTTPClient creates a new PublicGetCurrentUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetCurrentUserSeasonParamsWithTimeout

func NewPublicGetCurrentUserSeasonParamsWithTimeout(timeout time.Duration) *PublicGetCurrentUserSeasonParams

NewPublicGetCurrentUserSeasonParamsWithTimeout creates a new PublicGetCurrentUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetCurrentUserSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetCurrentUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get current user season params

func (*PublicGetCurrentUserSeasonParams) SetContext

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

WithContext adds the context to the public get current user season params

func (*PublicGetCurrentUserSeasonParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get current user season params

func (*PublicGetCurrentUserSeasonParams) WithNamespace

WithNamespace adds the namespace to the public get current user season params

func (*PublicGetCurrentUserSeasonParams) WithTimeout

WithTimeout adds the timeout to the public get current user season params

func (*PublicGetCurrentUserSeasonParams) WithUserID

WithUserID adds the userID to the public get current user season params

func (*PublicGetCurrentUserSeasonParams) WriteToRequest

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

func (*PublicGetUserSeasonBadRequest) ToJSONString added in v0.25.0

func (o *PublicGetUserSeasonBadRequest) ToJSONString() string

type PublicGetUserSeasonNotFound

type PublicGetUserSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

PublicGetUserSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49148</td><td>User season does not exist</td></tr></table>

func NewPublicGetUserSeasonNotFound

func NewPublicGetUserSeasonNotFound() *PublicGetUserSeasonNotFound

NewPublicGetUserSeasonNotFound creates a PublicGetUserSeasonNotFound with default headers values

func (*PublicGetUserSeasonNotFound) Error

func (*PublicGetUserSeasonNotFound) GetPayload

func (*PublicGetUserSeasonNotFound) ToJSONString added in v0.25.0

func (o *PublicGetUserSeasonNotFound) ToJSONString() string

type PublicGetUserSeasonOK

type PublicGetUserSeasonOK struct {
	Payload *seasonpassclientmodels.ClaimableUserSeasonInfo
}

PublicGetUserSeasonOK handles this case with default header values.

successful operation

func NewPublicGetUserSeasonOK

func NewPublicGetUserSeasonOK() *PublicGetUserSeasonOK

NewPublicGetUserSeasonOK creates a PublicGetUserSeasonOK with default headers values

func (*PublicGetUserSeasonOK) Error

func (o *PublicGetUserSeasonOK) Error() string

func (*PublicGetUserSeasonOK) GetPayload

func (*PublicGetUserSeasonOK) ToJSONString added in v0.25.0

func (o *PublicGetUserSeasonOK) ToJSONString() string

type PublicGetUserSeasonParams

type PublicGetUserSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID*/
	SeasonID string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicGetUserSeasonParams contains all the parameters to send to the API endpoint for the public get user season operation typically these are written to a http.Request

func NewPublicGetUserSeasonParams

func NewPublicGetUserSeasonParams() *PublicGetUserSeasonParams

NewPublicGetUserSeasonParams creates a new PublicGetUserSeasonParams object with the default values initialized.

func NewPublicGetUserSeasonParamsWithContext

func NewPublicGetUserSeasonParamsWithContext(ctx context.Context) *PublicGetUserSeasonParams

NewPublicGetUserSeasonParamsWithContext creates a new PublicGetUserSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetUserSeasonParamsWithHTTPClient

func NewPublicGetUserSeasonParamsWithHTTPClient(client *http.Client) *PublicGetUserSeasonParams

NewPublicGetUserSeasonParamsWithHTTPClient creates a new PublicGetUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetUserSeasonParamsWithTimeout

func NewPublicGetUserSeasonParamsWithTimeout(timeout time.Duration) *PublicGetUserSeasonParams

NewPublicGetUserSeasonParamsWithTimeout creates a new PublicGetUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetUserSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get user season params

func (*PublicGetUserSeasonParams) SetContext

func (o *PublicGetUserSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the public get user season params

func (*PublicGetUserSeasonParams) SetHTTPClient

func (o *PublicGetUserSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get user season params

func (*PublicGetUserSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get user season params

func (*PublicGetUserSeasonParams) SetNamespace

func (o *PublicGetUserSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user season params

func (*PublicGetUserSeasonParams) SetSeasonID

func (o *PublicGetUserSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the public get user season params

func (*PublicGetUserSeasonParams) SetTimeout

func (o *PublicGetUserSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get user season params

func (*PublicGetUserSeasonParams) SetUserID

func (o *PublicGetUserSeasonParams) SetUserID(userID string)

SetUserID adds the userId to the public get user season params

func (*PublicGetUserSeasonParams) WithContext

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

WithTimeout adds the timeout to the public get user season params

func (*PublicGetUserSeasonParams) WithUserID

WithUserID adds the userID to the public get user season params

func (*PublicGetUserSeasonParams) WriteToRequest

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 (*PublishSeasonBadRequest) ToJSONString added in v0.25.0

func (o *PublishSeasonBadRequest) ToJSONString() string

type PublishSeasonConflict

type PublishSeasonConflict struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

PublishSeasonConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr><tr><td>49172</td><td>Season is already ended</td></tr><tr><td>49175</td><td>Published season already exists in namespace [{namespace}]</td></tr><tr><td>49176</td><td>Rewards are not provided</td></tr><tr><td>49177</td><td>Passes are not provided</td></tr><tr><td>49178</td><td>Tiers are not provided</td></tr><tr><td>49189</td><td>Duplicate season name [{name}] for publishing in namespace [{namespace}]</td></tr></table>

func NewPublishSeasonConflict

func NewPublishSeasonConflict() *PublishSeasonConflict

NewPublishSeasonConflict creates a PublishSeasonConflict with default headers values

func (*PublishSeasonConflict) Error

func (o *PublishSeasonConflict) Error() string

func (*PublishSeasonConflict) GetPayload

func (*PublishSeasonConflict) ToJSONString added in v0.25.0

func (o *PublishSeasonConflict) ToJSONString() string

type PublishSeasonNotFound

type PublishSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

PublishSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>49141</td><td>Tier item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>49142</td><td>Pass item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>49144</td><td>Reward [{code}] does not exist</td></tr></table>

func NewPublishSeasonNotFound

func NewPublishSeasonNotFound() *PublishSeasonNotFound

NewPublishSeasonNotFound creates a PublishSeasonNotFound with default headers values

func (*PublishSeasonNotFound) Error

func (o *PublishSeasonNotFound) Error() string

func (*PublishSeasonNotFound) GetPayload

func (*PublishSeasonNotFound) ToJSONString added in v0.25.0

func (o *PublishSeasonNotFound) ToJSONString() string

type PublishSeasonOK

type PublishSeasonOK struct {
	Payload *seasonpassclientmodels.SeasonInfo
}

PublishSeasonOK handles this case with default header values.

successful operation

func NewPublishSeasonOK

func NewPublishSeasonOK() *PublishSeasonOK

NewPublishSeasonOK creates a PublishSeasonOK with default headers values

func (*PublishSeasonOK) Error

func (o *PublishSeasonOK) Error() string

func (*PublishSeasonOK) GetPayload

func (*PublishSeasonOK) ToJSONString added in v0.25.0

func (o *PublishSeasonOK) ToJSONString() string

type PublishSeasonParams

type PublishSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublishSeasonParams contains all the parameters to send to the API endpoint for the publish season operation typically these are written to a http.Request

func NewPublishSeasonParams

func NewPublishSeasonParams() *PublishSeasonParams

NewPublishSeasonParams creates a new PublishSeasonParams object with the default values initialized.

func NewPublishSeasonParamsWithContext

func NewPublishSeasonParamsWithContext(ctx context.Context) *PublishSeasonParams

NewPublishSeasonParamsWithContext creates a new PublishSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewPublishSeasonParamsWithHTTPClient

func NewPublishSeasonParamsWithHTTPClient(client *http.Client) *PublishSeasonParams

NewPublishSeasonParamsWithHTTPClient creates a new PublishSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublishSeasonParamsWithTimeout

func NewPublishSeasonParamsWithTimeout(timeout time.Duration) *PublishSeasonParams

NewPublishSeasonParamsWithTimeout creates a new PublishSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublishSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *PublishSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the publish season params

func (*PublishSeasonParams) SetContext

func (o *PublishSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the publish season params

func (*PublishSeasonParams) SetHTTPClient

func (o *PublishSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the publish season params

func (*PublishSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *PublishSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the publish season params

func (*PublishSeasonParams) SetNamespace

func (o *PublishSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the publish season params

func (*PublishSeasonParams) SetSeasonID

func (o *PublishSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the publish season params

func (*PublishSeasonParams) SetTimeout

func (o *PublishSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the publish season params

func (*PublishSeasonParams) WithContext

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 (*QuerySeasonsBadRequest) ToJSONString added in v0.25.0

func (o *QuerySeasonsBadRequest) ToJSONString() string

type QuerySeasonsOK

type QuerySeasonsOK struct {
	Payload *seasonpassclientmodels.ListSeasonInfoPagingSlicedResult
}

QuerySeasonsOK handles this case with default header values.

successful operation

func NewQuerySeasonsOK

func NewQuerySeasonsOK() *QuerySeasonsOK

NewQuerySeasonsOK creates a QuerySeasonsOK with default headers values

func (*QuerySeasonsOK) Error

func (o *QuerySeasonsOK) Error() string

func (*QuerySeasonsOK) ToJSONString added in v0.25.0

func (o *QuerySeasonsOK) ToJSONString() string

type QuerySeasonsParams

type QuerySeasonsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  limit

	*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int32
	/*Status*/
	Status []string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

QuerySeasonsParams contains all the parameters to send to the API endpoint for the query seasons operation typically these are written to a http.Request

func NewQuerySeasonsParams

func NewQuerySeasonsParams() *QuerySeasonsParams

NewQuerySeasonsParams creates a new QuerySeasonsParams object with the default values initialized.

func NewQuerySeasonsParamsWithContext

func NewQuerySeasonsParamsWithContext(ctx context.Context) *QuerySeasonsParams

NewQuerySeasonsParamsWithContext creates a new QuerySeasonsParams object with the default values initialized, and the ability to set a context for a request

func NewQuerySeasonsParamsWithHTTPClient

func NewQuerySeasonsParamsWithHTTPClient(client *http.Client) *QuerySeasonsParams

NewQuerySeasonsParamsWithHTTPClient creates a new QuerySeasonsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewQuerySeasonsParamsWithTimeout

func NewQuerySeasonsParamsWithTimeout(timeout time.Duration) *QuerySeasonsParams

NewQuerySeasonsParamsWithTimeout creates a new QuerySeasonsParams object with the default values initialized, and the ability to set a timeout on a request

func (*QuerySeasonsParams) SetAuthInfoWriter added in v0.17.0

func (o *QuerySeasonsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query seasons params

func (*QuerySeasonsParams) SetContext

func (o *QuerySeasonsParams) SetContext(ctx context.Context)

SetContext adds the context to the query seasons params

func (*QuerySeasonsParams) SetHTTPClient

func (o *QuerySeasonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query seasons params

func (*QuerySeasonsParams) SetHTTPClientTransport added in v0.19.0

func (o *QuerySeasonsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query seasons params

func (*QuerySeasonsParams) SetLimit

func (o *QuerySeasonsParams) SetLimit(limit *int32)

SetLimit adds the limit to the query seasons params

func (*QuerySeasonsParams) SetNamespace

func (o *QuerySeasonsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query seasons params

func (*QuerySeasonsParams) SetOffset

func (o *QuerySeasonsParams) SetOffset(offset *int32)

SetOffset adds the offset to the query seasons params

func (*QuerySeasonsParams) SetStatus

func (o *QuerySeasonsParams) SetStatus(status []string)

SetStatus adds the status to the query seasons params

func (*QuerySeasonsParams) SetTimeout

func (o *QuerySeasonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query seasons params

func (*QuerySeasonsParams) WithContext

WithContext adds the context to the query seasons params

func (*QuerySeasonsParams) WithHTTPClient

func (o *QuerySeasonsParams) WithHTTPClient(client *http.Client) *QuerySeasonsParams

WithHTTPClient adds the HTTPClient to the query seasons params

func (*QuerySeasonsParams) WithLimit

func (o *QuerySeasonsParams) WithLimit(limit *int32) *QuerySeasonsParams

WithLimit adds the limit to the query seasons params

func (*QuerySeasonsParams) WithNamespace

func (o *QuerySeasonsParams) WithNamespace(namespace string) *QuerySeasonsParams

WithNamespace adds the namespace to the query seasons params

func (*QuerySeasonsParams) WithOffset

func (o *QuerySeasonsParams) WithOffset(offset *int32) *QuerySeasonsParams

WithOffset adds the offset to the query seasons params

func (*QuerySeasonsParams) WithStatus

func (o *QuerySeasonsParams) WithStatus(status []string) *QuerySeasonsParams

WithStatus adds the status to the query seasons params

func (*QuerySeasonsParams) WithTimeout

func (o *QuerySeasonsParams) WithTimeout(timeout time.Duration) *QuerySeasonsParams

WithTimeout adds the timeout to the query seasons params

func (*QuerySeasonsParams) WriteToRequest

func (o *QuerySeasonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QuerySeasonsReader

type QuerySeasonsReader struct {
	// contains filtered or unexported fields
}

QuerySeasonsReader is a Reader for the QuerySeasons structure.

func (*QuerySeasonsReader) ReadResponse

func (o *QuerySeasonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryUserExpGrantHistoryBadRequest added in v0.21.0

type QueryUserExpGrantHistoryBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

QueryUserExpGrantHistoryBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewQueryUserExpGrantHistoryBadRequest added in v0.21.0

func NewQueryUserExpGrantHistoryBadRequest() *QueryUserExpGrantHistoryBadRequest

NewQueryUserExpGrantHistoryBadRequest creates a QueryUserExpGrantHistoryBadRequest with default headers values

func (*QueryUserExpGrantHistoryBadRequest) Error added in v0.21.0

func (*QueryUserExpGrantHistoryBadRequest) GetPayload added in v0.21.0

func (*QueryUserExpGrantHistoryBadRequest) ToJSONString added in v0.25.0

func (o *QueryUserExpGrantHistoryBadRequest) ToJSONString() string

type QueryUserExpGrantHistoryOK added in v0.21.0

type QueryUserExpGrantHistoryOK struct {
	Payload *seasonpassclientmodels.ExpGrantHistoryPagingSlicedResult
}

QueryUserExpGrantHistoryOK handles this case with default header values.

successful operation

func NewQueryUserExpGrantHistoryOK added in v0.21.0

func NewQueryUserExpGrantHistoryOK() *QueryUserExpGrantHistoryOK

NewQueryUserExpGrantHistoryOK creates a QueryUserExpGrantHistoryOK with default headers values

func (*QueryUserExpGrantHistoryOK) Error added in v0.21.0

func (*QueryUserExpGrantHistoryOK) GetPayload added in v0.21.0

func (*QueryUserExpGrantHistoryOK) ToJSONString added in v0.25.0

func (o *QueryUserExpGrantHistoryOK) ToJSONString() string

type QueryUserExpGrantHistoryParams added in v0.21.0

type QueryUserExpGrantHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*From
	  section active range time start , using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	From *string
	/*Limit
	  limit

	*/
	Limit *int32
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int32
	/*SeasonID
	  if not provide, will query current season

	*/
	SeasonID *string
	/*Source
	  exp grant source

	*/
	Source *string
	/*Tags
	  exp grant tags

	*/
	Tags []string
	/*To
	  section active range time end, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	To *string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

QueryUserExpGrantHistoryParams contains all the parameters to send to the API endpoint for the query user exp grant history operation typically these are written to a http.Request

func NewQueryUserExpGrantHistoryParams added in v0.21.0

func NewQueryUserExpGrantHistoryParams() *QueryUserExpGrantHistoryParams

NewQueryUserExpGrantHistoryParams creates a new QueryUserExpGrantHistoryParams object with the default values initialized.

func NewQueryUserExpGrantHistoryParamsWithContext added in v0.21.0

func NewQueryUserExpGrantHistoryParamsWithContext(ctx context.Context) *QueryUserExpGrantHistoryParams

NewQueryUserExpGrantHistoryParamsWithContext creates a new QueryUserExpGrantHistoryParams object with the default values initialized, and the ability to set a context for a request

func NewQueryUserExpGrantHistoryParamsWithHTTPClient added in v0.21.0

func NewQueryUserExpGrantHistoryParamsWithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryParams

NewQueryUserExpGrantHistoryParamsWithHTTPClient creates a new QueryUserExpGrantHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewQueryUserExpGrantHistoryParamsWithTimeout added in v0.21.0

func NewQueryUserExpGrantHistoryParamsWithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryParams

NewQueryUserExpGrantHistoryParamsWithTimeout creates a new QueryUserExpGrantHistoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*QueryUserExpGrantHistoryParams) SetAuthInfoWriter added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetContext added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetContext(ctx context.Context)

SetContext adds the context to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetFrom added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetFrom(from *string)

SetFrom adds the from to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetHTTPClient added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetHTTPClientTransport added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetLimit added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetLimit(limit *int32)

SetLimit adds the limit to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetNamespace added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetOffset added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetOffset(offset *int32)

SetOffset adds the offset to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetSeasonID added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetSeasonID(seasonID *string)

SetSeasonID adds the seasonId to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetSource added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetSource(source *string)

SetSource adds the source to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetTags added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetTags(tags []string)

SetTags adds the tags to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetTimeout added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetTo added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetTo(to *string)

SetTo adds the to to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) SetUserID added in v0.21.0

func (o *QueryUserExpGrantHistoryParams) SetUserID(userID string)

SetUserID adds the userId to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithContext added in v0.21.0

WithContext adds the context to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithFrom added in v0.21.0

WithFrom adds the from to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithHTTPClient added in v0.21.0

WithHTTPClient adds the HTTPClient to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithLimit added in v0.21.0

WithLimit adds the limit to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithNamespace added in v0.21.0

WithNamespace adds the namespace to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithOffset added in v0.21.0

WithOffset adds the offset to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithSeasonID added in v0.21.0

WithSeasonID adds the seasonID to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithSource added in v0.21.0

WithSource adds the source to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithTags added in v0.21.0

WithTags adds the tags to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithTimeout added in v0.21.0

WithTimeout adds the timeout to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithTo added in v0.21.0

WithTo adds the to to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WithUserID added in v0.21.0

WithUserID adds the userID to the query user exp grant history params

func (*QueryUserExpGrantHistoryParams) WriteToRequest added in v0.21.0

WriteToRequest writes these params to a swagger request

type QueryUserExpGrantHistoryReader added in v0.21.0

type QueryUserExpGrantHistoryReader struct {
	// contains filtered or unexported fields
}

QueryUserExpGrantHistoryReader is a Reader for the QueryUserExpGrantHistory structure.

func (*QueryUserExpGrantHistoryReader) ReadResponse added in v0.21.0

func (o *QueryUserExpGrantHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryUserExpGrantHistoryTagBadRequest added in v0.21.0

type QueryUserExpGrantHistoryTagBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

QueryUserExpGrantHistoryTagBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewQueryUserExpGrantHistoryTagBadRequest added in v0.21.0

func NewQueryUserExpGrantHistoryTagBadRequest() *QueryUserExpGrantHistoryTagBadRequest

NewQueryUserExpGrantHistoryTagBadRequest creates a QueryUserExpGrantHistoryTagBadRequest with default headers values

func (*QueryUserExpGrantHistoryTagBadRequest) Error added in v0.21.0

func (*QueryUserExpGrantHistoryTagBadRequest) GetPayload added in v0.21.0

func (*QueryUserExpGrantHistoryTagBadRequest) ToJSONString added in v0.25.0

type QueryUserExpGrantHistoryTagOK added in v0.21.0

type QueryUserExpGrantHistoryTagOK struct {
	Payload *seasonpassclientmodels.ReasonTagsResult
}

QueryUserExpGrantHistoryTagOK handles this case with default header values.

successful operation

func NewQueryUserExpGrantHistoryTagOK added in v0.21.0

func NewQueryUserExpGrantHistoryTagOK() *QueryUserExpGrantHistoryTagOK

NewQueryUserExpGrantHistoryTagOK creates a QueryUserExpGrantHistoryTagOK with default headers values

func (*QueryUserExpGrantHistoryTagOK) Error added in v0.21.0

func (*QueryUserExpGrantHistoryTagOK) GetPayload added in v0.21.0

func (*QueryUserExpGrantHistoryTagOK) ToJSONString added in v0.25.0

func (o *QueryUserExpGrantHistoryTagOK) ToJSONString() string

type QueryUserExpGrantHistoryTagParams added in v0.21.0

type QueryUserExpGrantHistoryTagParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID
	  if not provide, will query current season

	*/
	SeasonID *string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

QueryUserExpGrantHistoryTagParams contains all the parameters to send to the API endpoint for the query user exp grant history tag operation typically these are written to a http.Request

func NewQueryUserExpGrantHistoryTagParams added in v0.21.0

func NewQueryUserExpGrantHistoryTagParams() *QueryUserExpGrantHistoryTagParams

NewQueryUserExpGrantHistoryTagParams creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized.

func NewQueryUserExpGrantHistoryTagParamsWithContext added in v0.21.0

func NewQueryUserExpGrantHistoryTagParamsWithContext(ctx context.Context) *QueryUserExpGrantHistoryTagParams

NewQueryUserExpGrantHistoryTagParamsWithContext creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized, and the ability to set a context for a request

func NewQueryUserExpGrantHistoryTagParamsWithHTTPClient added in v0.21.0

func NewQueryUserExpGrantHistoryTagParamsWithHTTPClient(client *http.Client) *QueryUserExpGrantHistoryTagParams

NewQueryUserExpGrantHistoryTagParamsWithHTTPClient creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewQueryUserExpGrantHistoryTagParamsWithTimeout added in v0.21.0

func NewQueryUserExpGrantHistoryTagParamsWithTimeout(timeout time.Duration) *QueryUserExpGrantHistoryTagParams

NewQueryUserExpGrantHistoryTagParamsWithTimeout creates a new QueryUserExpGrantHistoryTagParams object with the default values initialized, and the ability to set a timeout on a request

func (*QueryUserExpGrantHistoryTagParams) SetAuthInfoWriter added in v0.21.0

func (o *QueryUserExpGrantHistoryTagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) SetContext added in v0.21.0

SetContext adds the context to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) SetHTTPClient added in v0.21.0

func (o *QueryUserExpGrantHistoryTagParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) SetHTTPClientTransport added in v0.21.0

func (o *QueryUserExpGrantHistoryTagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) SetNamespace added in v0.21.0

func (o *QueryUserExpGrantHistoryTagParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) SetSeasonID added in v0.21.0

func (o *QueryUserExpGrantHistoryTagParams) SetSeasonID(seasonID *string)

SetSeasonID adds the seasonId to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) SetTimeout added in v0.21.0

func (o *QueryUserExpGrantHistoryTagParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) SetUserID added in v0.21.0

func (o *QueryUserExpGrantHistoryTagParams) SetUserID(userID string)

SetUserID adds the userId to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) WithContext added in v0.21.0

WithContext adds the context to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) WithHTTPClient added in v0.21.0

WithHTTPClient adds the HTTPClient to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) WithNamespace added in v0.21.0

WithNamespace adds the namespace to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) WithSeasonID added in v0.21.0

WithSeasonID adds the seasonID to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) WithTimeout added in v0.21.0

WithTimeout adds the timeout to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) WithUserID added in v0.21.0

WithUserID adds the userID to the query user exp grant history tag params

func (*QueryUserExpGrantHistoryTagParams) WriteToRequest added in v0.21.0

WriteToRequest writes these params to a swagger request

type QueryUserExpGrantHistoryTagReader added in v0.21.0

type QueryUserExpGrantHistoryTagReader struct {
	// contains filtered or unexported fields
}

QueryUserExpGrantHistoryTagReader is a Reader for the QueryUserExpGrantHistoryTag structure.

func (*QueryUserExpGrantHistoryTagReader) ReadResponse added in v0.21.0

func (o *QueryUserExpGrantHistoryTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResetUserSeasonBadRequest

type ResetUserSeasonBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

ResetUserSeasonBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewResetUserSeasonBadRequest

func NewResetUserSeasonBadRequest() *ResetUserSeasonBadRequest

NewResetUserSeasonBadRequest creates a ResetUserSeasonBadRequest with default headers values

func (*ResetUserSeasonBadRequest) Error

func (o *ResetUserSeasonBadRequest) Error() string

func (*ResetUserSeasonBadRequest) GetPayload

func (*ResetUserSeasonBadRequest) ToJSONString added in v0.25.0

func (o *ResetUserSeasonBadRequest) ToJSONString() string

type ResetUserSeasonNoContent

type ResetUserSeasonNoContent struct {
}

ResetUserSeasonNoContent handles this case with default header values.

OK

func NewResetUserSeasonNoContent

func NewResetUserSeasonNoContent() *ResetUserSeasonNoContent

NewResetUserSeasonNoContent creates a ResetUserSeasonNoContent with default headers values

func (*ResetUserSeasonNoContent) Error

func (o *ResetUserSeasonNoContent) Error() string

type ResetUserSeasonParams

type ResetUserSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

ResetUserSeasonParams contains all the parameters to send to the API endpoint for the reset user season operation typically these are written to a http.Request

func NewResetUserSeasonParams

func NewResetUserSeasonParams() *ResetUserSeasonParams

NewResetUserSeasonParams creates a new ResetUserSeasonParams object with the default values initialized.

func NewResetUserSeasonParamsWithContext

func NewResetUserSeasonParamsWithContext(ctx context.Context) *ResetUserSeasonParams

NewResetUserSeasonParamsWithContext creates a new ResetUserSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewResetUserSeasonParamsWithHTTPClient

func NewResetUserSeasonParamsWithHTTPClient(client *http.Client) *ResetUserSeasonParams

NewResetUserSeasonParamsWithHTTPClient creates a new ResetUserSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResetUserSeasonParamsWithTimeout

func NewResetUserSeasonParamsWithTimeout(timeout time.Duration) *ResetUserSeasonParams

NewResetUserSeasonParamsWithTimeout creates a new ResetUserSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResetUserSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *ResetUserSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the reset user season params

func (*ResetUserSeasonParams) SetContext

func (o *ResetUserSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the reset user season params

func (*ResetUserSeasonParams) SetHTTPClient

func (o *ResetUserSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reset user season params

func (*ResetUserSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *ResetUserSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the reset user season params

func (*ResetUserSeasonParams) SetNamespace

func (o *ResetUserSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the reset user season params

func (*ResetUserSeasonParams) SetTimeout

func (o *ResetUserSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reset user season params

func (*ResetUserSeasonParams) SetUserID

func (o *ResetUserSeasonParams) SetUserID(userID string)

SetUserID adds the userId to the reset user season params

func (*ResetUserSeasonParams) WithContext

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 (*RetireSeasonBadRequest) ToJSONString added in v0.25.0

func (o *RetireSeasonBadRequest) ToJSONString() string

type RetireSeasonConflict

type RetireSeasonConflict struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

RetireSeasonConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr><tr><td>49181</td><td>Season has not ended</td></tr></table>

func NewRetireSeasonConflict

func NewRetireSeasonConflict() *RetireSeasonConflict

NewRetireSeasonConflict creates a RetireSeasonConflict with default headers values

func (*RetireSeasonConflict) Error

func (o *RetireSeasonConflict) Error() string

func (*RetireSeasonConflict) GetPayload

func (*RetireSeasonConflict) ToJSONString added in v0.25.0

func (o *RetireSeasonConflict) ToJSONString() string

type RetireSeasonNotFound

type RetireSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

RetireSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewRetireSeasonNotFound

func NewRetireSeasonNotFound() *RetireSeasonNotFound

NewRetireSeasonNotFound creates a RetireSeasonNotFound with default headers values

func (*RetireSeasonNotFound) Error

func (o *RetireSeasonNotFound) Error() string

func (*RetireSeasonNotFound) GetPayload

func (*RetireSeasonNotFound) ToJSONString added in v0.25.0

func (o *RetireSeasonNotFound) ToJSONString() string

type RetireSeasonOK

type RetireSeasonOK struct {
	Payload *seasonpassclientmodels.SeasonInfo
}

RetireSeasonOK handles this case with default header values.

successful operation

func NewRetireSeasonOK

func NewRetireSeasonOK() *RetireSeasonOK

NewRetireSeasonOK creates a RetireSeasonOK with default headers values

func (*RetireSeasonOK) Error

func (o *RetireSeasonOK) Error() string

func (*RetireSeasonOK) GetPayload

func (*RetireSeasonOK) ToJSONString added in v0.25.0

func (o *RetireSeasonOK) ToJSONString() string

type RetireSeasonParams

type RetireSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Force*/
	Force *bool
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

RetireSeasonParams contains all the parameters to send to the API endpoint for the retire season operation typically these are written to a http.Request

func NewRetireSeasonParams

func NewRetireSeasonParams() *RetireSeasonParams

NewRetireSeasonParams creates a new RetireSeasonParams object with the default values initialized.

func NewRetireSeasonParamsWithContext

func NewRetireSeasonParamsWithContext(ctx context.Context) *RetireSeasonParams

NewRetireSeasonParamsWithContext creates a new RetireSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewRetireSeasonParamsWithHTTPClient

func NewRetireSeasonParamsWithHTTPClient(client *http.Client) *RetireSeasonParams

NewRetireSeasonParamsWithHTTPClient creates a new RetireSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRetireSeasonParamsWithTimeout

func NewRetireSeasonParamsWithTimeout(timeout time.Duration) *RetireSeasonParams

NewRetireSeasonParamsWithTimeout creates a new RetireSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*RetireSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *RetireSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the retire season params

func (*RetireSeasonParams) SetContext

func (o *RetireSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the retire season params

func (*RetireSeasonParams) SetForce

func (o *RetireSeasonParams) SetForce(force *bool)

SetForce adds the force to the retire season params

func (*RetireSeasonParams) SetHTTPClient

func (o *RetireSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the retire season params

func (*RetireSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *RetireSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the retire season params

func (*RetireSeasonParams) SetNamespace

func (o *RetireSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retire season params

func (*RetireSeasonParams) SetSeasonID

func (o *RetireSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the retire season params

func (*RetireSeasonParams) SetTimeout

func (o *RetireSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retire season params

func (*RetireSeasonParams) WithContext

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 (*UnpublishSeasonBadRequest) ToJSONString added in v0.25.0

func (o *UnpublishSeasonBadRequest) ToJSONString() string

type UnpublishSeasonConflict

type UnpublishSeasonConflict struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

UnpublishSeasonConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr><tr><td>49180</td><td>Season is already started</td></tr></table>

func NewUnpublishSeasonConflict

func NewUnpublishSeasonConflict() *UnpublishSeasonConflict

NewUnpublishSeasonConflict creates a UnpublishSeasonConflict with default headers values

func (*UnpublishSeasonConflict) Error

func (o *UnpublishSeasonConflict) Error() string

func (*UnpublishSeasonConflict) GetPayload

func (*UnpublishSeasonConflict) ToJSONString added in v0.25.0

func (o *UnpublishSeasonConflict) ToJSONString() string

type UnpublishSeasonNotFound

type UnpublishSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

UnpublishSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUnpublishSeasonNotFound

func NewUnpublishSeasonNotFound() *UnpublishSeasonNotFound

NewUnpublishSeasonNotFound creates a UnpublishSeasonNotFound with default headers values

func (*UnpublishSeasonNotFound) Error

func (o *UnpublishSeasonNotFound) Error() string

func (*UnpublishSeasonNotFound) GetPayload

func (*UnpublishSeasonNotFound) ToJSONString added in v0.25.0

func (o *UnpublishSeasonNotFound) ToJSONString() string

type UnpublishSeasonOK

type UnpublishSeasonOK struct {
	Payload *seasonpassclientmodels.SeasonInfo
}

UnpublishSeasonOK handles this case with default header values.

successful operation

func NewUnpublishSeasonOK

func NewUnpublishSeasonOK() *UnpublishSeasonOK

NewUnpublishSeasonOK creates a UnpublishSeasonOK with default headers values

func (*UnpublishSeasonOK) Error

func (o *UnpublishSeasonOK) Error() string

func (*UnpublishSeasonOK) GetPayload

func (*UnpublishSeasonOK) ToJSONString added in v0.25.0

func (o *UnpublishSeasonOK) ToJSONString() string

type UnpublishSeasonParams

type UnpublishSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Force*/
	Force *bool
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UnpublishSeasonParams contains all the parameters to send to the API endpoint for the unpublish season operation typically these are written to a http.Request

func NewUnpublishSeasonParams

func NewUnpublishSeasonParams() *UnpublishSeasonParams

NewUnpublishSeasonParams creates a new UnpublishSeasonParams object with the default values initialized.

func NewUnpublishSeasonParamsWithContext

func NewUnpublishSeasonParamsWithContext(ctx context.Context) *UnpublishSeasonParams

NewUnpublishSeasonParamsWithContext creates a new UnpublishSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewUnpublishSeasonParamsWithHTTPClient

func NewUnpublishSeasonParamsWithHTTPClient(client *http.Client) *UnpublishSeasonParams

NewUnpublishSeasonParamsWithHTTPClient creates a new UnpublishSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUnpublishSeasonParamsWithTimeout

func NewUnpublishSeasonParamsWithTimeout(timeout time.Duration) *UnpublishSeasonParams

NewUnpublishSeasonParamsWithTimeout creates a new UnpublishSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*UnpublishSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *UnpublishSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the unpublish season params

func (*UnpublishSeasonParams) SetContext

func (o *UnpublishSeasonParams) SetContext(ctx context.Context)

SetContext adds the context to the unpublish season params

func (*UnpublishSeasonParams) SetForce

func (o *UnpublishSeasonParams) SetForce(force *bool)

SetForce adds the force to the unpublish season params

func (*UnpublishSeasonParams) SetHTTPClient

func (o *UnpublishSeasonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unpublish season params

func (*UnpublishSeasonParams) SetHTTPClientTransport added in v0.19.0

func (o *UnpublishSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the unpublish season params

func (*UnpublishSeasonParams) SetNamespace

func (o *UnpublishSeasonParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the unpublish season params

func (*UnpublishSeasonParams) SetSeasonID

func (o *UnpublishSeasonParams) SetSeasonID(seasonID string)

SetSeasonID adds the seasonId to the unpublish season params

func (*UnpublishSeasonParams) SetTimeout

func (o *UnpublishSeasonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unpublish season params

func (*UnpublishSeasonParams) WithContext

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 (*UpdateSeasonBadRequest) ToJSONString added in v0.25.0

func (o *UpdateSeasonBadRequest) ToJSONString() string

type UpdateSeasonConflict

type UpdateSeasonConflict struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

UpdateSeasonConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49171</td><td>Invalid season status [{status}]</td></tr></table>

func NewUpdateSeasonConflict

func NewUpdateSeasonConflict() *UpdateSeasonConflict

NewUpdateSeasonConflict creates a UpdateSeasonConflict with default headers values

func (*UpdateSeasonConflict) Error

func (o *UpdateSeasonConflict) Error() string

func (*UpdateSeasonConflict) GetPayload

func (*UpdateSeasonConflict) ToJSONString added in v0.25.0

func (o *UpdateSeasonConflict) ToJSONString() string

type UpdateSeasonNotFound

type UpdateSeasonNotFound struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

UpdateSeasonNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>49141</td><td>Tier item does not exist in the store of namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateSeasonNotFound

func NewUpdateSeasonNotFound() *UpdateSeasonNotFound

NewUpdateSeasonNotFound creates a UpdateSeasonNotFound with default headers values

func (*UpdateSeasonNotFound) Error

func (o *UpdateSeasonNotFound) Error() string

func (*UpdateSeasonNotFound) GetPayload

func (*UpdateSeasonNotFound) ToJSONString added in v0.25.0

func (o *UpdateSeasonNotFound) ToJSONString() string

type UpdateSeasonOK

type UpdateSeasonOK struct {
	Payload *seasonpassclientmodels.SeasonInfo
}

UpdateSeasonOK handles this case with default header values.

successful operation

func NewUpdateSeasonOK

func NewUpdateSeasonOK() *UpdateSeasonOK

NewUpdateSeasonOK creates a UpdateSeasonOK with default headers values

func (*UpdateSeasonOK) Error

func (o *UpdateSeasonOK) Error() string

func (*UpdateSeasonOK) GetPayload

func (*UpdateSeasonOK) ToJSONString added in v0.25.0

func (o *UpdateSeasonOK) ToJSONString() string

type UpdateSeasonParams

type UpdateSeasonParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *seasonpassclientmodels.SeasonUpdate
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UpdateSeasonParams contains all the parameters to send to the API endpoint for the update season operation typically these are written to a http.Request

func NewUpdateSeasonParams

func NewUpdateSeasonParams() *UpdateSeasonParams

NewUpdateSeasonParams creates a new UpdateSeasonParams object with the default values initialized.

func NewUpdateSeasonParamsWithContext

func NewUpdateSeasonParamsWithContext(ctx context.Context) *UpdateSeasonParams

NewUpdateSeasonParamsWithContext creates a new UpdateSeasonParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateSeasonParamsWithHTTPClient

func NewUpdateSeasonParamsWithHTTPClient(client *http.Client) *UpdateSeasonParams

NewUpdateSeasonParamsWithHTTPClient creates a new UpdateSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateSeasonParamsWithTimeout

func NewUpdateSeasonParamsWithTimeout(timeout time.Duration) *UpdateSeasonParams

NewUpdateSeasonParamsWithTimeout creates a new UpdateSeasonParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateSeasonParams) SetAuthInfoWriter added in v0.17.0

func (o *UpdateSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update season params

func (*UpdateSeasonParams) SetBody

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

WithBody adds the body to the update season params

func (*UpdateSeasonParams) WithContext

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

func (*UpdateSeasonUnprocessableEntity) ToJSONString added in v0.25.0

func (o *UpdateSeasonUnprocessableEntity) ToJSONString() string

Source Files

Jump to

Keyboard shortcuts

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