generated

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type All_of_with_properties

type All_of_with_properties struct {
	CoachId      string `json:"coachId,omitempty"`
	Contributors []struct {
		ContributorId string `json:"contributorId,omitempty"`
		Id            string `json:"id"`
		Name          string `json:"name"`
	} `json:"contributors,omitempty"`
	Height      int64  `json:"height,omitempty"`
	Season      string `json:"season,omitempty"`
	SomeDateObj struct {
		Dates []time.Time `json:"dates,omitempty"`
	} `json:"someDateObj,omitempty"`
	Type    string  `json:"type"`
	Visible bool    `json:"visible,omitempty"`
	Width   float64 `json:"width,omitempty"`
}

type Complex

type Complex struct {
	Caption string `json:"caption"`
	Credit  string `json:"credit"`
	Crops   []struct {
		Height       float64 `json:"height"`
		Name         string  `json:"name"`
		Path         string  `json:"path" description:"full path to the cropped image file"`
		RelativePath string  `json:"relativePath" description:"a long"`
		Width        float64 `json:"width"`
	} `json:"crops" description:"The available cropped images"`
	Cutline        string    `json:"cutline,omitempty"`
	DatePhotoTaken time.Time `json:"datePhotoTaken"`
	Orientation    string    `json:"orientation"`
	OriginalSize   struct {
		Height float64 `json:"height"`
		Width  float64 `json:"width"`
	} `json:"originalSize"`
	Type string `json:"type" description:"a type"`
	URL  struct {
		Absolute string `json:"absolute" description:"The full Canonical URL"`
		Meta     struct {
			Description string `json:"description"`
			SiteName    string `json:"siteName"`
		} `json:"meta,omitempty"`
		Publish string `json:"publish"`
	} `json:"URL" description:"Universal Resource Locator"`
}

type Nested

type Nested struct {
	// Information related to the International Fact-Checking Network (IFCN) program
	FactCheckClaims []struct {
		// The factCheck appearanceURLs
		AppearanceURLs []struct {
			// The original flag
			Original bool `json:"original,omitempty"`
			// The appearance url
			Url string `json:"url"`
		} `json:"appearanceURLs,omitempty"`
		// The factCheck author
		Author string `json:"author,omitempty"`
		// The factCheck claim
		Claim string `json:"claim,omitempty"`
		// The date of the factCheck
		Date string `json:"date,omitempty"`
		// The factCheck rating
		Rating string `json:"rating,omitempty"`
	} `json:"factCheckClaims"`
}

type Nested_to_primitive added in v1.1.3

type Nested_to_primitive struct {
	Categories []struct {
		Category    string   `json:"category,omitempty"`
		MarketTypes []string `json:"marketTypes,omitempty"`
	} `json:"categories"`
}

type Simple

type Simple struct {
	Contributors []struct {
		ContributorId string `json:"contributorId,omitempty"`
		Id            string `json:"id"`
		Name          string `json:"name"`
	} `json:"contributors,omitempty"`
	Height      int64 `json:"height,omitempty"`
	SomeDateObj struct {
		Dates []time.Time `json:"dates,omitempty"`
	} `json:"someDateObj,omitempty"`
	Type    string  `json:"type"`
	Visible bool    `json:"visible,omitempty"`
	Width   float64 `json:"width,omitempty"`
}

type Times

type Times struct {
	NonRequiredDate time.Time `json:"nonRequiredDate,omitempty"`
	RequiredDate    time.Time `json:"requiredDate"`
}

Jump to

Keyboard shortcuts

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