Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.89 KB

Location.md

File metadata and controls

72 lines (39 loc) · 1.89 KB

Location

Properties

Name Type Description Notes
Latitude float32
Longitude float32

Methods

NewLocation

func NewLocation(latitude float32, longitude float32, ) *Location

NewLocation instantiates a new Location 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

NewLocationWithDefaults

func NewLocationWithDefaults() *Location

NewLocationWithDefaults instantiates a new Location 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

GetLatitude

func (o *Location) GetLatitude() float32

GetLatitude returns the Latitude field if non-nil, zero value otherwise.

GetLatitudeOk

func (o *Location) GetLatitudeOk() (*float32, bool)

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

SetLatitude

func (o *Location) SetLatitude(v float32)

SetLatitude sets Latitude field to given value.

GetLongitude

func (o *Location) GetLongitude() float32

GetLongitude returns the Longitude field if non-nil, zero value otherwise.

GetLongitudeOk

func (o *Location) GetLongitudeOk() (*float32, bool)

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

SetLongitude

func (o *Location) SetLongitude(v float32)

SetLongitude sets Longitude field to given value.

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