Package travel.wink.sdk.affiliate.model
Class SupplierLeadAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.SupplierLeadAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-23T13:11:09.149753540+07:00[Asia/Bangkok]")
public class SupplierLeadAffiliate
extends Object
SupplierLeadAffiliate
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddressItem(SupplierLeadAddressAffiliate addressItem) addPhotosItem(SimpleMultimediaAffiliate photosItem) address(List<SupplierLeadAddressAffiliate> address) createdDate(LocalDateTime createdDate) booleanformattedAddress(String formattedAddress) @Valid List<SupplierLeadAddressAffiliate> Address componentsDatetime this record was first createdDisplay address@NotNull StringGoogle Maps URL of the placegetId()Document UUIDDatetime this record was last updated@NotNull @Valid GeoJsonPointAffiliateGet locationA personalized message from the inviter@NotNull StringgetName()Name of leadgetPhone()Telephone of lead@Valid List<SimpleMultimediaAffiliate> Photos for property@NotNull StringUnique IDHotel rating@NotNull SupplierLeadAffiliate.StatusEnumLead statusTotal umber of user ratings@NotNull IntegerUTC offset minutesVersion property that shows how many times this document has been persisted.WebsitegoogleMapsUrl(String googleMapsUrl) inthashCode()lastUpdate(LocalDateTime lastUpdate) location(GeoJsonPointAffiliate location) messageFromUser(String messageFromUser) photos(List<SimpleMultimediaAffiliate> photos) voidsetAddress(List<SupplierLeadAddressAffiliate> address) voidsetCreatedDate(LocalDateTime createdDate) voidsetFormattedAddress(String formattedAddress) voidsetGoogleMapsUrl(String googleMapsUrl) voidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetLocation(GeoJsonPointAffiliate location) voidsetMessageFromUser(String messageFromUser) voidvoidvoidsetPhotos(List<SimpleMultimediaAffiliate> photos) voidsetPlaceId(String placeId) voidvoidvoidsetUserRatingTotal(Integer userRatingTotal) voidsetUtcOffsetMinutes(Integer utcOffsetMinutes) voidsetVersion(Long version) voidsetWebsite(String website) toString()userRatingTotal(Integer userRatingTotal) utcOffsetMinutes(Integer utcOffsetMinutes)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_PLACE_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_GOOGLE_MAPS_URL
- See Also:
-
JSON_PROPERTY_PHONE
- See Also:
-
JSON_PROPERTY_FORMATTED_ADDRESS
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_PHOTOS
- See Also:
-
JSON_PROPERTY_RATING
- See Also:
-
JSON_PROPERTY_USER_RATING_TOTAL
- See Also:
-
JSON_PROPERTY_UTC_OFFSET_MINUTES
- See Also:
-
JSON_PROPERTY_WEBSITE
- See Also:
-
JSON_PROPERTY_MESSAGE_FROM_USER
- See Also:
-
-
Constructor Details
-
SupplierLeadAffiliate
public SupplierLeadAffiliate()
-
-
Method Details
-
id
-
getId
Document UUID- Returns:
- id
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
setVersion
-
status
-
getStatus
Lead status- Returns:
- status
-
setStatus
-
placeId
-
getPlaceId
Unique ID- Returns:
- placeId
-
setPlaceId
-
name
-
getName
Name of lead- Returns:
- name
-
setName
-
googleMapsUrl
-
getGoogleMapsUrl
Google Maps URL of the place- Returns:
- googleMapsUrl
-
setGoogleMapsUrl
-
phone
-
getPhone
Telephone of lead- Returns:
- phone
-
setPhone
-
formattedAddress
-
getFormattedAddress
Display address- Returns:
- formattedAddress
-
setFormattedAddress
-
address
-
addAddressItem
-
getAddress
Address components- Returns:
- address
-
setAddress
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
photos
-
addPhotosItem
-
getPhotos
Photos for property- Returns:
- photos
-
setPhotos
-
rating
-
getRating
Hotel rating- Returns:
- rating
-
setRating
-
userRatingTotal
-
getUserRatingTotal
Total umber of user ratings- Returns:
- userRatingTotal
-
setUserRatingTotal
-
utcOffsetMinutes
-
getUtcOffsetMinutes
UTC offset minutes- Returns:
- utcOffsetMinutes
-
setUtcOffsetMinutes
-
website
-
getWebsite
Website- Returns:
- website
-
setWebsite
-
messageFromUser
-
getMessageFromUser
A personalized message from the inviter- Returns:
- messageFromUser
-
setMessageFromUser
-
equals
-
hashCode
public int hashCode() -
toString
-