Skip to content

Latest commit

 

History

History
147 lines (83 loc) · 3.85 KB

File metadata and controls

147 lines (83 loc) · 3.85 KB

Location

Properties

Name Type Description Notes
Country string
Latitude float64
Longitude float64
Name string
Timezone string
When string

Methods

NewLocation

func NewLocation(country string, latitude float64, longitude float64, name string, timezone string, when string, ) *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

GetCountry

func (o *Location) GetCountry() string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

func (o *Location) GetCountryOk() (*string, bool)

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

SetCountry

func (o *Location) SetCountry(v string)

SetCountry sets Country field to given value.

GetLatitude

func (o *Location) GetLatitude() float64

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

GetLatitudeOk

func (o *Location) GetLatitudeOk() (*float64, 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 float64)

SetLatitude sets Latitude field to given value.

GetLongitude

func (o *Location) GetLongitude() float64

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

GetLongitudeOk

func (o *Location) GetLongitudeOk() (*float64, 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 float64)

SetLongitude sets Longitude field to given value.

GetName

func (o *Location) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Location) GetNameOk() (*string, bool)

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

SetName

func (o *Location) SetName(v string)

SetName sets Name field to given value.

GetTimezone

func (o *Location) GetTimezone() string

GetTimezone returns the Timezone field if non-nil, zero value otherwise.

GetTimezoneOk

func (o *Location) GetTimezoneOk() (*string, bool)

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

SetTimezone

func (o *Location) SetTimezone(v string)

SetTimezone sets Timezone field to given value.

GetWhen

func (o *Location) GetWhen() string

GetWhen returns the When field if non-nil, zero value otherwise.

GetWhenOk

func (o *Location) GetWhenOk() (*string, bool)

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

SetWhen

func (o *Location) SetWhen(v string)

SetWhen sets When field to given value.

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