model

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 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 Correction added in v1.28.0

type Correction struct {
	Reason string `json:"reason"`
	Date   string `json:"date"`
}

Correction represents a single correction on a version

type Dimension

type Dimension struct {
	Title       string   `json:"title"`
	Name        string   `json:"name"`
	Values      []string `json:"values"`
	OptionsURL  string   `json:"options_url"`
	TotalItems  int      `json:"total_items"`
	Description string   `json:"description"`
	IsAreaType  bool     `json:"is_area_type"`
}

Dimension represents the data for a single dimension

type Download

type Download struct {
	Extension string `json:"extension"`
	Size      string `json:"size"`
	URI       string `json:"uri"`
}

Download has the details for the an individual dataset's downloadable files

type Version

type Version struct {
	Title         string                        `json:"title"`
	Description   string                        `json:"description"`
	URL           string                        `json:"url"`
	ReleaseDate   string                        `json:"release_date"`
	NextRelease   string                        `json:"next_release"`
	Downloads     []Download                    `json:"downloads"`
	Edition       string                        `json:"edition"`
	Version       string                        `json:"version"`
	Contact       contactDetails.ContactDetails `json:"contact"`
	IsCurrentPage bool                          `json:"is_current"`
	VersionURL    string                        `json:"version_url"`
	Superseded    string                        `json:"superseded"`
	VersionNumber int                           `json:"version_number"`
	Date          string                        `json:"date"`
	Corrections   []Correction                  `json:"correction"`
	FilterURL     string                        `json:"filter_url"`
	IsLatest      bool                          `json:"is_latest"`
}

Version represents the data for a single version

Jump to

Keyboard shortcuts

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