models

package
v0.0.0-...-489883c Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// code
	Code int32 `json:"code,omitempty"`

	// fields
	Fields string `json:"fields,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

Error error swagger:model Error

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Line

type Line struct {

	// The common name of the line, without specifing the direction
	CommonName string `json:"common_name,omitempty"`

	// line type
	LineType interface{} `json:"line_type,omitempty"`
}

Line line swagger:model Line

func (*Line) Validate

func (m *Line) Validate(formats strfmt.Registry) error

Validate validates this line

type Station

type Station struct {

	// The id that Urban Mobility Center uses - usually 4 digits
	UMCID float64 `json:"UMC_id,omitempty"`

	// Name of the station. Note that there could be multiple stations with that name
	Name string `json:"name,omitempty"`
}

Station station swagger:model Station

func (*Station) Validate

func (m *Station) Validate(formats strfmt.Registry) error

Validate validates this station

Jump to

Keyboard shortcuts

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