Class Country

java.lang.Object
travel.wink.sdk.extranet.model.Country

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-23T13:12:29.043847278+07:00[Asia/Bangkok]") public class Country extends Object
Country
  • Field Details

  • Constructor Details

    • Country

      public Country()
  • Method Details

    • iso

      public Country iso(String iso)
    • getIso

      @Nullable public String getIso()
      ISO code
      Returns:
      iso
    • setIso

      public void setIso(String iso)
    • iso3

      public Country iso3(String iso3)
    • getIso3

      @Nullable public String getIso3()
      3 character ISO code
      Returns:
      iso3
    • setIso3

      public void setIso3(String iso3)
    • isoNumeric

      public Country isoNumeric(Integer isoNumeric)
    • getIsoNumeric

      @Nullable public Integer getIsoNumeric()
      Numeric ISO code
      Returns:
      isoNumeric
    • setIsoNumeric

      public void setIsoNumeric(Integer isoNumeric)
    • fips

      public Country fips(String fips)
    • getFips

      @Nullable public String getFips()
      FIPS country code
      Returns:
      fips
    • setFips

      public void setFips(String fips)
    • name

      public Country name(String name)
    • getName

      @Nullable public String getName()
      Country name
      Returns:
      name
    • setName

      public void setName(String name)
    • capital

      public Country capital(String capital)
    • getCapital

      @Nullable public String getCapital()
      Country capital
      Returns:
      capital
    • setCapital

      public void setCapital(String capital)
    • area

      public Country area(Float area)
    • getArea

      @Nullable public Float getArea()
      Area in square kilometers
      Returns:
      area
    • setArea

      public void setArea(Float area)
    • population

      public Country population(Long population)
    • getPopulation

      @Nullable public Long getPopulation()
      Country population
      Returns:
      population
    • setPopulation

      public void setPopulation(Long population)
    • continent

      public Country continent(String continent)
    • getContinent

      @Nullable public String getContinent()
      Continent code
      Returns:
      continent
    • setContinent

      public void setContinent(String continent)
    • topLevelDomain

      public Country topLevelDomain(String topLevelDomain)
    • getTopLevelDomain

      @Nullable public String getTopLevelDomain()
      Country TLD
      Returns:
      topLevelDomain
    • setTopLevelDomain

      public void setTopLevelDomain(String topLevelDomain)
    • currencyCode

      public Country currencyCode(String currencyCode)
    • getCurrencyCode

      @Nullable public String getCurrencyCode()
      Currency code
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • currencyName

      public Country currencyName(String currencyName)
    • getCurrencyName

      @Nullable public String getCurrencyName()
      Currency name
      Returns:
      currencyName
    • setCurrencyName

      public void setCurrencyName(String currencyName)
    • phone

      public Country phone(String phone)
    • getPhone

      @Nullable public String getPhone()
      Calling code
      Returns:
      phone
    • setPhone

      public void setPhone(String phone)
    • postalCodeFormat

      public Country postalCodeFormat(String postalCodeFormat)
    • getPostalCodeFormat

      @Nullable public String getPostalCodeFormat()
      Postal code format
      Returns:
      postalCodeFormat
    • setPostalCodeFormat

      public void setPostalCodeFormat(String postalCodeFormat)
    • postalCodeRegEx

      public Country postalCodeRegEx(String postalCodeRegEx)
    • getPostalCodeRegEx

      @Nullable public String getPostalCodeRegEx()
      Postal code regular expression
      Returns:
      postalCodeRegEx
    • setPostalCodeRegEx

      public void setPostalCodeRegEx(String postalCodeRegEx)
    • languages

      public Country languages(List<String> languages)
    • addLanguagesItem

      public Country addLanguagesItem(String languagesItem)
    • getLanguages

      @Nullable public List<String> getLanguages()
      Country languages
      Returns:
      languages
    • setLanguages

      public void setLanguages(List<String> languages)
    • geoNameId

      public Country geoNameId(String geoNameId)
    • getGeoNameId

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

      public void setGeoNameId(String geoNameId)
    • neighbors

      public Country neighbors(List<String> neighbors)
    • addNeighborsItem

      public Country addNeighborsItem(String neighborsItem)
    • getNeighbors

      @Nullable public List<String> getNeighbors()
      Neighboring countries
      Returns:
      neighbors
    • setNeighbors

      public void setNeighbors(List<String> neighbors)
    • 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