Class LookupConsumer

java.lang.Object
travel.wink.sdk.lookup.model.LookupConsumer

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:49:42.091933291+07:00[Asia/Bangkok]") public class LookupConsumer extends Object
LookupConsumer
  • Field Details

  • Constructor Details

    • LookupConsumer

      public LookupConsumer()
  • Method Details

    • identifier

      public LookupConsumer identifier(UUID identifier)
    • getIdentifier

      @Nullable @Valid public @Valid UUID getIdentifier()
      Unique lookup identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • type

    • getType

      @Nullable public LookupConsumer.TypeEnum getType()
      Type of lookup
      Returns:
      type
    • setType

      public void setType(LookupConsumer.TypeEnum type)
    • typeIdentifier

      public LookupConsumer typeIdentifier(UUID typeIdentifier)
    • getTypeIdentifier

      @Nullable @Valid public @Valid UUID getTypeIdentifier()
      Unique lookup type identifier
      Returns:
      typeIdentifier
    • setTypeIdentifier

      public void setTypeIdentifier(UUID typeIdentifier)
    • name

      public LookupConsumer name(String name)
    • getName

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

      public void setName(String name)
    • urlName

      public LookupConsumer urlName(String urlName)
    • getUrlName

      @Nullable public String getUrlName()
      Url-friendly slug that uniquely identifies this lookup
      Returns:
      urlName
    • setUrlName

      public void setUrlName(String urlName)
    • ownerIdentifier

      public LookupConsumer ownerIdentifier(UUID ownerIdentifier)
    • getOwnerIdentifier

      @Nullable @Valid public @Valid UUID getOwnerIdentifier()
      Lookup that is supplier inventory includes the supplier identifier
      Returns:
      ownerIdentifier
    • setOwnerIdentifier

      public void setOwnerIdentifier(UUID ownerIdentifier)
    • ownerName

      public LookupConsumer ownerName(String ownerName)
    • getOwnerName

      @Nullable public String getOwnerName()
      Lookup that is supplier inventory includes the supplier name
      Returns:
      ownerName
    • setOwnerName

      public void setOwnerName(String ownerName)
    • cityName

      public LookupConsumer cityName(String cityName)
    • getCityName

      @Nullable public String getCityName()
      Closest city where lookup entry is located
      Returns:
      cityName
    • setCityName

      public void setCityName(String cityName)
    • countryName

      public LookupConsumer countryName(String countryName)
    • getCountryName

      @Nullable public String getCountryName()
      Country where lookup entry is located
      Returns:
      countryName
    • setCountryName

      public void setCountryName(String countryName)
    • subCountryName

      public LookupConsumer subCountryName(String subCountryName)
    • getSubCountryName

      @Nullable public String getSubCountryName()
      State where lookup entry is located
      Returns:
      subCountryName
    • setSubCountryName

      public void setSubCountryName(String subCountryName)
    • subSubCountryName

      public LookupConsumer subSubCountryName(String subSubCountryName)
    • getSubSubCountryName

      @Nullable public String getSubSubCountryName()
      County where lookup entry is located
      Returns:
      subSubCountryName
    • setSubSubCountryName

      public void setSubSubCountryName(String subSubCountryName)
    • countryCode

      public LookupConsumer countryCode(String countryCode)
    • getCountryCode

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

      public void setCountryCode(String countryCode)
    • ownerType

      public LookupConsumer ownerType(LookupConsumer.OwnerTypeEnum ownerType)
    • getOwnerType

      @Nullable public LookupConsumer.OwnerTypeEnum getOwnerType()
      The type of owner that created this lookup
      Returns:
      ownerType
    • setOwnerType

      public void setOwnerType(LookupConsumer.OwnerTypeEnum ownerType)
    • languageCode

      public LookupConsumer languageCode(String languageCode)
    • getLanguageCode

      @Nullable public String getLanguageCode()
      The language the lookup code was written in
      Returns:
      languageCode
    • setLanguageCode

      public void setLanguageCode(String languageCode)
    • sort

      public LookupConsumer sort(Integer sort)
    • getSort

      @Nullable public Integer getSort()
      Platform-specific sort
      Returns:
      sort
    • setSort

      public void setSort(Integer sort)
    • origin

      public LookupConsumer origin(Boolean origin)
    • getOrigin

      @Nullable public Boolean getOrigin()
      If this lookup is the origin lookup.
      Returns:
      origin
    • setOrigin

      public void setOrigin(Boolean origin)
    • lowercaseName

      public LookupConsumer lowercaseName(String lowercaseName)
    • getLowercaseName

      @Nullable public String getLowercaseName()
      Name in lower case
      Returns:
      lowercaseName
    • setLowercaseName

      public void setLowercaseName(String lowercaseName)
    • location

      public LookupConsumer location(GeoJsonPointConsumer location)
    • getLocation

      @Nonnull @NotNull @Valid public @NotNull @Valid GeoJsonPointConsumer getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(GeoJsonPointConsumer location)
    • 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