Class GeoNameLightweight

java.lang.Object
io.trippay.sdk.payment.model.GeoNameLightweight

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class GeoNameLightweight extends Object
GeoNames have been created at [https://geonames.org](https://geonames.org) and contain geographical destinations we use as geoname data to associate travel inventory with a location.
  • Field Details

  • Constructor Details

    • GeoNameLightweight

      public GeoNameLightweight()
  • Method Details

    • geoNameId

      public GeoNameLightweight geoNameId(@Nullable String geoNameId)
    • getGeoNameId

      @Nullable public String getGeoNameId()
      GeoName identifier
      Returns:
      geoNameId
    • setGeoNameId

      public void setGeoNameId(@Nullable String geoNameId)
    • type

      public GeoNameLightweight type(@Nullable GeoNameLightweight.TypeEnum type)
    • getType

      @Nullable public GeoNameLightweight.TypeEnum getType()
      GeoNameLightweight type
      Returns:
      type
    • setType

      public void setType(@Nullable GeoNameLightweight.TypeEnum type)
    • name

      public GeoNameLightweight name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Name of city
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • urlName

      public GeoNameLightweight urlName(@Nullable String urlName)
    • getUrlName

      @Nullable public String getUrlName()
      Url name
      Returns:
      urlName
    • setUrlName

      public void setUrlName(@Nullable String urlName)
    • asciiName

      public GeoNameLightweight asciiName(@Nullable String asciiName)
    • getAsciiName

      @Nullable public String getAsciiName()
      Ascii name of city
      Returns:
      asciiName
    • setAsciiName

      public void setAsciiName(@Nullable String asciiName)
    • alternateNames

      public GeoNameLightweight alternateNames(@Nullable List<Object> alternateNames)
    • addAlternateNamesItem

      public GeoNameLightweight addAlternateNamesItem(Object alternateNamesItem)
    • getAlternateNames

      @Nullable public List<Object> getAlternateNames()
      Get alternateNames
      Returns:
      alternateNames
    • setAlternateNames

      public void setAlternateNames(@Nullable List<Object> alternateNames)
    • location

      public GeoNameLightweight location(@Nullable GeoJsonPoint location)
    • getLocation

      @Nullable @Valid public @Valid GeoJsonPoint getLocation()
      Coordinate points of the city
      Returns:
      location
    • setLocation

      public void setLocation(@Nullable GeoJsonPoint location)
    • featureClass

      public GeoNameLightweight featureClass(@Nullable String featureClass)
    • getFeatureClass

      @Nullable public String getFeatureClass()
      Get featureClass
      Returns:
      featureClass
    • setFeatureClass

      public void setFeatureClass(@Nullable String featureClass)
    • featureCode

      public GeoNameLightweight featureCode(@Nullable String featureCode)
    • getFeatureCode

      @Nullable public String getFeatureCode()
      Get featureCode
      Returns:
      featureCode
    • setFeatureCode

      public void setFeatureCode(@Nullable String featureCode)
    • countryCode

      public GeoNameLightweight countryCode(@Nullable String countryCode)
    • getCountryCode

      @Nullable public String getCountryCode()
      Get countryCode
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(@Nullable String countryCode)
    • alternateCountryCodes

      public GeoNameLightweight alternateCountryCodes(@Nullable List<String> alternateCountryCodes)
    • addAlternateCountryCodesItem

      public GeoNameLightweight addAlternateCountryCodesItem(String alternateCountryCodesItem)
    • getAlternateCountryCodes

      @Nullable public List<String> getAlternateCountryCodes()
      Get alternateCountryCodes
      Returns:
      alternateCountryCodes
    • setAlternateCountryCodes

      public void setAlternateCountryCodes(@Nullable List<String> alternateCountryCodes)
    • admin1Code

      public GeoNameLightweight admin1Code(@Nullable String admin1Code)
    • getAdmin1Code

      @Nullable public String getAdmin1Code()
      Get admin1Code
      Returns:
      admin1Code
    • setAdmin1Code

      public void setAdmin1Code(@Nullable String admin1Code)
    • admin2Code

      public GeoNameLightweight admin2Code(@Nullable String admin2Code)
    • getAdmin2Code

      @Nullable public String getAdmin2Code()
      Get admin2Code
      Returns:
      admin2Code
    • setAdmin2Code

      public void setAdmin2Code(@Nullable String admin2Code)
    • admin3Code

      public GeoNameLightweight admin3Code(@Nullable String admin3Code)
    • getAdmin3Code

      @Nullable public String getAdmin3Code()
      Get admin3Code
      Returns:
      admin3Code
    • setAdmin3Code

      public void setAdmin3Code(@Nullable String admin3Code)
    • admin4Code

      public GeoNameLightweight admin4Code(@Nullable String admin4Code)
    • getAdmin4Code

      @Nullable public String getAdmin4Code()
      Get admin4Code
      Returns:
      admin4Code
    • setAdmin4Code

      public void setAdmin4Code(@Nullable String admin4Code)
    • population

      public GeoNameLightweight population(@Nullable Long population)
    • getPopulation

      @Nullable public Long getPopulation()
      Population of the city
      Returns:
      population
    • setPopulation

      public void setPopulation(@Nullable Long population)
    • elevation

      public GeoNameLightweight elevation(@Nullable Integer elevation)
    • getElevation

      @Nullable public Integer getElevation()
      City elevation
      Returns:
      elevation
    • setElevation

      public void setElevation(@Nullable Integer elevation)
    • digitalElevationModel

      public GeoNameLightweight digitalElevationModel(@Nullable String digitalElevationModel)
    • getDigitalElevationModel

      @Nullable public String getDigitalElevationModel()
      Get digitalElevationModel
      Returns:
      digitalElevationModel
    • setDigitalElevationModel

      public void setDigitalElevationModel(@Nullable String digitalElevationModel)
    • timezone

      public GeoNameLightweight timezone(@Nullable String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      Timezone
      Returns:
      timezone
    • setTimezone

      public void setTimezone(@Nullable String timezone)
    • modificationDate

      public GeoNameLightweight modificationDate(@Nullable LocalDate modificationDate)
    • getModificationDate

      @Nullable @Valid public @Valid LocalDate getModificationDate()
      Get modificationDate
      Returns:
      modificationDate
    • setModificationDate

      public void setModificationDate(@Nullable LocalDate modificationDate)
    • radiusInMeters

      public GeoNameLightweight radiusInMeters(@Nullable Long radiusInMeters)
    • getRadiusInMeters

      @Nullable public Long getRadiusInMeters()
      Get radiusInMeters
      Returns:
      radiusInMeters
    • setRadiusInMeters

      public void setRadiusInMeters(@Nullable Long radiusInMeters)
    • country

      public GeoNameLightweight country(@Nullable CountryLightweight country)
    • getCountry

      @Nullable @Valid public @Valid CountryLightweight getCountry()
      Country
      Returns:
      country
    • setCountry

      public void setCountry(@Nullable CountryLightweight country)
    • subCountry

      public GeoNameLightweight subCountry(@Nullable SubCountryLightweight subCountry)
    • getSubCountry

      @Nullable @Valid public @Valid SubCountryLightweight getSubCountry()
      Country sub division
      Returns:
      subCountry
    • setSubCountry

      public void setSubCountry(@Nullable SubCountryLightweight subCountry)
    • subSubCountry

      public GeoNameLightweight subSubCountry(@Nullable SubSubCountryLightweight subSubCountry)
    • getSubSubCountry

      @Nullable @Valid public @Valid SubSubCountryLightweight getSubSubCountry()
      Country sub sub division
      Returns:
      subSubCountry
    • setSubSubCountry

      public void setSubSubCountry(@Nullable SubSubCountryLightweight subSubCountry)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object