Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int64 | The resource identifier. | [optional] |
Type | Pointer to string | The resource type. | [optional] |
Name | Pointer to string | The name of the resource. | [optional] |
UserDefinedFields | Pointer to map[string]string | User-defined fields set for the resource. | [optional] |
Locode | Pointer to string | The location code showing the UN/LOCODE country and city location. The code is displayed in the hierarchical structure where the first two characters indicate the standard UN/LOCODE country code and the subsequent three characters indicate the location code. | [optional] [readonly] |
Code | Pointer to string | The location code showing the UN/LOCODE country and city location, and any appended custom child locations. The code is displayed in the hierarchical structure where the first two characters indicate the standard UN/LOCODE country code and the subsequent three characters indicate the location code. Any custom location codes are appended after the first 5 characters. | [optional] |
Country | Pointer to string | The two digit country code. | [optional] [readonly] |
Description | Pointer to string | The description of the location. | [optional] |
LocalizedName | Pointer to string | The localized name of the location. | [optional] |
Subdivision | Pointer to string | The ISO 1-3 character alphabetic or numeric code for the administrativedivision of the country. | [optional] [readonly] |
Longitude | Pointer to float64 | The geographical longitude coordinate, in decimal degrees format. | [optional] |
Latitude | Pointer to float64 | The geographical latitude coordinate, in decimal degrees format. | [optional] |
func NewLocation() *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
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
func (o *Location) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Location) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetId(v int64)
SetId sets Id field to given value.
func (o *Location) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Location) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Location) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetType(v string)
SetType sets Type field to given value.
func (o *Location) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Location) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Location) SetName(v string)
SetName sets Name field to given value.
func (o *Location) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Location) GetUserDefinedFields() map[string]string
GetUserDefinedFields returns the UserDefinedFields field if non-nil, zero value otherwise.
func (o *Location) GetUserDefinedFieldsOk() (*map[string]string, bool)
GetUserDefinedFieldsOk returns a tuple with the UserDefinedFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetUserDefinedFields(v map[string]string)
SetUserDefinedFields sets UserDefinedFields field to given value.
func (o *Location) HasUserDefinedFields() bool
HasUserDefinedFields returns a boolean if a field has been set.
func (o *Location) GetLocode() string
GetLocode returns the Locode field if non-nil, zero value otherwise.
func (o *Location) GetLocodeOk() (*string, bool)
GetLocodeOk returns a tuple with the Locode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetLocode(v string)
SetLocode sets Locode field to given value.
func (o *Location) HasLocode() bool
HasLocode returns a boolean if a field has been set.
func (o *Location) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *Location) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetCode(v string)
SetCode sets Code field to given value.
func (o *Location) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *Location) GetCountry() string
GetCountry returns the Country field if non-nil, zero value otherwise.
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.
func (o *Location) SetCountry(v string)
SetCountry sets Country field to given value.
func (o *Location) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *Location) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Location) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Location) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Location) GetLocalizedName() string
GetLocalizedName returns the LocalizedName field if non-nil, zero value otherwise.
func (o *Location) GetLocalizedNameOk() (*string, bool)
GetLocalizedNameOk returns a tuple with the LocalizedName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetLocalizedName(v string)
SetLocalizedName sets LocalizedName field to given value.
func (o *Location) HasLocalizedName() bool
HasLocalizedName returns a boolean if a field has been set.
func (o *Location) GetSubdivision() string
GetSubdivision returns the Subdivision field if non-nil, zero value otherwise.
func (o *Location) GetSubdivisionOk() (*string, bool)
GetSubdivisionOk returns a tuple with the Subdivision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Location) SetSubdivision(v string)
SetSubdivision sets Subdivision field to given value.
func (o *Location) HasSubdivision() bool
HasSubdivision returns a boolean if a field has been set.
func (o *Location) GetLongitude() float64
GetLongitude returns the Longitude field if non-nil, zero value otherwise.
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.
func (o *Location) SetLongitude(v float64)
SetLongitude sets Longitude field to given value.
func (o *Location) HasLongitude() bool
HasLongitude returns a boolean if a field has been set.
func (o *Location) GetLatitude() float64
GetLatitude returns the Latitude field if non-nil, zero value otherwise.
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.
func (o *Location) SetLatitude(v float64)
SetLatitude sets Latitude field to given value.
func (o *Location) HasLatitude() bool
HasLatitude returns a boolean if a field has been set.