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