Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelS ¶
type ModelS struct {
// swagger:allOf
TeslaCar
// The edition of this Model S
Edition string `json:"edition"`
}
ModelS version of the tesla car.
swagger:model modelS
type TeslaCar ¶
type TeslaCar interface {
// The model of tesla car
//
// discriminator: true
// swagger:name model
Model() string
// AutoPilot returns true when it supports autopilot
// swagger:name autoPilot
AutoPilot() bool
}
TeslaCar is a discriminated (polymorphic) type (go-swagger#1913).
swagger:model
Click to show internal directories.
Click to hide internal directories.