previewPage

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dimension

type Dimension struct {
	Name   string   `json:"name"`
	Values []string `json:"values"`
}

Dimension ...

type Download

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

Download has the details for an individual downloadable files

type LatestVersion

type LatestVersion struct {
	DatasetLandingPageURL          string `json:"dataset_landing_page_url"`
	FilterJourneyWithLatestJourney string `json:"filter_journey_with_latest_version"`
}

LatestVersion ...

type Page

type Page struct {
	model.Page
	Data                 PreviewPage `json:"data"`
	EnableDatasetPreview bool        `json:"enable_dataset_preview"`
	IsPreviewLoaded      bool        `json:"is_preview_loaded"`
	IsDownloadLoaded     bool        `json:"is_download_loaded"`
	NoDimensionData      bool        `json:"no_dimension_data"`
}

Page ...

type PreviewPage

type PreviewPage struct {
	FilterID              string        `json:"filter_id"`
	Downloads             []Download    `json:"downloads"`
	Dimensions            []Dimension   `json:"dimensions"`
	IsLatestVersion       bool          `json:"is_latest_version"`
	LatestVersion         LatestVersion `json:"latest_version"`
	CurrentVersionURL     string        `json:"current_version_url"`
	DatasetTitle          string        `json:"dataset_title"`
	DatasetID             string        `json:"dataset_id"`
	Edition               string        `json:"edition"`
	ReleaseDate           string        `json:"release_date"`
	UnitOfMeasurement     string        `json:"unit_of_measurement"`
	SingleValueDimensions []Dimension   `json:"single_value_dimensions"`
	FilterOutputID        string        `json:"filter_output_id"`
}

PreviewPage ...

Jump to

Keyboard shortcuts

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