model

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 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 Dimension

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

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"`
	Name      string `json:"name"`
}

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"`
}

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