season

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckSeasonPurchasableBadRequest

type CheckSeasonPurchasableBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

CheckSeasonPurchasableBadRequest handles this case with default header values.

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

func NewCheckSeasonPurchasableBadRequest

func NewCheckSeasonPurchasableBadRequest() *CheckSeasonPurchasableBadRequest

NewCheckSeasonPurchasableBadRequest creates a CheckSeasonPurchasableBadRequest with default headers values

func (*CheckSeasonPurchasableBadRequest) Error

func (*CheckSeasonPurchasableBadRequest) GetPayload

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

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

type CheckSeasonPurchasableParams

type CheckSeasonPurchasableParams struct {

	/*Body*/
	Body *seasonpassclientmodels.UserPurchasable
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	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) 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) 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

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)

func (*Client) CloneSeason

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)

func (*Client) CreateSeason

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)

func (*Client) DeleteSeason

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)

func (*Client) ExistsAnyPassByPassCodes

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)

func (*Client) GetCurrentSeason

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)

func (*Client) GetCurrentUserSeasonProgression

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) GetSeason

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)

func (*Client) GetUserParticipatedSeasons

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)

func (*Client) GetUserSeason

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)

func (*Client) PublicGetCurrentSeason

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)

func (*Client) PublicGetCurrentUserSeason

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)

func (*Client) PublicGetUserSeason

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)

func (*Client) PublishSeason

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)

func (*Client) QuerySeasons

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)

func (*Client) ResetUserSeason

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)

func (*Client) RetireSeason

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)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnpublishSeason

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)

func (*Client) UpdateSeason

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)

type ClientService

type ClientService interface {
	CheckSeasonPurchasable(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, *CheckSeasonPurchasableBadRequest, *CheckSeasonPurchasableNotFound, *CheckSeasonPurchasableConflict, error)
	CheckSeasonPurchasableShort(params *CheckSeasonPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*CheckSeasonPurchasableNoContent, error)
	CloneSeason(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, *CloneSeasonBadRequest, *CloneSeasonNotFound, *CloneSeasonUnprocessableEntity, error)
	CloneSeasonShort(params *CloneSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CloneSeasonOK, error)
	CreateSeason(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, *CreateSeasonBadRequest, *CreateSeasonNotFound, *CreateSeasonUnprocessableEntity, error)
	CreateSeasonShort(params *CreateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSeasonCreated, error)
	DeleteSeason(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, *DeleteSeasonBadRequest, *DeleteSeasonNotFound, *DeleteSeasonConflict, error)
	DeleteSeasonShort(params *DeleteSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSeasonNoContent, error)
	ExistsAnyPassByPassCodes(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, *ExistsAnyPassByPassCodesBadRequest, error)
	ExistsAnyPassByPassCodesShort(params *ExistsAnyPassByPassCodesParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyPassByPassCodesOK, error)
	GetCurrentSeason(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, *GetCurrentSeasonBadRequest, *GetCurrentSeasonNotFound, error)
	GetCurrentSeasonShort(params *GetCurrentSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonOK, error)
	GetCurrentUserSeasonProgression(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, *GetCurrentUserSeasonProgressionBadRequest, *GetCurrentUserSeasonProgressionNotFound, error)
	GetCurrentUserSeasonProgressionShort(params *GetCurrentUserSeasonProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserSeasonProgressionOK, error)
	GetSeason(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, *GetSeasonBadRequest, *GetSeasonNotFound, error)
	GetSeasonShort(params *GetSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetSeasonOK, error)
	GetUserParticipatedSeasons(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, *GetUserParticipatedSeasonsBadRequest, error)
	GetUserParticipatedSeasonsShort(params *GetUserParticipatedSeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserParticipatedSeasonsOK, error)
	GetUserSeason(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, *GetUserSeasonBadRequest, *GetUserSeasonNotFound, error)
	GetUserSeasonShort(params *GetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSeasonOK, error)
	PublicGetCurrentSeason(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, *PublicGetCurrentSeasonBadRequest, *PublicGetCurrentSeasonNotFound, error)
	PublicGetCurrentSeasonShort(params *PublicGetCurrentSeasonParams) (*PublicGetCurrentSeasonOK, error)
	PublicGetCurrentUserSeason(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, *PublicGetCurrentUserSeasonBadRequest, *PublicGetCurrentUserSeasonNotFound, error)
	PublicGetCurrentUserSeasonShort(params *PublicGetCurrentUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCurrentUserSeasonOK, error)
	PublicGetUserSeason(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, *PublicGetUserSeasonBadRequest, *PublicGetUserSeasonNotFound, error)
	PublicGetUserSeasonShort(params *PublicGetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSeasonOK, error)
	PublishSeason(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, *PublishSeasonBadRequest, *PublishSeasonNotFound, *PublishSeasonConflict, error)
	PublishSeasonShort(params *PublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSeasonOK, error)
	QuerySeasons(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, *QuerySeasonsBadRequest, error)
	QuerySeasonsShort(params *QuerySeasonsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySeasonsOK, error)
	ResetUserSeason(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, *ResetUserSeasonBadRequest, error)
	ResetUserSeasonShort(params *ResetUserSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*ResetUserSeasonNoContent, error)
	RetireSeason(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, *RetireSeasonBadRequest, *RetireSeasonNotFound, *RetireSeasonConflict, error)
	RetireSeasonShort(params *RetireSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*RetireSeasonOK, error)
	UnpublishSeason(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, *UnpublishSeasonBadRequest, *UnpublishSeasonNotFound, *UnpublishSeasonConflict, error)
	UnpublishSeasonShort(params *UnpublishSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UnpublishSeasonOK, error)
	UpdateSeason(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, *UpdateSeasonBadRequest, *UpdateSeasonNotFound, *UpdateSeasonConflict, *UpdateSeasonUnprocessableEntity, error)
	UpdateSeasonShort(params *UpdateSeasonParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSeasonOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new season API client.

type CloneSeasonBadRequest

type CloneSeasonBadRequest struct {
	Payload *seasonpassclientmodels.ErrorEntity
}

CloneSeasonBadRequest handles this case with default header values.

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

func NewCloneSeasonBadRequest

func NewCloneSeasonBadRequest() *CloneSeasonBadRequest

NewCloneSeasonBadRequest creates a CloneSeasonBadRequest with default headers values

func (*CloneSeasonBadRequest) Error

func (o *CloneSeasonBadRequest) Error() string

func (*CloneSeasonBadRequest) GetPayload

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

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

type CloneSeasonParams

type CloneSeasonParams struct {

	/*Body*/
	Body *seasonpassclientmodels.SeasonCloneRequest
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	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) 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) 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

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

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

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

type CreateSeasonParams

type CreateSeasonParams struct {

	/*Body*/
	Body *seasonpassclientmodels.SeasonCreate
	/*Namespace
	  Namespace

	*/
	Namespace string

	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) 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) 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

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

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

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

