Class PropertyPolicy
java.lang.Object
travel.wink.sdk.booking.engine.model.PropertyPolicy
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-07T09:36:43.710591+07:00[Asia/Bangkok]")
public class PropertyPolicy
extends Object
Property Policy
-
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(PropertyPolicy.InternetAvailabilityEnum internetAvailability) internetConnectionLocation(PropertyPolicy.InternetConnectionLocationEnum internetConnectionLocation) internetConnectionType(PropertyPolicy.InternetConnectionTypeEnum internetConnectionType) parkingAccess(PropertyPolicy.ParkingAccessEnum parkingAccess) parkingAvailability(PropertyPolicy.ParkingAvailabilityEnum parkingAvailability) petsAllowed(Boolean petsAllowed) voidsetCheckInTime(String checkInTime) voidsetCheckOutTime(String checkOutTime) voidsetChildrenAllowed(Boolean childrenAllowed) voidsetChildrenMinimumAge(Integer childrenMinimumAge) voidsetInternetAvailability(PropertyPolicy.InternetAvailabilityEnum internetAvailability) voidsetInternetConnectionLocation(PropertyPolicy.InternetConnectionLocationEnum internetConnectionLocation) voidsetInternetConnectionType(PropertyPolicy.InternetConnectionTypeEnum internetConnectionType) voidsetParkingAccess(PropertyPolicy.ParkingAccessEnum parkingAccess) voidsetParkingAvailability(PropertyPolicy.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
-
PropertyPolicy
public PropertyPolicy()
-
-
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 PropertyPolicy internetAvailability(PropertyPolicy.InternetAvailabilityEnum internetAvailability) -
getInternetAvailability
Indicates the availability of internet on the property.- Returns:
- internetAvailability
-
setInternetAvailability
-
internetConnectionType
public PropertyPolicy internetConnectionType(PropertyPolicy.InternetConnectionTypeEnum internetConnectionType) -
getInternetConnectionType
Indicates how guests can access the Internet on the property.- Returns:
- internetConnectionType
-
setInternetConnectionType
public void setInternetConnectionType(PropertyPolicy.InternetConnectionTypeEnum internetConnectionType) -
internetConnectionLocation
public PropertyPolicy internetConnectionLocation(PropertyPolicy.InternetConnectionLocationEnum internetConnectionLocation) -
getInternetConnectionLocation
Indicates where internet is available in and around the property.- Returns:
- internetConnectionLocation
-
setInternetConnectionLocation
public void setInternetConnectionLocation(PropertyPolicy.InternetConnectionLocationEnum internetConnectionLocation) -
parkingAvailability
public PropertyPolicy parkingAvailability(PropertyPolicy.ParkingAvailabilityEnum parkingAvailability) -
getParkingAvailability
Indicates whether parking is available at the property.- Returns:
- parkingAvailability
-
setParkingAvailability
-
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
public int hashCode() -
toString
-