Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 7.97 KB

File metadata and controls

238 lines (129 loc) · 7.97 KB

RouteResponsePathInstructions

Properties

Name Type Description Notes
Text Pointer to string A description what the user has to do in order to follow the route. The language depends on the locale parameter. [optional]
StreetName Pointer to string The name of the street to turn onto in order to follow the route. [optional]
Distance Pointer to float64 The distance for this instruction, in meters. [optional]
Time Pointer to int32 The duration for this instruction, in milliseconds. [optional]
Interval Pointer to []int32 Two indices into `points`, referring to the beginning and the end of the segment of the route this instruction refers to. [optional]
Sign Pointer to int32 A number which specifies the sign to show: sign
ExitNumber Pointer to int32 Only available for roundabout instructions (sign is 6). The count of exits at which the route leaves the roundabout. [optional]
TurnAngle Pointer to float64 Only available for roundabout instructions (sign is 6). The radian of the route within the roundabout `0 < r < 2PI` for clockwise and `-2PI < r < 0` for counterclockwise turns. [optional]

Methods

NewRouteResponsePathInstructions

func NewRouteResponsePathInstructions() *RouteResponsePathInstructions

NewRouteResponsePathInstructions instantiates a new RouteResponsePathInstructions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewRouteResponsePathInstructionsWithDefaults

func NewRouteResponsePathInstructionsWithDefaults() *RouteResponsePathInstructions

NewRouteResponsePathInstructionsWithDefaults instantiates a new RouteResponsePathInstructions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetText

func (o *RouteResponsePathInstructions) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

GetTextOk

func (o *RouteResponsePathInstructions) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetText

func (o *RouteResponsePathInstructions) SetText(v string)

SetText sets Text field to given value.

HasText

func (o *RouteResponsePathInstructions) HasText() bool

HasText returns a boolean if a field has been set.

GetStreetName

func (o *RouteResponsePathInstructions) GetStreetName() string

GetStreetName returns the StreetName field if non-nil, zero value otherwise.

GetStreetNameOk

func (o *RouteResponsePathInstructions) GetStreetNameOk() (*string, bool)

GetStreetNameOk returns a tuple with the StreetName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStreetName

func (o *RouteResponsePathInstructions) SetStreetName(v string)

SetStreetName sets StreetName field to given value.

HasStreetName

func (o *RouteResponsePathInstructions) HasStreetName() bool

HasStreetName returns a boolean if a field has been set.

GetDistance

func (o *RouteResponsePathInstructions) GetDistance() float64

GetDistance returns the Distance field if non-nil, zero value otherwise.

GetDistanceOk

func (o *RouteResponsePathInstructions) GetDistanceOk() (*float64, bool)

GetDistanceOk returns a tuple with the Distance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDistance

func (o *RouteResponsePathInstructions) SetDistance(v float64)

SetDistance sets Distance field to given value.

HasDistance

func (o *RouteResponsePathInstructions) HasDistance() bool

HasDistance returns a boolean if a field has been set.

GetTime

func (o *RouteResponsePathInstructions) GetTime() int32

GetTime returns the Time field if non-nil, zero value otherwise.

GetTimeOk

func (o *RouteResponsePathInstructions) GetTimeOk() (*int32, bool)

GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTime

func (o *RouteResponsePathInstructions) SetTime(v int32)

SetTime sets Time field to given value.

HasTime

func (o *RouteResponsePathInstructions) HasTime() bool

HasTime returns a boolean if a field has been set.

GetInterval

func (o *RouteResponsePathInstructions) GetInterval() []int32

GetInterval returns the Interval field if non-nil, zero value otherwise.

GetIntervalOk

func (o *RouteResponsePathInstructions) GetIntervalOk() (*[]int32, bool)

GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInterval

func (o *RouteResponsePathInstructions) SetInterval(v []int32)

SetInterval sets Interval field to given value.

HasInterval

func (o *RouteResponsePathInstructions) HasInterval() bool

HasInterval returns a boolean if a field has been set.

GetSign

func (o *RouteResponsePathInstructions) GetSign() int32

GetSign returns the Sign field if non-nil, zero value otherwise.

GetSignOk

func (o *RouteResponsePathInstructions) GetSignOk() (*int32, bool)

GetSignOk returns a tuple with the Sign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSign

func (o *RouteResponsePathInstructions) SetSign(v int32)

SetSign sets Sign field to given value.

HasSign

func (o *RouteResponsePathInstructions) HasSign() bool

HasSign returns a boolean if a field has been set.

GetExitNumber

func (o *RouteResponsePathInstructions) GetExitNumber() int32

GetExitNumber returns the ExitNumber field if non-nil, zero value otherwise.

GetExitNumberOk

func (o *RouteResponsePathInstructions) GetExitNumberOk() (*int32, bool)

GetExitNumberOk returns a tuple with the ExitNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExitNumber

func (o *RouteResponsePathInstructions) SetExitNumber(v int32)

SetExitNumber sets ExitNumber field to given value.

HasExitNumber

func (o *RouteResponsePathInstructions) HasExitNumber() bool

HasExitNumber returns a boolean if a field has been set.

GetTurnAngle

func (o *RouteResponsePathInstructions) GetTurnAngle() float64

GetTurnAngle returns the TurnAngle field if non-nil, zero value otherwise.

GetTurnAngleOk

func (o *RouteResponsePathInstructions) GetTurnAngleOk() (*float64, bool)

GetTurnAngleOk returns a tuple with the TurnAngle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTurnAngle

func (o *RouteResponsePathInstructions) SetTurnAngle(v float64)

SetTurnAngle sets TurnAngle field to given value.

HasTurnAngle

func (o *RouteResponsePathInstructions) HasTurnAngle() bool

HasTurnAngle returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]