type DeleteSeasonParams

type DeleteSeasonParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	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) 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) 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

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

type ExistsAnyPassByPassCodesParams

type ExistsAnyPassByPassCodesParams struct {

	/*Namespace
	  Namespace

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

	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) 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) 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

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

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

type GetCurrentSeasonParams

type GetCurrentSeasonParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string

	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) 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) 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

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

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

type GetCurrentUserSeasonProgressionParams

type GetCurrentUserSeasonProgressionParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	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) 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) 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 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

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

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

type GetSeasonParams

type GetSeasonParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	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) 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) 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

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

type GetUserParticipatedSeasonsParams

type GetUserParticipatedSeasonsParams struct {

	/*Limit
	  limit

	*/
	Limit *int32
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Offset
	  offset

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

	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) 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) 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

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

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

type GetUserSeasonParams

type GetUserSeasonParams struct {

	/*Namespace
	  Namespace

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

	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) 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) 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

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

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

type PublicGetCurrentSeasonParams

type PublicGetCurrentSeasonParams struct {

	/*Language*/
	Language *string
	/*Namespace
	  Namespace

	*/
	Namespace string

	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) 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) 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

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

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

type PublicGetCurrentUserSeasonParams

type PublicGetCurrentUserSeasonParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	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) 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) 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

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

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

type PublicGetUserSeasonParams

type PublicGetUserSeasonParams struct {

	/*Namespace
	  Namespace

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

	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) 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) 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

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

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

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

type PublishSeasonParams

type PublishSeasonParams struct {

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

	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) 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) 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

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

type QuerySeasonsParams

type QuerySeasonsParams struct {

	/*Limit
	  limit

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

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

	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) 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) 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 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

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 {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID*/
	UserID string

	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) 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) 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

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

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

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

type RetireSeasonParams

type RetireSeasonParams struct {

	/*Force*/
	Force *bool
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	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) 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) 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

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

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

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

type UnpublishSeasonParams

type UnpublishSeasonParams struct {

	/*Force*/
	Force *bool
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	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) 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) 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

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

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

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

type UpdateSeasonParams

type UpdateSeasonParams struct {

	/*Body*/
	Body *seasonpassclientmodels.SeasonUpdate
	/*Namespace*/
	Namespace string
	/*SeasonID*/
	SeasonID string

	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) 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) 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

Jump to

Keyboard shortcuts

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