Documentation ¶
Index ¶
- type CreatePartialSeasonParams
- type CreateSeasonParams
- type Season
- type Seasons
- func (seasons *Seasons) AddEventsToPartialSeason(topLevelSeasonKey string, partialSeasonKey string, eventKeys ...string) (*Season, error)
- func (seasons *Seasons) CreateEventsWithEventKeys(seasonKey string, eventKeys ...string) ([]*events.Event, error)
- func (seasons *Seasons) CreateNumberOfEvents(seasonKey string, numberOfEvents int) ([]*events.Event, error)
- func (seasons *Seasons) CreatePartialSeason(topLevelSeasonKey string) (*Season, error)
- func (seasons *Seasons) CreatePartialSeasonWithOptions(topLevelSeasonKey string, params *CreatePartialSeasonParams) (*Season, error)
- func (seasons *Seasons) CreateSeason(chartKey string) (*Season, error)
- func (seasons *Seasons) CreateSeasonWithOptions(chartKey string, params *CreateSeasonParams) (*Season, error)
- func (seasons *Seasons) RemoveEventFromPartialSeason(topLevelSeasonKey string, partialSeasonKey string, eventKey string) (*Season, error)
- func (seasons *Seasons) Retrieve(key string) (*Season, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSeasonParams ¶
type CreateSeasonParams struct { ChartKey string `json:"chartKey"` Key string `json:"key,omitempty"` TableBookingConfig *events.TableBookingConfig `json:"tableBookingConfig,omitempty"` EventKeys []string `json:"eventKeys,omitempty"` NumberOfEvents int `json:"numberOfEvents,omitempty"` Channels *[]events.CreateChannelParams `json:"channels,omitempty"` ForSaleConfig *events.ForSaleConfig `json:"forSaleConfig,omitempty"` }
type Season ¶
type Season struct { events.Event Events []events.Event `json:"events"` PartialSeasonKeys []string `json:"partialSeasonKeys"` IsSeason bool `json:"isSeason"` IsTopLevelSeason bool `json:"isTopLevelSeason"` IsPartialSeason bool `json:"isPartialSeason"` IsEventInSeason bool `json:"isEventInSeason"` TopLevelSeasonKey *string `json:"topLevelSeasonKey"` }
type Seasons ¶
type Seasons struct {
Client *req.Client
}
func (*Seasons) AddEventsToPartialSeason ¶
func (*Seasons) CreateEventsWithEventKeys ¶
func (*Seasons) CreateNumberOfEvents ¶
func (*Seasons) CreatePartialSeason ¶
func (*Seasons) CreatePartialSeasonWithOptions ¶
func (seasons *Seasons) CreatePartialSeasonWithOptions(topLevelSeasonKey string, params *CreatePartialSeasonParams) (*Season, error)
func (*Seasons) CreateSeason ¶
func (*Seasons) CreateSeasonWithOptions ¶
func (seasons *Seasons) CreateSeasonWithOptions(chartKey string, params *CreateSeasonParams) (*Season, error)
func (*Seasons) RemoveEventFromPartialSeason ¶
Click to show internal directories.
Click to hide internal directories.