Package travel.wink.sdk.affiliate.model
Class PropertyPolicyAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.PropertyPolicyAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-23T16:37:07.766718238+07:00[Asia/Bangkok]")
public class PropertyPolicyAffiliate
extends Object
Outlines basic policies for the property.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates the availability of internet on the property.static enumIndicates where internet is available in and around the property.static enumIndicates how guests can access the Internet on the property.static enumIndicates what type of parking is available at the property.static enumIndicates whether parking is available at the property. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckInTime(String checkInTime) checkOutTime(String checkOutTime) childrenAllowed(Boolean childrenAllowed) childrenMinimumAge(Integer childrenMinimumAge) boolean@NotNull StringWhen the guest can check in.@NotNull StringWhen the guest has to check out.@NotNull BooleanIndicates whether property allows childrenWhen a property allows children, it can also indicate what the minimum age is for children to be allowed.Indicates the availability of internet on the property.Indicates where internet is available in and around the property.Indicates how guests can access the Internet on the property.Indicates what type of parking is available at the property.Indicates whether parking is available at the property.@NotNull BooleanIndicates whether pets are allowed on the property.inthashCode()internetAvailability(PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) internetConnectionLocation(PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) internetConnectionType(PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) parkingAccess(PropertyPolicyAffiliate.ParkingAccessEnum parkingAccess) parkingAvailability(PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) petsAllowed(Boolean petsAllowed) voidsetCheckInTime(String checkInTime) voidsetCheckOutTime(String checkOutTime) voidsetChildrenAllowed(Boolean childrenAllowed) voidsetChildrenMinimumAge(Integer childrenMinimumAge) voidsetInternetAvailability(PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) voidsetInternetConnectionLocation(PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) voidsetInternetConnectionType(PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) voidsetParkingAccess(PropertyPolicyAffiliate.ParkingAccessEnum parkingAccess) voidsetParkingAvailability(PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) voidsetPetsAllowed(Boolean petsAllowed) toString()
-
Field Details
-
JSON_PROPERTY_CHILDREN_ALLOWED
- See Also:
-
JSON_PROPERTY_CHILDREN_MINIMUM_AGE
- See Also:
-
JSON_PROPERTY_INTERNET_AVAILABILITY
- See Also:
-
JSON_PROPERTY_INTERNET_CONNECTION_TYPE
- See Also:
-
JSON_PROPERTY_INTERNET_CONNECTION_LOCATION
- See Also:
-
JSON_PROPERTY_PARKING_AVAILABILITY
- See Also:
-
JSON_PROPERTY_PARKING_ACCESS
- See Also:
-
JSON_PROPERTY_PETS_ALLOWED
- See Also:
-
JSON_PROPERTY_CHECK_OUT_TIME
- See Also:
-
JSON_PROPERTY_CHECK_IN_TIME
- See Also:
-
-
Constructor Details
-
PropertyPolicyAffiliate
public PropertyPolicyAffiliate()
-
-
Method Details
-
childrenAllowed
-
getChildrenAllowed
Indicates whether property allows children- Returns:
- childrenAllowed
-
setChildrenAllowed
-
childrenMinimumAge
-
getChildrenMinimumAge
When a property allows children, it can also indicate what the minimum age is for children to be allowed.- Returns:
- childrenMinimumAge
-
setChildrenMinimumAge
-
internetAvailability
public PropertyPolicyAffiliate internetAvailability(PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) -
getInternetAvailability
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.InternetAvailabilityEnum getInternetAvailability()Indicates the availability of internet on the property.- Returns:
- internetAvailability
-
setInternetAvailability
public void setInternetAvailability(PropertyPolicyAffiliate.InternetAvailabilityEnum internetAvailability) -
internetConnectionType
public PropertyPolicyAffiliate internetConnectionType(PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) -
getInternetConnectionType
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.InternetConnectionTypeEnum getInternetConnectionType()Indicates how guests can access the Internet on the property.- Returns:
- internetConnectionType
-
setInternetConnectionType
public void setInternetConnectionType(PropertyPolicyAffiliate.InternetConnectionTypeEnum internetConnectionType) -
internetConnectionLocation
public PropertyPolicyAffiliate internetConnectionLocation(PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) -
getInternetConnectionLocation
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.InternetConnectionLocationEnum getInternetConnectionLocation()Indicates where internet is available in and around the property.- Returns:
- internetConnectionLocation
-
setInternetConnectionLocation
public void setInternetConnectionLocation(PropertyPolicyAffiliate.InternetConnectionLocationEnum internetConnectionLocation) -
parkingAvailability
public PropertyPolicyAffiliate parkingAvailability(PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) -
getParkingAvailability
@Nonnull @NotNull public @NotNull PropertyPolicyAffiliate.ParkingAvailabilityEnum getParkingAvailability()Indicates whether parking is available at the property.- Returns:
- parkingAvailability
-
setParkingAvailability
public void setParkingAvailability(PropertyPolicyAffiliate.ParkingAvailabilityEnum parkingAvailability) -
parkingAccess
public PropertyPolicyAffiliate parkingAccess(PropertyPolicyAffiliate.ParkingAccessEnum parkingAccess) -
getParkingAccess
Indicates what type of parking is available at the property.- Returns:
- parkingAccess
-
setParkingAccess
-
petsAllowed
-
getPetsAllowed
Indicates whether pets are allowed on the property. Note: There are thousand different kinds of pets. Just because the property allows small dogs does not mean the guest can bring a python. Always best to check with property.- Returns:
- petsAllowed
-
setPetsAllowed
-
checkOutTime
-
getCheckOutTime
When the guest has to check out.- Returns:
- checkOutTime
-
setCheckOutTime
-
checkInTime
-
getCheckInTime
When the guest can check in.- Returns:
- checkInTime
-
setCheckInTime
-
equals
-
hashCode
-
toString
-