models

package
v0.0.0-...-b7b9865 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Line1 string `json:"line1"`
	Line2 string `json:"line2"`
	Line3 string `json:"line3"`
}

type Area

type Area struct {
	Name string `json:"name"`
}

type City

type City struct {
	Name string `json:"name"`
}

type Country

type Country struct {
	CountryCode string `json:"countryCode"`
	Name        string `json:"name"`
}

type Event

type Event struct {
	Name       string         `json:"name"`
	Info       string         `json:"info"`
	PleaseNote string         `json:"please_note"`
	Images     []EventImage   `json:"images"`
	Embedded   *EventEmbedded `json:"_embedded,omitempty"`
	Place      *EventPlace    `json:"place,omitempty"`
	Promoter   *EventPromoter `json:"promoter,omitempty"`
	Sales      *EventSales    `json:"sales"`
}

type EventEmbedded

type EventEmbedded struct {
	Venues []EventVenue `json:"venues"`
}

type EventImage

type EventImage struct {
	Ratio    string `json:"ratio"`
	Url      string `json:"url"`
	Width    int    `json:"width"`
	Height   int    `json:"height"`
	Fallback bool   `json:"fallback"`
}

type EventLocation

type EventLocation struct {
	Longitude string `json:"longitude"`
	Latitude  string `json:"latitude"`
}

type EventPlace

type EventPlace struct {
	Name     string        `json:"name"`
	Area     Area          `json:"area"`
	Address  Address       `json:"address"`
	City     City          `json:"city"`
	State    State         `json:"state"`
	Country  Country       `json:"country"`
	Location EventLocation `json:"location"`
}

type EventPromoter

type EventPromoter struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type EventSales

type EventSales struct {
	Public   EventSalesPublic     `json:"public"`
	Presales []EventSalesPresales `json:"presales"`
}

type EventSalesPresales

type EventSalesPresales struct {
	Name          string `json:"name"`
	Description   string `json:"description"`
	Url           string `json:"url"`
	StartDateTime string `json:"startDateTime"`
	EndDateTime   string `json:"endDateTime"`
}

type EventSalesPublic

type EventSalesPublic struct {
	StartDateTime string `json:"startDateTime"`
	EndDateTime   string `json:"endDateTime"`
}

type EventVenue

type EventVenue struct {
	Id         string        `json:"id"`
	Name       string        `json:"name"`
	Url        string        `json:"url"`
	PostalCode string        `json:"postalCode"`
	Images     []VenueImage  `json:"images"`
	Address    Address       `json:"address"`
	City       City          `json:"city"`
	State      State         `json:"state"`
	Country    Country       `json:"country"`
	Location   EventLocation `json:"location"`
}

type EventsResponse

type EventsResponse struct {
	Embedded struct {
		Events []Event `json:"events"`
	} `json:"_embedded,omitempty"`
}

type State

type State struct {
	StateCode string `json:"stateCode"`
	Name      string `json:"name"`
}

type VenueImage

type VenueImage struct {
	Ratio    string `json:"ratio"`
	Url      string `json:"url"`
	Width    int    `json:"width"`
	Height   int    `json:"height"`
	Fallback bool   `json:"fallback"`
}

Jump to

Keyboard shortcuts

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